Note that there are some explanatory texts on larger screens.

plurals
  1. POMoving C# in Process Functions to SQL Server CLR functions
    primarykey
    data
    text
    <p>What are the limitations, unexpected pitfalls and performance traits of moving from in process C# code to SQL CLR Functions? </p> <p>We currently have several data heavy processes that run very fast using in process C# Asp.net MVC project without using a db at all. Performance is very important. The application uses a static in memory cache and performs complex operations to arrive at a final result. Cache updating is a bit of a pain and we are considering moving some of these processes to SQL Server queries that would just output the final result so that less data caching is needed at the c# app level. The processes are complex and we know that moving to the database would require extensive use of SQL Server CLR functions. </p> <p>We see a lot of advantages in leveraging the database, but the required use of CLR functions gives pause for a few reasons:</p> <p><strong>No Azure:</strong> SQL CLR functions are <a href="http://simonmunro.com/2010/02/08/is-spatial-support-needed-in-sql-azure/" rel="nofollow">not supported by Azure</a>, </p> <p><strong>High Testing Cost:</strong> the SQL CLR functions could be slower and testing will take significant work </p> <p><strong>Small User Base:</strong> An hour of googling reveals that use of CLR functions is somewhat uncommon which makes community support (and possible MS support) a concern. </p> <p>I would love to hear from someone who has moved a C# app from in process to CLR functions.</p> <p>In your answers please assume that custom SQL CLR functions are required.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload