Extracting data from XML in SQL SERVER

Here is a snippet of code that can be used to extract data from an XML string in SQL Server

Read More

Enable GZIP Compression in Asp.net MVC application with Web.Config

GZIP is a method of compression for faster network transfers of contents. Here is a snippet that will help us enable GZIP for an ASP.NET MVC application.

Read More

Force redirect HTTP to HTTPS Asp.net and MVC

Code snippet to be added to "web.config" file to force any HTTP requests to HTTPS request

Read More

Take web application offline in ASP.net MVC

Take a web application offline for the duration of deployment or deployment, by publishing an App_offline.htm file to the server.

Read More

Xamarin.Android Resource.Designer.cs file not updating problem.

Sometime while creating app with xamarin, I had frequently faced issue such that the resources file doesn't contain newly added controls/views or string resources. By doing the following steps we can resolve this issue.

Read More