MENU

Jump Start MVC 4

by Wednesday, May 29, 2013
This is 3rd post of my MVC series that discuss fundamental concepts of MVC with Jumpstart drill. Model-View-Controller (MVC) is basically a software architecture pattern which  comprises of 3 Tiers, each tier have different functionality. Controller is a main tier of MVC architecture that responsible for collecting request and responding to request. Model is a tier that responsible for validating data structure at database end as well as on the User Interface. While View is front end of MVC application in which data is

Implementing Data Annotation with Entity Framework

by Wednesday, May 01, 2013
This post is a second part of the MVC 4 series that discusses implementation of Data Annotation. Before proceeding to the drill, I would first like explain, what Data Annotation  is and used for. Data annotation is a set of classes that used with data models to define data in form of attributes. Data annotation attributes can be categories into 3 types. 1) Validation Attributes 2) Display Attributes 3) Modelling Attributes Validation Attributes Validation attributes are the attributes that are use for validating data,

Entity Framework 5: Code First Approach

by Sunday, March 24, 2013
This is my first article of MVC 4 Development series, which is based on basic guidance of implementation of the code first approach, initially this project is build on Console Application to avoid complexities for the starters. Before starting the drill, I would first like to tell you that all of my example will base on Restaurant Management System and i will try to keep this example consistent through out this series. Following is an ERD of the system, I hope the naming conventions are self explanatory to