SQL Server 2005 supports CLR so it means we can use CLR in backend so how to do that. let's see.
Yes, it is possible to use .NET in a SQL Server 2005 database. and .Net framework 2.0 and above.
Create a SQL user-defined function by adding a User-Defined Function to a SQL Server project. After successful deployment, the user-defined function can be called and executed.
see below links
Editor, DotNetSpider MVM
Microsoft MVP 2014 [ASP.NET/IIS]