Programmatically Encrypt The Connection String In Asp.Net MVC Applications

In this post, I’m going to show you how you can encrypt your connection string using code, as opposed to command line. In command line approach, you use the aspnet_regiis.exe and issue a set of commands to do the encrypt/decrypt, which you lose some flexibility, but the code approach is much cleaner and more flexible … 

 

Security through obscurity – Hiding Asp.Net MVC response headers

Hiding sensitive response headers may not be the most important security measure that you can take, but it is one extra layer of security according to defense in depth security principle. By default, Asp.Net applications reveal too much information about its platform and version, and this information makes an application vulnerable to zero-day bugs. Suppose … 

 

Asp.Net Core attribute routing new features and differences with MVC 5

One of the most important changes in Asp.Net Core was mixing the WebAPI and MVC. Now they are not two separate things, Asp.Net Core now contains both of them, that means these two technologies are going to share the same code base for a lot of things, and attribute routing is one of them. In … 

 

Top 14 Must Have Free Extensions For Visual Studio 2015

These days, being a developer using Microsoft platform has become very exciting. Partly because of open sourcing of .NET and integration of its products with other great open source platforms. But also the latest free IDE that Microsoft made available has a very good set of features for non-commercial or small company use. Free IDE …