- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.
-
Defining custom logging messages with LoggerMessage.Define in ASP.NET Core
In this post I take a look at one of the helper methods in the ASP.NET Core logging library, and how you can use it to efficiently log messages in your app…
-
Using ImageSharp to resize images in ASP.NET Core - Part 4: saving to disk
In this post I show a different approach to caching images. We write the file to disk in the wwwroot folder and serve the file with the StaticFileMiddleware…
-
The Microsoft.AspNetCore.All metapackage is huge, and that's awesome, thanks to the .NET Core runtime store
The ASP.NET Core 2.0 preview 1 metapackage, Microsoft.AspNetCore.All, includes every package released as part of ASP.NET Core. This post looks at why.…
-
How to use multiple hosting environments on the same machine in ASP.NET Core
This post shows how to use multiple hosting environments for different apps on a machine, by using environment variables and the UseEnvironment() method.…
-
Using Razor Pages to simplify basic actions in ASP.NET Core 2.0 preview 1
One of the new features added to ASP.NET Core in version 2.0 preview 1 is Razor Pages This post dips a toe into how and when you might want to use them.…
-
Exploring Program.cs, Startup.cs and CreateDefaultBuilder in ASP.NET Core 2 preview 1
In this post, I'll take a look at how Program.cs and Startup.cs have changed in ASP.NET Core 2.0 preview 1 and introduce the new CreateDefaultBuilder method.…