Tagged: ASP.NET MVC

Updating to ASP.NET MVC 5 via NuGet 4

Updating to ASP.NET MVC 5 via NuGet

It appears the NuGet package for MVC 5 causes the web application to throw errors after updating. After updating, running the web application in debug mode causes the following error to be displayed: [A]System.Web.WebPages.Razor.Configuration.HostSection...

Cricket.Net: Part 3 – Unit Testing 2

Cricket.Net: Part 3 – Unit Testing

Summary Cricket.Net is a new open source project that I’ve started on Codeplex. It will be a web application that will be used for tracking software bugs. Cricket.Net will be written in C# using...

Unknown Exceptions 0

Unknown Exceptions

When I build an ASP.NET MVC application, I like to add my own error handler and serve up some nicer error messages to the users of the systems.  I allow for unknown exceptions to...

Setting up Structure Map 5

Setting up Structure Map

StructureMap If you haven’t heard about dependency injection, it is something you should definitely look into. It can save tons of time when coding. StructureMap is a dependency injection framework that makes it easy to...

ASP.NET MVC – Organizing your solution 1

ASP.NET MVC – Organizing your solution

Keeping your project files organized will help you navigate through your projects and help you find what you are looking for to make changes faster. Here are some tips that I use to help keep my...

Configuring IIS 6 and ASP.NET MVC 2

Configuring IIS 6 and ASP.NET MVC

By default, IIS 6 does not work with ASP.NET MVC and needs to be configured to use wild-card mapping to get MVC’s routing and clean URLs to work correctly. Unfortunately, IIS 6 does take...