Relative positioning Of Database and Images Used in Application

There are situations when we develop an application and it works fine when we running it on the system on which it is made but when we take our application elsewhere it doesn't function properly, usually throwing error like database not found or many times you may not get the picture used in the application. [More]

Tags: , , ,

Windows Form

Locking Sections of Web.Config to Prevent Overwrite from Sub folder’s Web.Configs

ASP.NET's web.config file provide easy yet powerful place to keep your configuration settings. One such power comes with section. There are situations where you may want to define some properties and lock it down so any sub folder web config file can't overwrite it, one such situation is where you have multiple applications and you want those applications to... [More]

Tags: , ,

ASP.NET

Generating Machine key's Validation key and Decryption key pair using IIS7

In ASP.NET, machine key is used to encrypt and decrypt form authentication cookies and you can use if to encrypt View state as well. For high traffic websites and keeping up time for your production website to almost 100% all the time, sometimes you may have more than one production servers hosting same application now this situation produce a very interesting scenario so let's assume that user requested a page and server 1 responded to that page with authentication cookie and now... [More]

Tags: , , , , , ,

IIS