Dependency Injection with Sample
Category: Information Technology
Various IT related article
How to use AD Attributes not represented in UserPrincipal, GroupPrincipal and ComputerPrincipal – CodeProject
Working with AD Object
Don’t mock HttpContext
Better to Mock user is IOC / DI way.
Source: Don’t mock HttpContext
IPrincipal (User) ModelBinder in ASP.NET MVC for easier testing – Scott Hanselman
Hanselman uses IPrincipal for user object, and easier testing
Source: IPrincipal (User) ModelBinder in ASP.NET MVC for easier testing – Scott Hanselman
c# – How to initialize IEnumerable that be empty and allow to Concat to it? – Stack Overflow
How to initialize IEnumberable variable with Lambda Expression
Source: c# – How to initialize IEnumerable that be empty and allow to Concat to it? – Stack Overflow
javascript – Convert Json String to C# Object List – Stack Overflow
Simple tools and JSON Deserialization method
Source: javascript – Convert Json String to C# Object List – Stack Overflow
c# – Selecting multiple columns with linq query and lambda expression – Stack Overflow
ViewModel, and Assign your result to that model.
Source: c# – Selecting multiple columns with linq query and lambda expression – Stack Overflow
c# – Asp.Net MVC with Drop Down List, and SelectListItem Assistance – Stack Overflow
This will be used for MVC Selected Item Case
Source: c# – Asp.Net MVC with Drop Down List, and SelectListItem Assistance – Stack Overflow