New feature in sql server 2012

Lots of New feature has been introduced with sql server 20012, it is the latest version from Microsoft after sql server 2008 r2. Below are some features …. 1)Sequence  : this feature is already with oracle and post gre sql, but microsoft has introduced with 2012 version, under programmability  , sequence can be found, it…

Read More

Advantages of Entity Framework

Entity frame work has several advantages like below 1)Orm supprt: It is based on object relational mapping support,which maps between object and  data storage 2)Rapid development: by using entity frame work ,rapid application development can be done by using data base first approach. 3)Full support for Relational database , with relational key. 4)It work with…

Read More

Advantages of Razor View Engine

From Mvc 2.0 there is only aspx view engine which supports only aspx web form syntax . But from MVC 3.0 new view engine introduced Razor view engine .Feature of razor view engine 1)It is Test driven development support 2)It uses Unit testing only , this is the best advantages , not view engine does…

Read More

Page life cycle of MVC

Page life cycle of MVC is like below .When Browser request to application it will do first 1)App initialization: It will create initialization of Application of IIS 2)Routing: It is very important of MVC , this is the first step , all mvc based application starts with routing,it passes UrlRoutingModule , the route table contains all…

Read More

AuditLog Trigger

For creating audit log this trigger can be used to fire trigger USE [PCCAS] GO /****** Object: Trigger [dbo].[Crime_AuditLog] Script Date: 04/29/2014 18:36:02 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER TRIGGER [dbo].[Crime_AuditLog] ON [dbo].[crime] FOR INSERT, UPDATE, DELETE AS BEGIN TRY BEGIN DECLARE @bit int, @FIELD int, @maxfield int, @CHAR int, @fieldname…

Read More