Tips & Tricks on ASP.NET MVC, Ajax, jQuery, Entity Framework

Entries Tagged ‘ASP.NET MVC’

ASP.NET MVC3 Dynamically added form fields model binding

Adding  new Item to a list of items, inline is a very nice feature you can provide to your user. This posts shows 2 different ways to do this in ASP.NET MVC3 and how Modelbinding handles that. MVC3 dynamically added form fields model binding We are going to create a new page where it lists [...]

ASP.NET MVC How to get Model Error details in Controller Action Method When ModelValidation fails

When Working with MVC Model Validations, You may come across a situation where you think you filled all the Required Items in the Form and submitted, but still the ModelState.IsValid property is returning false. I came across this scenario once when i was inherting  a ViewModel from another ViewModel. How do we know what is [...]

Starting Entity Framework Codefirst Approach Part- 1

Here is a small -quick-step -by-step  tutorial to get started with Entity Framework Codefirst  approach. I have included the sample project at the end of this post for reference. I created a new ASP.NET MVC3 Project using the New->Project Dialog. In Code First Approach, We create our Entities first by writing classes. Then Entity framework will [...]

How to get Add View/ Add Controller menus in Solution explorer when converting existing ASP.NET web for project to MVC

So you heard about (that wonderful and addictive) ASP.MET MVC and started thinking to jump into that by converting your existing ASP.NET web application to ASP.NET MVC ? There are plenty of tutorials available online to help you in that .Scott gives step by step instruction in this tutirial. I also followed this link to [...]