Posts

Showing posts from October, 2013

Multiple identity columns specified for table 'States'. Only one identity column per table is allowed

Image
This post addresses the error that we see when executing Update-Database command inside Package Manager Console. I am going to talk about two continuous error appears and fix is very simple, just read this blog.

Custom Code First Conventions - EF 6 New Feature

Image
In this blog post you will learn a new feature ‘Custom Code First Conventions’ introduced with Entity Framework 6. This is 'Code First' only improvement. EF 6 comes with number of cool new features and improvements, so I decided to write blog posts and cover some of the new features.

Entity Framework 6: New Features

In this blog post you will see the list of cool things available with Entity Framework 6. Entity Framework is Microsoft's recommended data access technology for new applications. EF team recently announced the release of EF6 and it is now available for download on NuGet . EF6 comes with number of features and performance improvements, I have listed some of them below and I will cover most of the cool things of EF6 in coming blog posts.

Area in MVC 5 with example - step by step

Image
In this post you will learn how to create Area in MVC 5, because creating Area in MVC 4 was quite different. In MVC 5 (Visual Studio 2013), Area option can be found under ‘Add Scaffold’ dialog. In this post, I will take you through step by step to setup and running Area in MVC 5. "Area in MVC 4" is available here.

Debugging MVC with Route Debugger Tool

Image
In this blog let's talk about a really cool tool for MVC developers ‘Route Debugger’. Sometimes a bug in your route can break application because it invokes either an incorrect controller or action. So, do not worry just install this tool in the application and it will make your route debugging easier like never before.

Category and Sub Category in single Drop Down List (DDL) in MVC

Image
In this article you will learn how to create a Drop Down List in MVC that can display States and its associated Districts in a single Drop Down List. You will learn this step by step.

Hands on ASP.NET GridView - eBook by me

Image
I would like to take this opportunity to let you know that C# Corner (MindCracker Community) have combined my 25 Articles on GridView series and published as an eBook with the title "Hands on ASP.NET GridView".

IIS Express immediately shutting down, hence web application stops running, on click 'Stop Debugging' in Visual Studio 2013 IDE

Image
I'm not sure why this change in 2013 IDE for web applications, it was completely different in Visual Studio 2012. In 2012 IDE, when we click on 'Stop Debugging', then IIS Express was continued running hence after any change in web application we just 'Build Solution' (Ctrl + Shift + B) and refresh the browser (specially Chrome). But now in Visual Studio 2013 things where little changed, when we click on 'Stop Debugging', then IIS Express stops running and hence web application also stops running. Let me tell you I didn't make any changes in settings J

Named Routes in MVC

Image
In this post you will learn what are ‘Named Routes’ and how to use them to generate URLs. I will explain this using problem and then solution approach.

Route Constraints in MVC

Image
In this post you will learn how to define ‘Route Constraints’ in MVC Application. Route Constraints allow us to apply a regular expression to a URL segment to restrict whether the route will match the request.

Getting Started with jQuery.tmpl (jQuery Templates) in MVC

Image
In this post you will learn how to use jQuery.tmpl (jQuery Template) JavaScript library in MVC for client side templating. I will take you through few easy steps to setup it and working.

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System