January 4, 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 »

April 22, 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 »

April 14, 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 »

August 17, 2015 by Nitesh

301 Redirect Non WWW to WWW Using Web.config in ASP.Net

Friends, Whenever we host a domain on server, we are able to access the webpage from http://www.mydomain.com as well as http://domain.com. For SEO purposes, this is not good as Google and other search engines penalises the website as duplicate content. To resolve this, we can redirect the non-www domain to www domain.  In this post, we…

Continue Reading »

December 31, 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

Support us!

If you like this site please help and make click on any of these buttons!

Powered by WordPress Popup