Monthly Archives: August 2012

Microsoft .NET C# Naming Convention

In my recent project, Everything went smooth but at the end of the project when we delivered code to client, We got comment from client on naming convention. In code, at few places naming convention for .NET C# coding was … Continue reading

Posted in .NET | Tagged , | Leave a comment

ExecuteCore() method in base controller is not firing in the MVC 4 RC

Generally we use BaseController in MVC which is inherited by all other controllers. In BaseController, We write  common code which can be used in the all pages e.g. setting the language in the current thread for multilingual site. One of … Continue reading

Posted in MVC | Tagged | Leave a comment

Usefull new features of SQL 2008 for normal developers

New Data Types DATE – ANSI-compliant date data type TIME – ANSI-compliant time data type with variable precision DATETIMEOFFSET – timezone aware/preserved datetime DATETIME2 – like DATETIME, but with variable precision and large date range GEOMETRY – “flat earth” spatial … Continue reading

Posted in SQL | Leave a comment

Saving changes is not permitted – A common error in SQL server management studio

Many times i came across with the error “Saving changes is not permitted” which doesn’t allow you to save the changes we applied on tables.To change this option, on the Tools menu, click Options, expand Designers, and then click Table … Continue reading

Posted in SQL | Leave a comment

WHY MVC & EF

MVC Seperation of concerns. Different aspects of the application can be divided into Model, View and Controller. 1) SEO friendly URL by design 2) Clean View Markup (no additional HTML emitted)3) Faster than traditional ASP.NET (by default because of lack … Continue reading

Posted in MVC | 1 Comment

Blog for database related issues (from one of the experienced and practical techno guy)

Blog for database related issues (from one of the experienced and practical techno guy)

Continue reading

Posted in SQL | Leave a comment

Razor Syntax Intellisense issue with Visual Studio 2010

Here is some solutions if you are facing Intellisense issue of Razor Syntax in visual studio 2010. 1) Install/Repair “ASP.NET Web Pages with Razor Syntax” from here 2) Add below tag under <appSettings> section of  your web.config file. For MVC4 <add key=”webpages:Version” … Continue reading

Posted in MVC | Leave a comment

Installing MVC3 after MVC4 installation

Recently, I came across one issue during  installation of MVC3 in my machine. As per new project requirement, I have to work in MVC4 RC. Due to some issue, I was not able to install visual studio 2010 service pack 1 … Continue reading

Posted in MVC | 5 Comments