Category: MVC .NET

PostSharp AssemblyLoadException - Piotr Łuksza 0

404 Not Found Error when using IIS (7.5)

While deploying my mvc5 application on Windows server 2008 r2, I had an annoying 404 error. The solution was re-register ASP.NET with aspnet_regiis -i with whe command prompt: c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i Works like a charm!

first 0


Few months ago I was preparing to 70-486 MVC exam and i found great issue of exception handling in Exam ref Book and decided to create this note. Introduction First chance exception is debugging concept to handle exceptions before they have...

filesystem 0

FileSystemWatcher with ASP .NET MVC 4

One day I had very nice task to do. My Mvc app had to process ZIP pack, which was provided to special folder by cilent. The file was containing some important files, but this does not really matter. When the file appears, it...

custom 0

Custom action filter attributes in request logging

MVC .NET provides abstract class ActionFilterAttribute with virtual methods: OnActionExecuting Called before the action is called. It gives you the opportunity to look at information within the HttpContext and make decisions about whether the process should continue to be processed....