Contents tagged with ASP.NET MVC
-
Creating a windows container for a ASP.Net MVC 5 project
In this blog post I will show how we can run our ASP.Net ;VC 5 Web project in a Windows Container using docker-compose.
-
Fluent-API to add ActionFilters to Controllers – ASP.NET MVC Part 3
The latest source code for my Fluent-API to add Action Filters to Controllers is no available here. If you haven’t read about my test project, you can find the other posts here:
-
Fluent-API to add ActionFilters to Controllers – ASP.NET MVC Part 2
I’m working with my Fluent-API for adding Action Filters to Controllers and Action Methods. In my previous post, I created a new instance of each Action Filter and add it to an Action Method or Controller. Based on how the Action Filters are often implemented they don’t or shouldn’t keep any state, so in that case I don’t need to create a new instance of the same Action Filter with the same configuration for each Action Method I want to add it to. I also want to have an option to have a better overview of which Action Filter is added to which Controllers and Action Methods. I have added to methods, AddFilterToControllers and AddFilterToActions:
-
Fluent-API to add ActionFilters to Controller in ASP.NET MVC
Note: The name of the classes and the methods are just temporary and may change, I’m so bad when it comes to naming classes and methods. The source code is simple and haven’t done so much refactoring etc. Just wanted to see if I could get it to work, so please have that in mind.
-
Introduction to Templates in ASP.NET MVC 2 Screen cast
I have recorded some screen casts during the last week for Microsoft, one is was published today on Channel 9 (The Screen cast is in Swedish, I will eventually try to record screen casts also in English, but when that happens, I don’t now). You can found the screen cast here:
http://channel9.msdn.com/posts/MSDNSweden/Introduktion-till-Template-i-ASPNET-MVC-2/