04/01/2017 by Nitesh

Generate MachineKey using Windows PowerShell

In this post we will see how we can Generate MachineKey using Windows PowerShell from our local development machine. Problem: Many a times when a ASP.Net application is running on production server, we get an error message stating – “Validation of viewstate MAC failed. If this application is hosted by a web farm or cluster,…

Continue Reading »

09/05/2016 by Nitesh

Disallow Search Engine Crawlers to Index Websites

When working for any client, we all showcase the work on a development server that is available on a public domain and easily accessible to client. With Search Engines crawling the internet at a huge speed, it’s likely that Search Engine Crawler aka Robots like Google, Bing, yahoo will index the development webpages that we…

Continue Reading »

22/04/2016 by Nitesh

Enable IIS Server to Serve .mp4 files through web.config file

Now, most of the websites are being developed using HTML5 and using videos on the background is an easy job using the video tag.. It is advised to serve video files using a CDN, however, in case you want to host videos from your own server, you need to configure IIS to server .mp4 files….

Continue Reading »

14/04/2016 by Nitesh

SOLUTION: Friendly URLs not working on shared server

So, you have created an awesome website in ASP.Net using the awesome friendly URLs and it is all working on your machine, you upload the code to a shared server and your Friendly URLs stop working. Ahhhh! Something that you expected to work out of the box as it works on Microsoft Azure but it…

Continue Reading »

31/12/2014 by Nitesh

How To Remove Session Support from SQL Server

Friends, In this post we will see how can we remove Session State Support from SQL Server for ASP.Net applications. To completely remove the Session State support from SQL, we need to perform the following actions – Open Command Prompt Go to C:\Windows\Microsoft.Net\Framework\<Your Framework Version>\ Type¬†aspnet_regsql -S SQLSERVER -U¬†User -P Password -ssremove Confirm the question…

Continue Reading »

1 2