Wednesday, May 28, 2014

Is it Suggested to Use Repository Pattern and Unit of Work with Entity Framework ( ORM Solutions)

Repository Pattern and Unit of Work Pattern on the top of Entity Framework an overhead from both performance and maintainability point of view. Unless otherwise there is strong business driver we should be stay away of this approach.

Saturday, May 17, 2014

Wednesday, January 8, 2014

What is new in ASP.Net MVC 5

Summary : ASP.Net MVC 5 is a part of Dot.Net framework 4.5 that is releases with VS2013.  Key new feature includes

  1. One ASP.Net, 
  2. ASP.Net Identity for External Authentication like google, 
  3. Enhance Async Controller, 
  4. WEB API Ver 2,0, 
  5. Support of EF 6, 
  6. Attribute based routing, Bootstrap, 
  7. OWIN and Katana for cloud enhance cloud support.

Tuesday, January 7, 2014

What is new in Dot.Net 4.5


Compatibility Enhancement

Since project files are same in both VS2011 and VS2010 so you can open Visual Studio 2010 projects in Visual Studio 11 and continue working from Visual Studio 2010 without any problems.

What is new in Dot.Net 2.0

  1. Language Improvement 
    1. Generics,
    2. Anonymous delegates

What is new in Dot.Net 3.0

  1. New Features and Frameworks 
    1. WCF
    2. WPF
    3. WF
    4. Card Space
  2. Language Improvements
    1. Language Integrated Query (LINQ) CTP,
    2. Lambda expressions (an evolved anonymous delegate).
    3. Inline Object Initialization
    4. Anonymous Types
    5. Extension method
    6. Expression tree

What is new in Dot.Net 3.5

  1. ASP.NET AJAX
    1. In ASP.NET 2.0, ASP.NET AJAX was used as an extension to it. You had to download the extensions and install it. However in ASP.NET 3.5, ASP.NET AJAX is integrated into the .NET Framework, thereby making the process of building cool user interfaces easier and intuitive.

What is new in Dot.Net 4.0

  1. Framework Features
    1. Client Profile (Lite Version of Framework)
      1. The .NET Framework 4 Client Profile is a subset of the .NET Framework 4 that is optimized for client applications. 
      2. Note: - I do not see of much value it just saves around 100 MB of disk space, for me it more overheads to verify on two different platform. I would always suggest to use full version of framework.

Saturday, November 16, 2013

WCF Error : HTTP could not register URL..... Your process does not have access rights to this namespace

Problem
   Exception while opening WCF Service Host  (Host.Open)

Error Message 
     HTTP could not register URL..... Your process does not have access rights to this namespace , ( Inner        Exception Access is denied)

Root Cause 
     This operation requires Admin Privileges 

Solution 
  • Option 1: Start visual studio in admin mood (VS Icon in program files >> Right click >>Run As administrator 
  • Turn off your UAC settings (Run>>MSConfig>>Tools>>Change UAC Settings)

Friday, May 3, 2013

HTML Vs XHTML

It is well formed HTML (i.e.) obey XML schema rules and as a result it can be used with wide range of XML tools that makes XHTML a very salable and reliable document type.