Implementing Search Without Convoluted If Statements In Asp.Net MVC

Implementing Search Without Convoluted If Statements In Asp.Net MVC Introduction 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 … 

 

Supercharge Your Text Editing With Viasfora

I recently wrote about Top 14 Must Have Free Extensions For Visual Studio 2015, but it turns out, I’ve missed on one other great extension, it is called Viasfora. What Viasfora does for you is that it changes your braces and parenthesis color in such a way that nested parenthesis and braces do not confuse … 

 

Retrieving Email From Google, Microsoft And Facebook External Login Provider

Retrieving Email From Google, Microsoft And Facebook External Login Provider Introduction In this post, I’m going to show you how you can retrieve email address form the OAuth external login providers of Facebook, Google, and Microsoft in Asp.Net MVC applications, I’m not going to discuss how you can use these providers in general, for that … 

 

Customizing ELMAH To Prevent It From Logging Unnecessary Errors Using Entity Framework and ASP.Net MVC

Customizing ELMAH To Prevent It From Logging Unnecessary Errors Using Entity Framework and ASP.Net MVC Introduction 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 … 

 

Programmatically Encrypt The Connection String In Asp.Net MVC Applications

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 … 

 

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 … 

 

MVC 6 attribute routing new features and differences with MVC 5

MVC 6 attribute routing new features and differences with MVC 5 One of the most important changes in MVC 6 was mixing the WebAPI and MVC, now they are not two separate things, MVC 6 now contains both of them, that means these two technologies are going to share the same code base for a … 

 

Restricting BOINC GPU usage, options for throttling it or using one GPU in a multi-GPU system

BOINC is a software that you can use to contribute your computer time to various science projects, I am a fan of [email protected] and World Community Grid, limiting GPU in BOINC is not as easy as CPU, in this post, I’m going to show the different ways that this can be done. When it comes … 

 

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 …