Archive for the ‘C#’ Category

“The Managed Extensibility Framework (MEF) simplifies the creation of extensible applications. MEF offers discovery and composition abilities that you can leverage to load application extensions.” – (mef.codeplex.com) “The common service locator library contains a shared interface for service location which application and framework developers can reference”  - (commonservicelocator.codeplex.com) Wow! How to get them both working [...]

In part 1 of this series, we described a way to simplify our code to abstract some of the role-based implementation which the ASP.Net Memberships & Roles gives us. In this part, we will explore the extensions needed in the SQL Server database to have additional table which will help store the data needed to [...]

In the following series of article, I will show a customer implementation of the ASP.Net Membership Providers to extend the Memberships.

The powers that be agree that Dependency Injection (DI) & Inversion of Control (IoC) patterns help applications become more component-based, easier to maintain & better designed.

The following series of article provides a step-by-step guide to structure code for working with DI & then implementing IoC for noob programmers.

An attempt at Enum.TryParse

Posted: May 2, 2010 in C#

It is well known fact that Enum.TryParse does not exist in .net 3.5 although it is available in 4.0 There have been some previous implementations already made here, here and here. I thought I should add my $0.02 into the mix & put out my own implementation, so here goes: Note: line breaks added for [...]

I finally got the chance to start working on ASP.Net MVC with jQuery & Linq. My last project was based on the now “old” .Net 2.0  & we went with a complete MS technology stack including their version of AJAX. Adding third party controls to the mix didnot help & only added to the overall [...]