Search code examples
asp.net-mvcloggingpipeline

log mvc pipeline


I'm using asp.net MVC3 and I need to save in a database all the things that user make in my application (where is each click, IP, date, request, client info). where during this processing I can replace the default behavior or inject my own logic?

I noticed that there are ASP.NET MVC extensibility points, I don't know where I have all the data that I need to save in datebase.


Solution

  • You can use MVC Action Filter Types. references in http://msdn.microsoft.com/en-us/library/dd410209(v=vs.90).aspx