MVC Episodes

# 180 Handling System Errors in MVC

10/21/2010

Level: Intermediate

Author: Derik Whittaker

Tags: MVC ASP.NET

Views: (819) Watched: (2817)

In this episode we are going to take a look at how to perform error handling in Asp.Net MVC.

We will focus on how you can build your MVC application to be able to handle 404 (file not found) and 500 errors (internal server error).

# 177 Data Validation w/ MVC2

6/15/2010

Level: Intermediate

Author: Derik Whittaker

Tags: MVC

Views: (627) Watched: (2294)

In this episode we are going to take a look at how we can use the built-in features in MVC v2 to simplify data validation.

We will take a look at how we can use data annoations to validate both client side data submission (via javascript) and server side validation.

# 171 Exploring how to use List Binding in MVC2

4/22/2010

Level: Beginner

Author: Donn Felker

Tags: MVC

Views: (986) Watched: (2708)

In this episode we are going to explore how create an editable Lists of data in MVC 2.

We will show you how to create this list by using the enhanced binding features which are part of MVC 2. Having the ability to easily bind your model to your view will provide great flexibility and convince.

# 159 Working with Partials in Spark: Part 2

1/19/2010

Level: Intermediate

Author: Donn Felker

Tags: MVC

Views: (1009) Watched: (1835)

In this episode we are going to continue looking at how to use Partials within the Spark View Engine.

In this episode we will take a deeper look at partials and learn more about their _undocumented_ features. We will also be learning how partials will allow us to create clean, compartmentalized and well orgianized code.

# 157 Working with Partials in Spark: Part 1

1/7/2010

Level: Intermediate

Author: Donn Felker

Tags: MVC

Views: (842) Watched: (2144)

In this episode we are going to take a look at how to use Partials within the Spark View Engine.

We will be taking a first look at partials and learn how we can setup our application to use partials as well as how to use them in your application. We will also be learning how partials will allow us to create clean, compartmentalized and well orgianized code.

# 156 Learning how to use Named Content Areas w/ Spark

12/29/2009

Level: Intermediate

Author: Donn Felker

Tags: MVC

Views: (811) Watched: (1785)

In this episode we are going to take a look at the how to setup and use Named Content Areas w/ the Spark view Engine. Named Content areas allow for an easy and simple way to organize the content or structure of you website.

# 143 Performing Static Page Checking in MVC

9/24/2009

Level: Beginner

Author: Steven Andrews

Tags: MVC

Views: (1316) Watched: (1978)

In this episode we are going to take a look at how you can setup Static Type checking within your ASP.Net MVC web project. Having static checking is a great asset as it can reduce the chances of run time errors due to refactoring. Static checking will also allow the compiler to verify all your strongly typed objects are being called correctly.

# 136 Exploring NDJango: Forms and Extensions

8/18/2009

Level: Beginner

Author: Alex Pedenko

Tags: ASP.NET MVC

Views: (499) Watched: (1705)

In this second episode on NDJango view engine, we are gonig to continue converting the sample application we started last time. However, this time we are going to focus on creating forms, re-displaying data, and finally, creating our own NDjango tags without touching F#

--- Sponsor Information ---
ANTS Memory Profiler 5 out now. It’s a must have in your toolbox if you program in C# or VB.NET.
Download your free trial of ANTS Memory Profiler here.

# 131 Exploring NDjango: Setting up NDjango for usage

7/30/2009

Level: Beginner

Author: Alex Pedenko

Tags: ASP.NET MVC

Views: (1729) Watched: (1859)

In this episode we are going to start a new series on using the NDjango view engine. We will cover installing NDjango, integrating it with an existing asp.mvc project, and some basic syntax features.

--- Sponsor Information ---
ANTS Memory Profiler 5 out now. It’s a must have in your toolbox if you program in C# or VB.NET.
Download your free trial of ANTS Memory Profiler here.

# 121 Exploring how to use Looping Expressions w/ Spark

6/25/2009

Level: Intermediate

Author: Donn Felker

Tags: MVC ASP.NET

Views: (980) Watched: (1763)

In this episode we will continue taking a look at the Spark View engine.

We are going to take a look at the various different ways you can use Looping Expressions with the Spark View engine.

# 119 Exploring how to use Expressions w/ Spark

6/18/2009

Level: Intermediate

Author: Donn Felker

Tags: MVC

Views: (801) Watched: (2261)

In this episode we will continue taking a look at the Spark View engine.

We are going to take a look at the various different ways you can use Expressions with the Spark View engine. We are going to review simply scenarios such as math based expressions and move up to looking at nested if-then-else statements.

# 117 Exploring how to use Global Variables and ViewData (Strongly typed and weak typed) with Spark

6/11/2009

Level: Intermediate

Author: Donn Felker

Tags: MVC

Views: (2318) Watched: (2597)

In this episode we will continue taking a look at the Spark View engine.

In this episode we will focus our attention on how to utilized both global variables and local variables. We will also take a look at how to create and use both strongly typed viewdata and weakly typed view data.

# 115 Learning how to add IntelliSense for the Spark View Engine

6/4/2009

Level: Intermediate

Author: Donn Felker

Tags: MVC

Views: (1218) Watched: (3391)

In this episode we are going to continue our look at how to use the Spark View Engine

We will be focusing on how to add intellisense to the Visual Studio IDE to aid in your development experiance.

# 113 Saying Hello to the Spark View Engine

5/27/2009

Level: Intermediate

Author: Donn Felker

Tags: MVC

Views: (808) Watched: (4587)

In this episode we are going to start a series where we take an indepth look at the Spark View Engine.

Spark is a view engine for Asp.Net Mvc and Castle Project MonoRail frameworks. The idea is to allow the html to dominate the flow and the code to fit seamlessly.

# 107 Testing MVC Routes

5/5/2009

Level: Intermediate

Author: Kyle Baley

Tags: TDD MVC

Views: (945) Watched: (2347)

In this episode we will take a look at how you can test your routes in an MVC application.

We willl start the process of creating new functionality for our application in this episode by showing how to create the tests for the routes first by using MvcContrib project. In the next episode we will continue creating our routes to make the tests pass.

# 102 Taking a look at how to modify the T4 templates used by Sharp Architecture

4/16/2009

Level: Intermediate

Author: Kyle Baley

Tags: MVC ASP.NET

Views: (697) Watched: (1905)

In this episode we will be taking a look at how you can modify the T4 templates which are used to change the default generation behavior of Sharp Architecture

# 97 Another look at Sharp Architecture: Validation, Design Decisions and Automapping

3/31/2009

Level: Intermediate

Author: Kyle Baley

Tags: ASP.NET MVC

Views: (803) Watched: (2606)

In this episode we will be taking a deeper look at the Sharp Archicture ASP.Net MVC Framework. We will explore the its validation, design decisions, and automapping features. This will set some background for later dimecasts on the framework.

# 87 Building a Nant Script -- Part 4: Running SQL Scripts w/ SqlCmd

2/24/2009

Level: Intermediate

Author: Derik Whittaker

Tags: ASP.NET MVC

Views: (833) Watched: (2150)

In this episode we will continue our series on how to create a build script using the NAnt build tool.

In this episode we will be building off our existing script to add the ability to run sql scripts using the SqlCmd tool.

# 86 Introduction to the Routing Engine in the ASP.Net Framework

2/15/2009

Level: Beginner

Author: Derik Whittaker

Tags: ASP.NET MVC

Views: (489) Watched: (2052)

In this episode we will take a look introductionary look at how to use the Routing engine which is part of the Asp.Net MVC framework.

We will start off by showing how the various parts of the routing commands are used while building routes. We will then take a look at how to create a simple route which can be used by your application.

# 80 Replacing the default view engine in MVC w/ Spark

1/26/2009

Level: Beginner

Author: Derik Whittaker

Tags: MVC ASP.NET

Views: (1035) Watched: (9436)

In this episode we will take a look at how you can easily swap out the default view engine within the MVC Framework.

Once we learn how simple it is to swap view engines we will take a intro look at how to use the Spark View engine.

# 76 How to add ReCaptcha to your MVC Web Site

1/6/2009

Level: Intermediate

Author: Derik Whittaker

Tags: ASP.NET MVC

Views: (774) Watched: (2690)

In this episode we will show you how to implement ReCaptcha within your MVC Web site. We will walk you though the various steps needed in order to create a simple and easy MVC solution.

# 75 Introdction to S#arp Architecture

1/6/2009

Level: Intermediate

Author: Kyle Baley

Tags: NHibernate ASP.NET MVC

Views: (989) Watched: (5212)

In this episode we will give you an introduction to the S#arp Architecture for the ASP.NET MVC Framework.

This is a solid architectural foundation for rapidly building maintainable web applications leveraging the ASP.NET MVC framework with NHibernate. The primary advantage to be sought in using any architectural framework is to decrease the code one has to write while increasing the quality of the end product

# 72 Learning the various ways to use UpdateModel in Asp.Net MVC

12/17/2008

Level: Intermediate

Author: Derik Whittaker

Tags: MVC ASP.NET

Views: (458) Watched: (3367)

In this episode we will take a look at at some of the various ways you can use the UpdateModel mechanism which is part of the ASP.Net MVC framework to update your data model from a form post.

We will take a look at how to use UpdateModel, TryUpdateModel and how to use an IBindable interface in conjuction with the UpdateModel. At each point we will take about the various different features that are part of this process in order to provide you a solid understanding of the process.

# 66 Taking a look at the various ways to implement Binding in Asp.Net MVC

11/24/2008

Level: Intermediate

Author: Derik Whittaker

Tags: ASP.NET MVC

Views: (451) Watched: (2394)

In this episode we will be taking a look at the various ways that you can perform model binding with Asp.Net MVC.

We will start off by looking at how to use binding to translate your form data into an object. We will then take a look at how to use the various veatures of the Bind Attribute to filter the data that is bound.

# 58 Leveraging the power of ActionName and AcceptVerbs in Asp.Net MVC

10/25/2008

Level: Intermediate

Author: Derik Whittaker

Tags: MVC ASP.NET

Views: (442) Watched: (2488)

In this episode you will learn how to leverage the power of a few key controller attributes that are part of the Asp.Net MVC framework.

We will show you how you can use ActionName and AcceptVerbs to simplify your life and make your controllers more robust.

# 55 Form Validation Simplified w/ Asp.Net MVC

10/13/2008

Level: Intermediate

Author: Derik Whittaker

Tags: ASP.NET MVC

Views: (788) Watched: (2535)

In this episode you will learn how to use the ASP.Net MVC framework to simplify your Form Validation needs.

We will show you how to use the ModelState model inside the MVC in order to communicate your errors between the controller and the view.

# 42 Adding IoC Support (w/StructureMap) to ASP.Net MVC

9/4/2008

Level: Beginner

Author: Derik Whittaker

Tags: MVC IoC StructureMap

Views: (653) Watched: (3615)

In this episode we take a look at how to setup an ASP.Net MVC website to use IoC for creating its controllers. We will learn how to replace the default ControllerFactory with our own implementation.

# 37 Exception handling with Action Filters in Asp.Net MVC

8/19/2008

Level: Intermediate

Author: Derik Whittaker

Tags: MVC

Views: (3178) Watched: (2200)

In this episode we take a look at how to handle exceptions with Action Filters in the ASP.Net MVC framework. We will create a custom Action Filter and have it perform our exception handling logic.

# 11 Preserving Routes for SEO using the MVC Routing Engine

6/13/2008

Level: Advanced

Author: Derik Whittaker

Tags: MVC

Views: (521) Watched: (4607)

In this episode we are going to take a look at how to use the Routing Engine that is part of the Asp.Net MVC framework to allow us to preserve old or dead routes in order to not break external links.

We will walk though create the new route, watching it hit our new controller action then finally testing the new route to ensure they both work.  By the end of the session we will have two valid routes that both render the same view