How to: Determine which .NET Framework versions are installed, the easy way

Although, having migrated to .net Core for the most part,we all have to support our older applications using .net Framework. As a part of routine, you may tend to update the .net framework in your application only to find out that your test or even prod (yikes!) do not have the latest framework installed.  One… Continue reading How to: Determine which .NET Framework versions are installed, the easy way

7 lesser known hacks for debugging in Visual Studio

Post originally appeared at: https://blogs.msdn.microsoft.com/visualstudio/2017/06/26/7-lesser-known-hacks-for-debugging-in-visual-studio/ Please refer the thread for more discussion, this is for reference purpose only.   The Visual Studio debugger is a magical beast that can save you loads of time while finding and fixing issues in your application. It is chock-full of tools that can make debugging easier… if you know… Continue reading 7 lesser known hacks for debugging in Visual Studio

The fastest way to split a string using CLR

The original post appeared here: http://sqlblog.com/blogs/adam_machanic/archive/2009/04/28/sqlclr-string-splitting-part-2-even-faster-even-more-scalable.aspx Please visit the original website for more discussion, this is for reference purpose only.   using System; using System.Collections; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; public partial class UserDefinedFunctions { [Microsoft.SqlServer.Server.SqlFunction( FillRowMethodName = “FillRow_Multi”, TableDefinition = “item nvarchar(4000)” ) ] public static IEnumerator SplitString_Multi( [SqlFacet(MaxSize = -1)]… Continue reading The fastest way to split a string using CLR

Difference between ASP.NET MVC and ASP.NET Web API

Found this interesting article on http://www.dotnet-tricks.com/Tutorial/webapi/Y95G050413-Difference-between-ASP.NET-MVC-and-ASP.NET-Web-API.html Most people tend to think MVC and web api are the same thing. Well not really!   While developing your web application using MVC, many developers got confused when to use Web API, since MVC framework can also return JSON data by using JsonResult and can also handle simple AJAX requests.… Continue reading Difference between ASP.NET MVC and ASP.NET Web API