<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'clr'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=clr&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'clr'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Online Data Transfer from MS Access to MS SQL Server automatically</title><link>http://forums.asp.net/thread/3417954.aspx</link><pubDate>Tue, 22 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3417954</guid><dc:creator>manpreetsingh.MCA</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am storming thru a problem of online data transfer from MS Access Database to MS SQL Server Database(at Data Center).&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The problem is when the data is added into a&amp;nbsp; local system in MS Access(.mdb format) it should be exported immediately to the &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Center(in MS SQL Server). How can I acchieve the solution. One I searched is using Trigger to call XML Web Service and to&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export the the data automatically whenever the data is available. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please give an example if possible...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; waiting for response...urgently needed.....&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanx a lot guies....&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>can't register serialized assembly DLL to mssql 2005</title><link>http://forums.asp.net/thread/3234069.aspx</link><pubDate>Mon, 15 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3234069</guid><dc:creator>piratejackus</dc:creator><description>&lt;p&gt;&amp;nbsp;hi i have a project on .net which includes a trigger, written with c#, now after the steps to work with CLR like: &lt;/p&gt;&lt;p&gt;- generates serialization assembly -&amp;gt; on&lt;/p&gt;&lt;p&gt;- Allow unsafe code&lt;/p&gt;&lt;p&gt;- &lt;code&gt;TRUSTWORTHY ON&lt;/code&gt; &lt;/p&gt;&lt;p&gt;form the article : http://www.codeproject.com/KB/database/SQLCLR.aspx&lt;/p&gt;&lt;p&gt;i couldn&amp;#39;t succeed at last step&amp;nbsp; which is to &lt;span class="code-keyword"&gt;register&lt;/span&gt; my Serialized Assembly DLL to my database. here is what i tried:&lt;/p&gt;&lt;p&gt;&amp;nbsp;CREATE ASSEMBLY [PCTrigger.XmlSerializers] FROM &amp;#39;C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\HedeWebService\PCTrigger\bin\Debug\PCTrigger.XmlSerializers.dll&amp;#39;&lt;br /&gt;WITH PERMISSION_SET=EXTERNAL_ACCESS&lt;/p&gt;&lt;p&gt;result:&lt;/p&gt;&lt;p&gt;Msg 6501, Level 16, State 7, Line 6&lt;br /&gt;CREATE ASSEMBLY failed because it could not open the physical file &amp;#39;C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\HedeWebService\PCTrigger\bin\Debug\PCTrigger.XmlSerializers.dll&amp;#39;: 5(error not found).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;i&amp;#39;m sure that the path of the&amp;nbsp;&amp;nbsp;PCTrigger.XmlSerializers.dll is right. I already read some comments about this error but couln&amp;#39;t figure out. also i have another PCTrigger.XmlSerializers.dll file under [samepath]\obj\Debug\PCTrigger.XmlSerializers.dll , but i think i must use the one under \bin. i tried both of them and same result.&lt;/p&gt;&lt;p&gt;need help,thanks. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: j# icon needed</title><link>http://forums.asp.net/thread/3175052.aspx</link><pubDate>Wed, 20 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3175052</guid><dc:creator>gerrylowry</dc:creator><description>&lt;p&gt;Petrus, the process is a bit more complicated.&amp;nbsp; Tom Archer describes it in his &amp;quot;Inside c#&amp;quot;*:&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="3"&gt;&amp;quot;&lt;/font&gt;&lt;a id="uid-D13A752B-E81C-6773-5192-E174DC4A4105"&gt;&lt;font color="#0000ff" size="3"&gt;Microsoft Intermediate Language and the JITters&lt;/font&gt;&lt;/a&gt;&lt;font color="#0000ff" size="3"&gt; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;To make it easy for language writers to port their languages to .NET, Microsoft developed ... Microsoft intermediate language (MSIL).&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;... compilers ... produce MSIL as output. MSIL itself is a complete language ... you can write applications in [MSIL].&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;... each compiler team makes its own decision about how much of the MSIL it will support.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;... MSIL is then further compiled into native CPU instructions when the application is executed for the first time by the CLR.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;... MSIL code cannot be executed directly—because it&amp;#39;s not in a machine-executable format—the CLR compiles the MSIL by using a just-in-time (&lt;font style="BACKGROUND-COLOR:#316ac5;"&gt;JIT&lt;/font&gt;) compiler (or JITter) into native CPU instructions as it processes the MSIL. &lt;font style="BACKGROUND-COLOR:#316ac5;"&gt;JIT&lt;/font&gt; compiling occurs only as methods in the program are called. The compiled executable code is cached on the machine and is recompiled only if there&amp;#39;s some change to the source code. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Three different JITters can be used to convert the MSIL into native code, depending on the circumstances: &lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;font color="#0000ff"&gt;&lt;b&gt;Install-time code generation&lt;/b&gt; Install-time code generation will compile an entire assembly into CPU-specific binary code, ... &lt;/font&gt;
&lt;li&gt;&lt;font color="#0000ff"&gt;&lt;b&gt;&lt;font style="BACKGROUND-COLOR:#316ac5;"&gt;JIT&lt;/font&gt;&lt;/b&gt; The default JITter is called at run time ...&amp;nbsp;the default if you don&amp;#39;t explicitly run the PreJIT compiler. &lt;/font&gt;
&lt;li&gt;&lt;font color="#0000ff"&gt;&lt;b&gt;EconoJIT&lt;/b&gt; Another run-time JITter, ... specifically designed for systems that have limited resources—for example, handheld devices with small amounts of memory .. &amp;quot;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Regards,&lt;br /&gt;Gerry (Lowry)&lt;/p&gt;
&lt;p&gt;* &lt;strong&gt;&lt;em&gt;Inside c#&lt;/em&gt;&lt;/strong&gt;, Microsoft Press, Copyright (c) 2001 by Tom Archer &lt;br /&gt;Library of Congress Cataloging-in-Publication Data&lt;br /&gt;Archer, Tom.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Inside C# / Tom Archer.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;p. cm.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Includes index.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ISBN 0-7356-1288-9&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. C# (Computer program language) I. Title.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;QA76.73.C154 A73&amp;nbsp;&amp;nbsp;&amp;nbsp;2001&lt;br /&gt;&amp;nbsp;&amp;nbsp;005.13&amp;#39;3--dc21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2001030562&lt;/p&gt;
&lt;p&gt;(a revised version is available:&amp;nbsp; &lt;a href="http://www.microsoft.com/learning/en/us/books/5861.aspx"&gt;http://www.microsoft.com/learning/en/us/books/5861.aspx&lt;/a&gt;&amp;nbsp;).&lt;/p&gt;
&lt;p&gt;More References:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ht8ecch6.aspx"&gt;http://msdn.microsoft.com/en-us/library/ht8ecch6.aspx&lt;/a&gt;&lt;br /&gt;&amp;quot;Compiling MSIL to Native Code&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/c5tkafs1.aspx"&gt;http://msdn.microsoft.com/en-us/library/c5tkafs1.aspx&lt;/a&gt;&lt;br /&gt;&amp;quot;Compiling to MSIL&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/bb496996.aspx"&gt;http://technet.microsoft.com/en-us/library/bb496996.aspx&lt;/a&gt;&lt;br /&gt;&amp;quot;UNIX Custom Application Migration Guide&amp;quot;&amp;nbsp; ::&lt;br /&gt;&amp;nbsp; &amp;quot;Volume 4: Migrate Using .NET&amp;quot; ::&amp;nbsp;&amp;quot;Chapter 1: Introduction to .NET&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700360.aspx</link><pubDate>Wed, 22 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700360</guid><dc:creator>koistya</dc:creator><description>&lt;p&gt;You just have explicitly added Version, Culture and PublicKeyToken to my example though all they are optional as far as I know. Anyway I have also added them and have same issues with Intellisense:&lt;br /&gt;&lt;br /&gt;&lt;img title="ViewsWithoutCodeBehind2.png" style="WIDTH:811px;HEIGHT:222px;" height="222" alt="ViewsWithoutCodeBehind2.png" src="http://navin.biz/files/ViewsWithoutCodeBehind2.png" width="811" /&gt;&lt;/p&gt;</description></item><item><title>Code Access Security</title><link>http://forums.asp.net/thread/2533529.aspx</link><pubDate>Sun, 03 Aug 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2533529</guid><dc:creator>paladinckm</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am kind of newbie to the security era..Can any of you please post or guide me to nay video tutorials on topics like What is CAS ? How it is used in websites ? How to implement it ? etc &lt;br /&gt;&amp;nbsp; &lt;/p&gt;</description></item><item><title>What is the role of Just In Time  compiler .net architecture?</title><link>http://forums.asp.net/thread/2507479.aspx</link><pubDate>Wed, 23 Jul 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2507479</guid><dc:creator>akhilkumars</dc:creator><description>&lt;p&gt;&amp;nbsp;Hello brothers ,,,,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I would like to know the importance of JIT compiler in .ner architecture. I have read that when CLR works it first compiles the source code into MSIL.Then the MSIL is interpreted to produce the native machine language.Then what does the JIT do? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error accessing T-SQL UDF from CLR UDF</title><link>http://forums.asp.net/thread/2415397.aspx</link><pubDate>Wed, 11 Jun 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2415397</guid><dc:creator>joerowe</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am experiencing the following error when I try to access a T-SQL UDF from within a SQL statement that I execute from a CLR UDF.&lt;/p&gt;&lt;font size="1"&gt;&lt;pre class="coloredcode"&gt;Msg 6522, &lt;span class="sqlkwd"&gt;Level&lt;/span&gt; 16, State 1, Line 2
A .NET Framework error occurred during execution &lt;span class="sqlkwd"&gt;of&lt;/span&gt; &lt;span class="sqlkwd2"&gt;user&lt;/span&gt;-defined routine &lt;span class="sqlkwd3"&gt;or&lt;/span&gt; aggregate &amp;quot;HelloWorldCLR&amp;quot;: 
System.Data.SqlClient.SqlException: This statement has attempted &lt;span class="sqlkwd"&gt;to&lt;/span&gt; access data whose access &lt;span class="sqlkwd"&gt;is&lt;/span&gt; restricted &lt;span class="sqlkwd"&gt;by&lt;/span&gt; the assembly.
System.Data.SqlClient.SqlException: 
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnectionSmi.EventSink.DispatchMessages(Boolean ignoreNonFatalMessages)
   at Microsoft.SqlServer.Server.SmiEventSink_Default.DispatchMessages(Boolean ignoreNonFatalMessages)
   at Microsoft.SqlServer.Server.SmiEventSink_Default.DispatchMessages(Boolean ignoreNonFatalMessages)
   at System.Data.SqlClient.SqlDataReaderSmi.InternalNextResult(Boolean ignoreNonFatalMessages)
   at System.Data.SqlClient.SqlDataReaderSmi.NextResult()
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderSmi(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteScalar()
   at UserDefinedFunctions.HelloWorldCLR()&lt;/pre&gt;&lt;pre class="coloredcode"&gt;I have tried the SQL BOL and Google with no luck.&lt;/font&gt;&lt;/pre&gt;
&lt;p&gt;Here is the sample&amp;nbsp;code I am using to produce this error:&lt;/p&gt;
&lt;p&gt;HelloWorldUDF.sql&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="sqlkwd"&gt;IF&lt;/span&gt; &lt;span class="sqlkwd2"&gt;OBJECT_ID&lt;/span&gt; (N&lt;span class="st"&gt;&amp;#39;dbo.HelloWorldUDF&amp;#39;&lt;/span&gt;) &lt;span class="sqlkwd"&gt;IS&lt;/span&gt; &lt;span class="sqlkwd3"&gt;NOT NULL&lt;/span&gt;
    &lt;span class="sqlkwd"&gt;DROP&lt;/span&gt; FUNCTION dbo.HelloWorldUDF
GO

&lt;span class="sqlkwd"&gt;CREATE&lt;/span&gt; FUNCTION dbo.HelloWorldUDF() RETURNS &lt;span class="sqlkwd"&gt;varchar&lt;/span&gt;(100)
&lt;span class="sqlkwd"&gt;AS
BEGIN
	RETURN&lt;/span&gt; &lt;span class="st"&gt;&amp;#39;Hello World&amp;#39;&lt;/span&gt;
 
&lt;span class="sqlkwd"&gt;END&lt;/span&gt;
GO&lt;/pre&gt;&lt;pre class="coloredcode"&gt;HelloWorldCLR.cs&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;using&lt;/span&gt; System;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Data;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Data.SqlClient;
&lt;span class="kwd"&gt;using&lt;/span&gt; System.Data.SqlTypes;
&lt;span class="kwd"&gt;using&lt;/span&gt; Microsoft.SqlServer.Server;

&lt;span class="kwd"&gt;public&lt;/span&gt; partial &lt;span class="kwd"&gt;class&lt;/span&gt; UserDefinedFunctions
{
    [Microsoft.SqlServer.Server.SqlFunction( DataAccess = DataAccessKind.Read )]
    &lt;span class="kwd"&gt;public static&lt;/span&gt; SqlString HelloWorldCLR()
    {
        &lt;span class="kwd"&gt;using&lt;/span&gt; ( SqlConnection conn = &lt;span class="kwd"&gt;new&lt;/span&gt; SqlConnection( &lt;span class="st"&gt;&amp;quot;context connection=true&amp;quot;&lt;/span&gt; ) )
        {
            conn.Open();

            SqlCommand command = &lt;span class="kwd"&gt;new&lt;/span&gt; SqlCommand( &lt;span class="st"&gt;&amp;quot;SELECT dbo.HelloWorldUDF()&amp;quot;&lt;/span&gt;, conn );
            &lt;span class="kwd"&gt;return new&lt;/span&gt; SqlString( command.ExecuteScalar().ToString() );
        }
    }
};

Test query:&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;&lt;span class="sqlkwd"&gt;select&lt;/span&gt; dbo.HelloWorldUDF()
&lt;span class="sqlkwd"&gt;select&lt;/span&gt; dbo.HelloWorldCLR()&lt;/pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Could some one please confirm that this should be possible or not?&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Thanks!&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Joe.&lt;/pre&gt;&lt;/pre&gt;</description></item><item><title>Re: What value to pass to aspnet_Membership_CreateUser for PasswordSalt parameter?</title><link>http://forums.asp.net/thread/2246222.aspx</link><pubDate>Thu, 20 Mar 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2246222</guid><dc:creator>daveblack</dc:creator><description>&lt;p&gt;One other alternative is to use SQL CLR (C# or VB.NET in SQL) to create a new SQL StoredProc which would be called from your Trigger.&amp;nbsp; Note that this is a feature only available in SQL Server 2005+.&amp;nbsp; Also, be aware that the Performance of SQL CLR is SLOWER that T-SQL.&amp;nbsp; So, in general, the use of SQL CLR should be used sparingly and only in non-performance critical situations.&amp;nbsp;&amp;nbsp;In my opinion, SQL CLR is one of those things that MS tried to push but never really caught on with Developers and will be (or has been) superceded by LINQ.&amp;nbsp; From what I&amp;#39;ve seen, the only teams that used it extensively used it as a crutch for .NET guys who couldn&amp;#39;t write SQL. However, in your particular situation SQL CLR is the only other option AFAIK.&lt;/p&gt;
&lt;p&gt;To use SQL CLR:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Use SQL Server Surface Area Configuration, Surface Area Configuration for Features&amp;nbsp;to enable &amp;#39;CLR Integration&amp;#39; in SQL&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;The new StoredProc would be written in either C#, VB.NET, or your .NET Language of choice.&amp;nbsp; &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Call the .NET MembersipAPI from your SQL CLR Stored Proc.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Then, call this new SQL CLR Stored Proc&amp;nbsp;from your Trigger.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;You can fnd more info at:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/sqlclr/"&gt;http://blogs.msdn.com/sqlclr/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.google.com/search?sourceid=navclient&amp;amp;aq=t&amp;amp;ie=UTF-8&amp;amp;rls=GGLL,GGLL:2008-04,GGLL:en&amp;amp;q=sqlclr+stored+procedure"&gt;http://www.google.com/search?sourceid=navclient&amp;amp;aq=t&amp;amp;ie=UTF-8&amp;amp;rls=GGLL,GGLL:2008-04,GGLL:en&amp;amp;q=sqlclr+stored+procedure&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps.&amp;nbsp; If this helps to answer your question, pleae mark the response as Answer or Helpful.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: how to take control to free up memory immediately</title><link>http://forums.asp.net/thread/2134558.aspx</link><pubDate>Sat, 26 Jan 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2134558</guid><dc:creator>roni_schuetz</dc:creator><description>&lt;p&gt;i def. found what i needed and have written down the whole thing at my blog: &lt;a href="http://netrsc.blogspot.com/2008/01/gccollect-how-it-really-works-net.html"&gt;http://netrsc.blogspot.com/2008/01/gccollect-how-it-really-works-net.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;use GC.Collect() which after some work with Perfmon showed me that this is the right thing and it does exaclty what i needed. read the blog post for more detailed information. &lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;update: svante, i have seen your reply only after I submit. we have implemented a provider for caching ( even that .net does not have a provider for caching&amp;nbsp;). a project like &lt;/p&gt;
&lt;p&gt;indeXus.Net Shared Cache needs full control of what happens behind the scene - another point which has spoken against System.Cache.&amp;nbsp;We have a session&amp;nbsp;provider &lt;/p&gt;
&lt;p&gt;on our roadmap which will be implemented soon. thanks for you efforts,&amp;nbsp;links and the points&amp;nbsp;you share with me.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: how to take control to free up memory immediately</title><link>http://forums.asp.net/thread/2134525.aspx</link><pubDate>Sat, 26 Jan 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2134525</guid><dc:creator>roni_schuetz</dc:creator><description>&lt;p&gt;thanks for your response. Your interpretation is absolutely correct that I develop a caching system - it is&amp;nbsp;a distributed caching system &amp;nbsp;( &lt;a href="http://www.sharedcache.com/"&gt;http://www.sharedcache.com&lt;/a&gt; ) for .net solutions.&lt;/p&gt;
&lt;p&gt;since the requirement comes up to limit or non limit cache amount and its used here in various cases, the need to free up memory is one of this things we would like to ensure it happens asap and not just 3 - 4 min. later. It would be to simple to take the System.Web.Caching.Cache then this gives you a lot of options and capabilities we do not support but we need performance out of proc. Don&amp;#39;t misunderstand me its amazing for&amp;nbsp;almost every&amp;nbsp;use-cases, but once you run into distributed caching&amp;nbsp;it def. not the right way to deal with it.&amp;nbsp;In general it has different aspects then the community of indeXus.Net Shared Cache needs.&lt;/p&gt;
&lt;p&gt;We do not try to replace the System Cache we intend to give an alternative to enrich your environment out of the process.&lt;/p&gt;
&lt;p&gt;I should also say that in general I fully agree with&amp;nbsp;your point of view - do not&amp;nbsp;mess with&amp;nbsp;something&amp;nbsp;which intends to work perfect ;-)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>