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 … 

 

Implementing Load More button using ASP.NET MVC and jQuery – Part Two

In this post we’ll see how we can implement Load More button using ASP.NET MVC and jQuery. Then we’ll see how we can use JsonResult controller action for turning view to string and use it in our front end. Building JsonResult Controller Action for Turning View to String and Receiving What We Need From It … 

 

Implementing Load More button using ASP.NET MVC and jQuery – Part One

In the next two posts, I’m going to show you how to build a load more button for your page using ASP.NET MVC, you can use it for any various kind of things, but in the case of this tutorial, I’ll use it for my fictitious product list. Introduction In the next two posts, I’m … 

 

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 …