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

Get the Last Date of any Month using SQL SERVER

In this article, I have explained two ways of getting the last date of the month.

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

Extension Methods in C#

Here is a short description of what are extension methods are, where, and how it is used.

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

Add Markers and Info window on Google Maps

In this article, I have documented the process of adding Google Maps (API v3) on to an Html page, the use, and application of the Markers and Info-window. In this example, I have created a form that takes Latitude, Longitude, Tooltip for Marker and plain text for Info-window as inputs. And plot the Marker on the map with the Info-window and is also populating a table with the same information but with an additional button that is used to remove the Markers from the map.

Read More

Secure web application via web.config file in ASP.net MVC

Here I have listed items that can be added to the web.config file which can help to secure your ASP.Net web application.

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

Adding Rate Limiting to Web API and Application

In this article, we are showing how to add rate limit to web application and apis

Read More

Format Number, Currency and Date using toLocaleString method in javascript

In this article we will learn how to format Number, Currency and Date using toLocaleString method in javascript

Read More