Best Practices for developing ASP.NET applications
I would like to share with you a serious collection I am doing about the current best practices in the developing of applications under ASP.NET. I know ASP is a powerful developing tool with the capacity of creates a final product with quality and high levels of portability. In really don’t have a special order for that, it is just a simple list of those that I call “the current best practices for developing applications with ASP.NET”. It is just an informative description of my research and not an official document from Microsoft or other authorized institution. Most of the following practices are based on two main areas which are optimization and security.
1. The generation of encryption keys with ASP.NET: The encryption, decryption and validation keys are very important in a web application. The propel use of them guarantee a more secure web page. You can’t say you are applying good practices if aren’t applying encryption keys to your ASP.NET applications.
2. Use the power of ASP.NET to encrypt sections of your web site with sensitive information: The security of sensitive information is a basic aspect every web site should have. Today there are more informed users than ever. These users are able to know if your website offers some of the security standards required in the market. That’s why you should develop encrypt the sections of your website containing information such as personal data, bank and credit card accounts and other type of sensitive information. Secure sites are those which are applying all the modern techniques in benefit of prevent the information theft and electronic fraud.
3. Try that each database connection be trusted: The use of trusted connection is the practice required in the market to avoid all kind of future problems. These problems could be caused for the penetration of undesired and unauthorized users. A trusted connection always will reduce this problem.
4. Create an application pool and establish a memory limit for it: An application pool is a specific area of the web site exclusively dedicated to process requests. If you are able to do this on each webpage you will increase the performance of your website. Also you should have a limit of memory for it in order you can avoid all type of overflow.
5. Build always secure ASP.NET applications: All your web applications on ASP.NET should have all the security standards required today. Your web pages must have authentication, authorization and secure communication procedures in order you can reduce all kind of vulnerability.
6. Be worry about performance but also about scalability: Most of the web developers are only worry about the excellent performance of their web applications and it is a good point, because not everybody get develop web pages in ASP.NET with higher levels of performance. But the key element here is that you should be worry about the scalability. If you are going to sell a POS (Point of Sale) in ASP.NET, your customer don’t want buy this product and have buy other the next year. The scalability is something you should have in mind in our days.
With the dawn of ASP.NET, asp hosting has also taken a major leap in site builders all over the world.
