Monthly Archives: January 2012

Microsoft Entity Framework

  • entity1
  • entity2
  • entity3
  • entity4
  • entity5
  • entity6
  • entity7
  • entity8
  • entity9
  • entity10
The Microsoft Entity Framework is an Object Relational Mapping (O/RM) tool that enables you to generate a data access layer from a database automatically. The Entity Framework enables you to avoid the tedious work of building your data access classes by hand.
** Alternatives to Entity Framework – Microsoft LINQ to SQL, NHibernate, or SubSonic
Sample Project – MVC with Entity Framework
Final Output
After Creation MVC project from the Project Template- Create Entity Data Model-from an Exiting Database in SQL- Click Add New Item from Model- Select ADO.NET Entity Data Model.
Select Genearate from Model
In Order to Access the Existing Database – provide the Database Connection
Select the Tables to include in Entity Model and Give a Namespace
Select the Entity and Verify the Entity Type Name and See if its made Plural, you can change it to Singular
Right Click on Model Window and Verify the Namespace
Go to the Controller- Verify the Namespaces, Create a Constructor to Initialize The Entity, In the the Corresponding Action,Fetch  the Data using Entity and Assign it to Model
In the View- the Page Inherits from the Specific Model
When we add an Entity Model, it makes an entry into the Web.config

Build Iphone and Ipad Apps Using C# and .Net

Wow, I have been waiting for this day !!!!!!!!!! Using MonoTouch, you can create native iOS applications by using the same UI controls that you would if you were writing the application in Objective-C and Xcode, except you have the flexibility and elegance of a modern language(C#), the power of the .NET Base Class Library (BCL), and a first-class IDE (MonoDevelop) at your...
Read more

ASPX and Razor View Engine introduced in MVC3

Razor is an alternative view engine for MVC apps, and is implemented by entirely different code than .aspx

The Razor Syntax, Server Code, and ASP.NET

Razor syntax is a simple programming syntax for embedding server-based code in a web page. In a web page that uses the Razor syntax, there are two kinds of content: client content and server code. Client content is...
Read more


Source -

ASP.NET MVC 3 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework.


  • Integrated Scaffolding system extensible via NuGet
  • HTML 5 enabled project templates
  • Expressive Views including the new Razor View Engine
  • Powerful hooks with Dependency Injection and Global Action Filters
  • Rich JavaScript support with unobtrusive JavaScript, jQuery...
Read more