Category: MVC .NET


FileSystemWatcher with ASP .NET MVC 4

My MVC app had to process ZIP pack, which was provided to a special folder by external source. The file was containing some data which should be processed by my system. At the time the file appeared, the system should immediately start...


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....