In the beginning, when I start to learn C# and Asp.Net MVC, building search form was a complicated thing to do for me. The more criteria I’ve had for a search form, the harder it would get, but it was hard because I didn’t use the proper tools to do my job. Back then, I …
C#
Customizing ELMAH To Prevent It From Logging Unnecessary Errors Using Entity Framework and ASP.Net MVC
Couple of months ago, I needed to use ELMAH in one of my project (in case you haven’t heard about it, you can see what it can do for you here), but the component out of the box had some problem in my opinion. for example when an error occurs, it goes ahead and log …
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 …
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 …
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 …