OdeToCode IC Logo

Two ASP.NET MVC 4 Courses

Tuesday, November 20, 2012

Now on Pluralsight:

The ASP.NET MVC 4 Fundamentals training course spends most of its time on new features for version 4 of the framework, including:

- Mobile display modes, display providers, and browser overriding

- Async programming with C# 5 and the async / await keywords

- The WebAPI

- Bundling and minification with the Web Optimization bits

The Building Applications with ASP.NET MVC 4 training course is a start to finish introduction to programming with ASP.NET MVC 4. Some of the demos in the 7+ hours of content include:

- Using controllers, action results, action filters and routing

- Razor views, partial views, and layout views

- Models, view models, data annotations, and validation

- Custom validation attributes and self-validating models

- Entity Framework 5 code-first programming

- Entity Framework migrations and seeding

- Security topics including mass assignment and cross site request forgeries

- Using JavaScript and jQuery to add paging, autocompletion, async form posts, and async searches

- Taking control of Simple Membership

- Using OAuth and OpenID

- Caching, localization, and diagnostics

- Error logging with ELMAH

- Unit testing with Visual Studio 2012

- Deploying to IIS

- Deploying to a Microsoft Windows Azure web site


Gravatar Steve French Tuesday, November 20, 2012
I've seen them both now and I have learned a ton, thank you for the time you put into the videos.
Gravatar Viacheslav Tuesday, November 20, 2012
Your podcast is awesome! I love it, really!!! Sometimes it is easy to develop real production enterprise applications just with steps that you provide. It is worth time to spent for prototype with all best practices and new features and refactoring it when real requirements are ready for project.
Gravatar ccliu Tuesday, November 20, 2012
In the middle of watching, great videos, learn a lot!
Thank you!
Gravatar Saturday, November 24, 2012
I've worked through your MVC 3 and 4 fundamentals and I'm now watching the building applications course, I've learned so much and you have contributed greatly to landing my first job as a junior MVC developer - thanks millions!
Gravatar Tuesday, November 27, 2012
Thanks for this great course. One question in module "Mass assignment", you demonstrate a method to prevent someone from modifying the "ReviewerName" by using Bind and hiding this field on the view. When you click on save, it removes the ReviewerName (in the example "Scott"), try it and will see it empty. Any input?
Gravatar Tuesday, November 27, 2012
Re: mass assignment - yes, the typical approach is that you manually populate that property using information from the database. Ultimately in app for the video you'd probably want registered users commenting, so you'd populate the property using User.Identity. Hope that makes sense.
Gravatar Christian Scott Friday, November 30, 2012
Gravatar M. Sajjad Monday, December 3, 2012
I think you are the BEST mentor of asp.net mvc in the world. I've watched both courses of MVC on pluralsight (simple great) . Can u please arrange courses on specifically related to Domain Driven Development in MVC 4 (its best practices so far). In addition, how to apply MVC 4 in an enterprise applications (tips and tricks related to application architecture). Thanks a lot in advance.
Gravatar terry holland Monday, December 31, 2012
Hi Scott Im running through your ASP.Net MVC4 Fundamentals course on plural sight. Im not sure if Ive missed something but having got to Showing Data in Part 1, I am expecting to see a list of departments but Im getting none. My database has been created and there is data in the Department table corresponding to what I have put in the Seed method in the Migrations.Configuration class. To debug I have set a breakpoint on the line var allDepartments = _db.Departments; in the Index() method of the HomeController. When I hit this breakpoint I run a sql trace and from what I can see the is no call to the database. The only thing I have done differently in my app is to modify the name an makeup of the sql connection string to point to a db on an existing server I'd appreciate any help you can give me on this. Thanks
Gravatar terry holland Monday, December 31, 2012
Ive just noticed that if I revert back to the default connection then things work fine. This led me to what I think was the cause of the problem when I use my own connection string. I had failed to add the following in the Infrastucture.DepartmentDB class public DepartmentDB() : base("eManager_DATA") { }
Gravatar Nazeem Thursday, January 3, 2013
Course : Building Applications with ASP.NET MVC 4 Part : Working with Data (Part 2) - Editing a Review Question: When you are at http://localhost:61373/Reviews/Edit/3, clicking on "Back to List", get an error message, which by changing @Html.ActionLink("Back to List", "Index") to @Html.ActionLink("Back to List", "Index", new { id = Model.RestaurantId }) resolve this one, but on http://localhost:61373/Reviews/Create?restaurantId=2, when clicking on "Bacl to List", get this error message "Server Error in '/' Application. -------------------------------------------------------------------------------- The parameters dictionary contains a null entry for parameter 'restaurantId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Index(Int32)' in 'OdeToFood.Controllers.ReviewsController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters ". So how do we fix this one?
Comments are closed.