Tags » ASP.NET MVC 2

MVC5 Dependency Injection With Microsoft Unity.

Download Source Code: DIWithUnityMVC

Dependency injection separates the creation of a client’s dependencies from the client’s behavior, which allows program designs to be loosely coupled… 1,202 more words

Asp.net

Store encrypted AppSettings and ConnectionStrings in a database

Do you have connectionStrings and appSettings with potentially sensitive data spread all over your network in various web.configs?

Do you worry about your database userids and passwords saved in source control? 175 more words

IIS

ASP.net MVC step by step complete E-commerce tutorial

ASP.net MVC has matured significantly over the past few years and is perhaps one of the best web frameworks out there to develop secure, fast, enterprise web applications. 1,350 more words

Asp.net

Guidelines to implement ideal scalable angularJS application

Food for thought:┬áPlease go through code in VS, Its a sample angular application, doesn’t have that much of meat in it, a skeleton app which deals functionality like: 135 more words

Javascript

Refactoring: Usage of Guard Clauses

During initial days of development, I inclined towards using nested if statements, but with passage of time when code requirements started to be more complex and involve lot of if statements, this result in nightmare in terms of maintenance and readability of code. 128 more words

ASP.NET

Usage of CONTAIN filter in LINQ queries

Contains scans a List. It searches for a specific element to see if that element occurs at least once in the collection. The C# List type has the useful Contains method that declaratively searches. 84 more words

ASP.NET

WebAPI: Standard way of using session object in server methods

The best common way to use session objects in MVC and WebAPI ‘enterprise web’ project is to load them into public class soon after successful logging, then save that loaded data class into session object and utilize this session object in mvc and webapi controller using static method so that one persistent ‘typecast’ object is available for each online user. 188 more words

Webapi