Category Archives: ASP.NET MVC

ASP.NET Core 1.0: View Components

Synopsis: Child Actions are not even supported anymore and Partial Views are less powerful. Meet ASP.NET Core 1.0’s View Components! Example project to accompany this article can be found here: https://github.com/DannyvanderKraan/ViewComponents Intro Child Actions often got you into trouble (if … Continue reading

Posted in .NET programming, ASP.NET Core 1.0, ASP.NET MVC | Tagged , , , | Leave a comment

Realworld example ASP.NET Core 1.0’s Middleware

Synopsis: HTTP Modules and HTTP Handlers are not used anymore with ASP.NET Core 1.0. But what if your web app relies on HTTP Modules/Handlers to function? Well, I had a web application that relied on HTTP Modules and a Handler. … Continue reading

Posted in .NET programming, ASP.NET Core 1.0, ASP.NET MVC, C#, C# 6.0, Dependency Injection, DNX | Tagged , , , , , | Leave a comment

ASP.NET Core 1.0: Goodbye HTML helpers and hello TagHelpers!

Synopsis: ASP.NET Core 1.0 [MVC 6] comes with a new exciting feature called TagHelpers. Read on to see why I think we can kiss HTML helpers goodbye. Find the accompanying sourcecode on my GitHub [4]. Please note that MVC 6 … Continue reading

Posted in ASP.NET Core 1.0, ASP.NET MVC, DNX, Uncategorized | Tagged , , | 4 Comments

Losing session variables with ASP.NET.

I was working on my MVC4 application with C#.NET framework 4.0 and I couldn’t hold a variable in a session. Why not? Short answer: Never put a file you need to access from your web application in your ‘bin’ folder. … Continue reading

Posted in .NET programming, ASP.NET MVC | Tagged , , , | Leave a comment

ASP.NET MVC4, HTML5, JQuery, CSS3

Currently our company is making a major shift towards webdevelopment. We want to change our focus from all our major applications towards the internetZ (well… it’ll probably be intranets but that doesn’t have the same ring to it). So without … Continue reading

Posted in .NET programming, ASP.NET MVC | Tagged , , , | Leave a comment