Category Archives: ASP.NET Core 1.0

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

ASP.NET Core 1.0: Web API Automatic Documentation with Swagger and Swashbuckle

Synopsis: In this article I will help you with getting automatically generated and interactive documentation going for your ASP.NET Core Web API by using Swagger and Swashbuckle. As of December 23rd upgraded to latest version. We’ll touch the following subjects: … Continue reading

Posted in .NET programming, ASP.NET Core 1.0 | Tagged , , | 10 Comments

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

Static File Caching And Cache-busting In ASP.NET Core 1.0 MVC 6

Caching This is my English version of my original article in Dutch which can be found here. When developing web applications one of the things you will want to do first to improve performance is to cache static files [1] … Continue reading

Posted in ASP.NET Core 1.0 | Tagged | 2 Comments

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 , , | 6 Comments

ASP.NET Core 1.0’s DNX and MSTest

Intro DNX is .NET’s new cross platform Execution Environment that was developed next to ASP.NET core 1.0 (formerly known as ASP.NET 5)[1]. I came across multiple sources (here for instance [2]) that claimed you can’t write tests for code based … Continue reading

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