***** If there is any type of built in MVC support for helping find these issues please let me know ***** Ok, this may be common sense to everyone else on the net and if so… Oh Well. Tonight I was working on the MVC3 rewrite of the Dimecasts.net website and after a bit of refactoring my search feature...
As I keep doing this on MVC projects, thought I may as well blog it, so the next time I need it I can find it myself :) To keep ASP.NET MVC controllers clean and organised, I find it much easier to split them so they handle only a single action each. This helps significantly with maintaining some semblance...
I needed to include a url in a confirmation email from my asp.net app. I am not sure whether it will be deployed to a virtual directory or its own site. Just getting the Authority from the Request will yield no virtual directory, so here’s what i came up with: const string action = " Login/Confirm...
This is a really quick post, mostly for myself so the next time I have this issue I can find the answer (yes, I often search my blog before google). The error “Cannot use a leading .. to exit above the top directory” can be thrown by ASP.NET when you use relative paths incorrectly. If you generate...
Although I mentioned briefly in the past some of the new features ASP.NET MVC features ReSharper 5 supports, I thought it would be a good idea to sum up the main ones in a single post and go into a little bit more detail on them. ASP.NET ReSharper ‘s support for ASP.NET is not restricted only to...