Getting umbraco up and running in with MVC 4
In this post, I’ll look at getting Umbraco and MVC to play nice with each other in the same project. Installing Umbraco 4.8 First off create a Web Application project in Visual Studio. For this...
View ArticleSetting up a website that uses multiple projects
I’m looking at the possibility of restructuring some of our applications to unify them under one brand and one site. Currently our applications are on different sub-domains of our main domain and we’d...
View ArticleAuthenticating Across Virtual Directories
If you have an application set up in a way similar to the previous post, which is essentially a domain that contains a number of web application hosted in various virtual directories on the server. In...
View ArticleCode Review: Making a drop down list out of an enum
I’ve come across code like this a couple of times and it is rather odd: IEnumerable<CalendarViewEnum> _calendarViewEnums = Enum.GetValues(typeof(CalendarViewEnum)).Cast<CalendarViewEnum>();...
View ArticleChanging the default Assembly/Namespace on an MVC appliction
TL;DR When getting an error message like this: Compiler Error Message: CS0246: The type or namespace name 'UI' could not be found (are you missing a using directive or an assembly reference?) when...
View ArticleCustom routing to support multi-tenancy applications
The company I currently work for has many brands so they are looking for a website that can be restyled for each brand. They also want the styling information to be managed through an admin area rather...
View ArticleIDisposable objects with StructureMap and ASP.NET MVC 4
I’ve recently discovered a bit of an issue with running an IoC container with ASP.NET MVC’s IDependencyResolver. If you have a controller that has dependencies on things that implement IDisposable then...
View ArticleXander.PasswordValidator – In a Web Application
In the last post I introduced Xander.PasswordValidator and showed the basics of how to configure it. In this post I’m going to show the PasswordValidationAttribute and how you can use it in your...
View ArticleInjecting a Dependency into an IHttpModule with Unity
We’re starting a new project, and as part of that we want to get better at certain things. One is unit testing the things we didn’t last time around that were in hard-to-reach places. Pretty much most...
View ArticleRunning an ASP.NET MVC application on a fresh IIS8 install
IIS has ever increasing amounts of security, you can’t publish a basic ASP.NET MVC website anymore and expect IIS to host it without some additional work. The default config settings that the MVC uses...
View Article
More Pages to Explore .....