Category: My Blog

  • Blog
  • Category: My Blog

.NET Framework 3.0 Virtual Lab

Microsoft .NET 3.0 framework contain great features. Now we can test out via virtual labs. Microsoft have now announced the virtual lab for .net framework.Ever wanted to test software in a sandbox environment? Wouldn’t it be great to be able to test the new Microsoft .NET Framework 3.0 technologies immediately, without dedicating one or more

Implementing repository pattern with the ado.net entity model

There are lots of ways to implement repository pattern but with ado.net entity model you can create repository pattern within 10 to 15 minutes. If you are creating asp.net mvc application then just right click->Model folder->Add->Net Item->select ado.net entity data model. From database explorer right click and drag your tables to your database explorer. It

Different way of mapping with EFCodeFirst

Recently I have been working Entity Framework Code First 6.0 and it’s awesome. I am in love with it. It has got great fluent API and we can do anything with that. It’s also promotes Convention over configuration which I love so far. I have seen people are more confused about how we can map

C# 4.0 New feature – Named Parameter

C# 4.0 has one new cool features which is the named parameter. Suppose you have so many parameter in function and when you call them its hard to remember the sequence of the code now with the named parameter you can have name of the parameter with value like Parameter:value and one another cool feature