Tag: 'asp.net core'

Health Checks in Your OpenAPI Specs
Health Checks in Your OpenAPI Specs
June 17, 2024

Adding health checks to your ASP.NET Core projects is simple and easy, but how do you get them exposed in your OpenAPI specification? Let me show you how!

Minimal APIs Nuget Packages
Minimal APIs Nuget Packages
April 21, 2024

I've been looking at my Nuget packages and they're kinda a mess. Not justthe packages, but the naming and branding.

Vite-Powered SPAs in ASP.NET Core Projects
Vite-Powered SPAs in ASP.NET Core Projects
January 18, 2023

If you've heard me talk about Vite in the past (and so commonly mispronouce it), you know I am a fan. With many Vue, React and SvelteKit applications are moving to Vite, I've been investigating how to integrate it for development and production into ASP.NET Core applications. Let's see what I found out.

More on .NET 7 user-jwts Tool
More on .NET 7 user-jwts Tool
January 10, 2023

I recently released a Coding Short video and a blog post about the new JWT Tooling in .NET 7. It was received well, but I didn't dig into some of the real details of what is happening.

New Video: Coding Shorts - Output Caching in ASP.NET Core 7
New Video: Coding Shorts - Output Caching in ASP.NET Core 7
August 10, 2022

In continuing my discussion of middleware in my Coding Shorts videos, I have a new one that talks about a change to .NET 7 that brings back Output Caching.

New Video: Coding Shorts - Response Caching in ASP.NET Core
New Video: Coding Shorts - Response Caching in ASP.NET Core
July 27, 2022

After my recent video about How ASP.NET Core Middleware Works, I'm continuing to plow through some important pieces of middlware you might not be using.

Coding Shorts: ASP.NET Core Middleware Explained
Coding Shorts: ASP.NET Core Middleware Explained
July 17, 2022

As I continue to make my Coding Shorts videos, I decided to dedicate the next few episodes to ASP.NET Core middleware. I'm going to show off some common middleware that more projects should be using. But before I dive into that, I wanted to make sure everyone understood how middleware actually works.

DevDay Denmark Talk about gRPC in ASP.NET Core
DevDay Denmark Talk about gRPC in ASP.NET Core
May 17, 2022

just got out of the DevDay Denmark, a one-day event put together by the incomparable Tibi Covaci at the Copenhagen Microsoft office. Was a great set of talks.

Using Background Services in ASP.NET Core
Using Background Services in ASP.NET Core
May 4, 2022

I have a small link shortener that I run for myself. I built it mostly so I could update short links when an URL changes (which bitly didn't let me do). It's been running for a few months and I'm really happy with it. One of the things that I missed was tracking the usage of short links to see how they were being used.

Multiple Directories for Static Files in ASP.NET Core
Multiple Directories for Static Files in ASP.NET Core
April 25, 2022

My recent video elicited several interesting responses. But immediately, I noticed that using ASP.NET Core's cache busting (e.g. asp-append-version) wasn't working quite right for additional StaticFiles middleware. Evidently, I wasn't doing it correctly. Let's walk you through it.

SPAs in ASP.NET Core - Another Attempt
SPAs in ASP.NET Core - Another Attempt
April 20, 2022

After discussing this topic with a client, I realized that my old method of hosting SPAs in ASP.NET Core didn't handle resources correctly, so I dug in and came up with **yet another** technique. This one is the simpliest and the least intrusive and works better than most. Let me know what you think about it:

How to Access Query Strings in Minimal APIs
How to Access Query Strings in Minimal APIs
April 4, 2022

I love that this job allows me to learn new stuff every day. In this case, I was building a simple API to use for some upcoming <a href="https://shawnl.ink/psauthor">Pluralsight</a> courses. I wanted to use Minimal APIs to expose some data for an old dataset from <a href="https://data.fivethirtyeight.com">FiveThirtyEight</a> on Bechdel Tests for Films. While I was adding paging, I got confused.

I'm Starting to Live Stream Coding on Twitch!
I'm Starting to Live Stream Coding on Twitch!
August 9, 2021

I blame Joseph Guadagno. His post on how to setup a coding stream made it look too easy. So I'm diving in. I'm going to be live coding every Wednesday at 1pm (UTC-4).

Coding Shorts: Changes to Coming to Startup in .NET 6
Coding Shorts: Changes to Coming to Startup in .NET 6
August 4, 2021

.NET 6 Preview 6 is here. One of the big changes I'm looking forward to is how startup is changing. With this change, comes "Minimal APIs" too. While getting rid of the Startup class is a welcome change, I'm a little less excited about how Minimal APIs might be over-used.

I Was Wrong - Hosting SPAs in ASP.NET Core
I Was Wrong - Hosting SPAs in ASP.NET Core
February 15, 2021

If you've seen my projects or courses over the last few years, I had been advocating for using NPM for client-side libraries and SPAs at the same time. This caused the need to merge generated packages.json files. This added to the complexity. In addition, to handle the client-side libraries with NPM, you needed a way to both read the node_modules folder during development. This was handled with some middle-ware created by the late, great @OdeToCode (K. Scott Allen).

Updating My Projects to .NET 5
Updating My Projects to .NET 5
November 12, 2020

I hope you're watching the .NET Conf happening this week. If you have, you know that .NET 5 was finally released. This version isn't a long-term support (LTS) version, but that doesn't mean that many people will be using it in production...at least I will be.

Hosting Vue in ASP.NET Core: A Different Take
Hosting Vue in ASP.NET Core: A Different Take
September 13, 2020

In the several years that I've been developing and teaching Vue, I've tried a lot of different ways to make ASP.NET Core and Vue play nice with each other. One of the strategies that I've seen employed (especially with Angular and React) is the Spa Framework Extensions out of Microsoft. Because Vue didn't work out of the box (or have a template) I dismissed this approach for a long time. Now that the platform has matured and there is an open source extension for Vue,

gRPC Talk at netPonto
gRPC Talk at netPonto
July 9, 2020

I had great fun today talking with the netPonto User Group on Zoom. It was a fun group who had great questions about gRPC.

API Versioning Talk from dotnetsheff
API Versioning Talk from dotnetsheff
June 10, 2020

Another of my talks that were scheduled after offering my speaking skills on Twitter, I got to talk to a great group of developers in Sheffield England. I did a quick talk on using the Microsoft API Versioning system to version your APIs.

NDC Porto gRPC Talk
NDC Porto gRPC Talk
April 23, 2020

Thanks everyone who attended my talk on gRPC at today's NDC Porto virtual event. You had such great questions. I appreciate all the interaction!

ASP.NET Core in Azure App Services' Docker Images - Part 1
ASP.NET Core in Azure App Services' Docker Images - Part 1
January 27, 2020

I've been using Azure App Services (e.g. WebApps) for a few years now. I've been mostly happy with the result. Though I've had some trouble with the way that the App Service environment works from time to time (mostly with the version of .NET Core that is running).

Using FluentValidation in ASP.NET Core
Using FluentValidation in ASP.NET Core
November 18, 2019

I'm working on an example to explore some more complex modeling in EF (for SQL and NoSQL) but that's not ready so I thought I'd use it as a bed for some Validation testing I'm doing. The result is some exploration of the FluentValidation project that I haven't had time to dig into until now.

Endpoint Routing in ASP.NET Core 3.0
Endpoint Routing in ASP.NET Core 3.0
September 9, 2019

Endpoint Routing was introduced in ASP.NET Core 2.2 but has been made a first class citizen of ASP.NET Core in 3.0. While you're old projects will continue to work without it, upgrading to Endpoint Routing will improve your applications.

My First Look at ASP.NET Core 3.0
My First Look at ASP.NET Core 3.0
August 19, 2019

I'm finally getting around to looking at updating my examples and courses to 3.0. This post is based on .NET Core Preview 8 so this might change in the future.

Developing with Docker and ASP.NET Core
Developing with Docker and ASP.NET Core
August 12, 2019

If you've viewed my new &quot;Designing RESTful Web APIs&quot; course on Pluralsight, you've already encountered my small API that I use as an exammple. While the course is platform agnostic, i'll admit that I built it with ASP.NET Core (2.2).

What's New in ASP.NET Core 3 Preview 6
What's New in ASP.NET Core 3 Preview 6
June 16, 2019

ASP.NET Core 3 seems to be taking a similar tact to version 1 as it is adding a lot of functionality and phasing it in with different previews. While a lot of the articles seem to be focusing on the non-ASP.NET features (e.g. WPF, WinForms, etc.), I thought it would be nice to let those of you who are ASP.NET devs know what is in Preview 6 just for you.

Should I Be Using the ASP.NET Core SPA Templates?
Should I Be Using the ASP.NET Core SPA Templates?
April 28, 2019

I've been writing demos for Vue, Angular, and React for my SignalR micro-courses over on my Wilder Minds site. For Angular and React, I started out with the the SPA templates, but I found them confusing and hard to do a minimal example.

Using Vue CLI Inside an ASP.NET Core Project
Using Vue CLI Inside an ASP.NET Core Project
April 8, 2019

As many of my readers already know, I've become enamoured with Vue.js. Because of this, I've been using it more and more on projects.

SignalR Micro Course
SignalR Micro Course
March 22, 2019

At my training site (Wilder Minds Training), I'm working on a new kind of course for me. I'm calling them Micro-Courses.

My ASP.NET Core and Vue.js Workshop in Atlanta
My ASP.NET Core and Vue.js Workshop in Atlanta
November 28, 2018

After spending most of my time creating online courses, I realized I missed the gratification that I get from face-to-face training. I've decided to do 3-4 workshops a year.

EntityFrameworkCore Logging in ASP.NET Core
EntityFrameworkCore Logging in ASP.NET Core
November 7, 2018

I was reading my newest issue of MSDN Magazine and came across Julie Lerman's great article on how to configure Logging in Entity Framework Core. While this is great information, it only covered logging Entity Framework Core from a non-ASP.NET Core project so I figured I'd explain how to do it in ASP.NET Core.

LinkGenerator in ASP.NET Core 2.2 (Updated)
LinkGenerator in ASP.NET Core 2.2 (Updated)
October 15, 2018

As ASP.NET Core 2.2 is now in preview, i've been looking at some of the early features for an update to one of my Pluralsight courses. ASP.NET Core 2.2 includes a number of new features, but this is a feature I really like.

Techorama Netherlands Wrap Up
Techorama Netherlands Wrap Up
October 2, 2018

Finally heading home from about a month of conferences! I can't wait to get back to my own bed, but in the mean time I've had a great time sharing talks with a lot of European developers!

.NET Developer Days Poland Wrap-up
.NET Developer Days Poland Wrap-up
September 19, 2018

Had a great week here in Warsaw! Got to see some great sights and great developers!

Intellisense in ASP.NET Core Projects That Use NPM?
Intellisense in ASP.NET Core Projects That Use NPM?
September 8, 2018

I've been advocating using NPM for a client-side package manager in the last few months since Bower support has been depreciated. And while this works pretty well (using Scott Allen's UseNodeModules middlware) to allow you to just point at the NPM folder.

Music City Code 2018
Music City Code 2018
June 2, 2018

Just got home from Music City Code conference had a great time catching up with attendees and other speakers. If you haven't made it to this great Nashville event before, plan for next year. It's well worth it.

Vue and ASP.NET Core - A New Course
Vue and ASP.NET Core - A New Course
May 20, 2018

In case you haven't been following on Twitter, you might not know that I've been working on a Vue course for a couple of months now. This particular course is now available as an Early Access model I'm trying out.

Beyond Bower Webcast
Beyond Bower Webcast
May 1, 2018

Thanks to everyone who came to my webcast today! As many of you know, Bower is depreciated so I've been looking at the different ways to move to other solutions.

Building a .NET Core Configuration Source
Building a .NET Core Configuration Source
April 15, 2018

As I've been teaching ASP.NET Core for a while now, some things I've been saying I've taken on faith. One of these was that building a Configuration Source (a provider that can read configuration and feed it into the configuration system) is fairly easy.

Using JwtBearer Authentication in an API-only ASP.NET Core Project
Using JwtBearer Authentication in an API-only ASP.NET Core Project
April 10, 2018

In my Pluralsight courses1 on ASP.NET Core, I show how to use JWT Tokens to secure your API. In building a new example for my upcoming Vue.js course, I decided to only use JWT (not cookies and JWT like many of my examples are).

Using UseStaticFiles with NPM Client Dependencies - Talk Me Out of It
Using UseStaticFiles with NPM Client Dependencies - Talk Me Out of It
March 28, 2018

Ok, please tell me how stupid this is. It's apt to be pretty stupid but I have a point to it. I'm trying to separate the ideas of prototyping quickly from preparing for production.

ASP.NET Core in Charlotte
ASP.NET Core in Charlotte
March 11, 2018

I'm getting around to this a little late, but late last month I had a great time presenting in Charlotte's Enterprise Developer's Guild. I showed them how ASP.NET Core 2 works.

Using Services in ASP.NET Core Razor Pages
Using Services in ASP.NET Core Razor Pages
February 8, 2018

I feel like the job of software developer in the last 20 years has been to decouple. Whether it's dependency injection or building modular systems, or even the new trend of micro-services; coupling has been the killer of everything good in software development (maybe).

New Day for Wilder Minds Training
New Day for Wilder Minds Training
January 30, 2018

As many of you know, I've been making courses for Pluralsight for a long time now. I think my first course was released in 2011.

New ASP.NET Core 2 Workshop in Atlanta
New ASP.NET Core 2 Workshop in Atlanta
January 22, 2018

I'm getting back into face-to-face training. And I'm starting with a new workshop on ASP.NET Core 2 and Angular 5. If you're in Atlanta or can get here, I'll be doing a three-day workshop from May 16-18th this year.

Re-thinking Running Migrations and Seeding in ASP.NET Core 2.0
Re-thinking Running Migrations and Seeding in ASP.NET Core 2.0
January 10, 2018

Back in ASP.NET 4, I really liked the way that it supported running migrations and seeding of the database for you. But in ASP.NET Core and EF Core, that hasn't come to the table yet.

New Year, New Skills: ASP.NET Core 2.0 and Angular Course
New Year, New Skills: ASP.NET Core 2.0 and Angular Course
January 2, 2018

Nothing starts a new year like a new skill or two. A couple of months ago I released a new Pluralsight course on building a website using ASP.NET Core 2.0 and Angular.

End of the Year Review
End of the Year Review
December 26, 2017

With the New Year coming, I thought I'd look back at the last year in my life. Warning this is going to be technical and personal, that way I can turn 50% of the people off with every sentence...just a different set of people with every paragraph ; )

Reverse Engineering Existing Databases in Entity Framework Core 2
Reverse Engineering Existing Databases in Entity Framework Core 2
December 20, 2017

In my ASP.NET Core 2.0 Pluralsight course, I specifically teach how to build DbContext classes and the POCO classes that go with them. But I've been getting many questions about how to work with existing databases, so I thought I'd explain it in a blog post.

ASP.NET Core 2.0 and the End of Bower
ASP.NET Core 2.0 and the End of Bower
November 19, 2017

Bower is still being maintained, but they're recommending that people move their projects to Yarn and Webpack. As you may not know, I'm on a sort of campaign to avoid the complexity of something like Webpack until you really need it.

Using Azure Storage in ASP.NET Core
Using Azure Storage in ASP.NET Core
November 8, 2017

This blog has existed for 15 years now and I've moved it from server to server, service to service, in many forms over the years. As I moved servers, one of my biggest pains was copying all the images and downloads from server to server.

Learning Web Development with Pluralsight
Learning Web Development with Pluralsight
November 4, 2017

As many of you know, I'm a Pluralsight author and I've been writing courses for the site for a long time now. I have over twenty courses to my name. While my ASP.NET Core courses get a lot of attention, I've been trying to help people get started in general web development through my courses.

Using Azure Storage in ASP.NET Core
Using Azure Storage in ASP.NET Core
October 19, 2017

This blog has existed for 15 years now and I've moved it from server to server, service to service, in many forms over the years. As I moved servers, one of my biggest pains was copying all the images and downloads from server to server.

Two AuthorizationSchemes in ASP.NET Core 2
Two AuthorizationSchemes in ASP.NET Core 2
August 19, 2017

When ASP.NET Core 2 shipped the early previews, I knew one large change was going to be the Identity subsystem. The Identity for ASP.NET Core 1 worked ok, but the setup was very confusing with identical configuration is more than one place.

ASP.NET Core 2.0 Released
ASP.NET Core 2.0 Released
August 14, 2017

Scenic City Summit 2017
Scenic City Summit 2017
July 29, 2017

Just got back from Chattanooga, TN for Scenic City Summit. I got to do two talks there and had some great audiences and questions.

My Talk at Birmingham .NET User Meetup
My Talk at Birmingham .NET User Meetup
July 19, 2017

I had the opportunity to present ASP.NET Core 2.0 to a great group in Birmingham, AL tonight. The attendees were almost as good as the BBQ!

ASP.NET Core 2   VS2017   Angular-CLI?
ASP.NET Core 2 VS2017 Angular-CLI?
July 10, 2017

Program.cs in ASP.NET Core 2.0
Program.cs in ASP.NET Core 2.0
July 6, 2017

I am sure that many people like me are digging into ASP.NET Core 2.0 and curious about what has been changed. I’m going to start with the very start of your ASP.NET Core project, the program.cs.

Using VS Code and ASP.NET Core?
Using VS Code and ASP.NET Core?
June 4, 2017

Techorama 2017
Techorama 2017
June 3, 2017

Wroc# Wrap-Up
Wroc# Wrap-Up
March 5, 2017

The great organizers of Wrocsharp invited us to come to Poland and present at an unusual conference. I had a great time and everyone was just lovely to me and my wife!

ASP.NET Core Snippets for Visual Studio Code
ASP.NET Core Snippets for Visual Studio Code
February 14, 2017

Updating My Blog to Visual Studio 2017 and .csproj
Updating My Blog to Visual Studio 2017 and .csproj
February 11, 2017

Now that the ASP.NET Core tooling changes are finally here, I decided to update my blog to the new bits. Goodbye project.json and hello .csproj.

New Course on Building an API with ASP.NET Core
New Course on Building an API with ASP.NET Core
February 7, 2017

Are you new to ASP.NET Core? Maybe you’re building an API for your SPA, mobile app, or just your web app. I recently released a new Pluralsight course that can help you.

Updating WilderBlog to ASPNETCore 1.1
Updating WilderBlog to ASPNETCore 1.1
January 11, 2017

I upgraded my WilderBlog project to ASP.NET Core 1.1 today. I had planned on writing a big blog post about how to accomplish it, but I was surprised instead by how uneventful the process was.

Boston Code Camp 2016
Boston Code Camp 2016
November 20, 2016

I had the good fortune of being picked to speak at the Boston Code Camp for their winter event. As some of you know I used to live in Boston and it was a fun few days of reminicence.

Testing SSL in ASP.NET Core
Testing SSL in ASP.NET Core
October 26, 2016

When building my ASP.NET Core apps, I usually enable the RequireSSL filter in production environments. But I’ve never went through getting it to work on my dev box as I thought it was harder than it actually was.

What I Learned Building with ASP.NET Core: Part 1 - Routing
What I Learned Building with ASP.NET Core: Part 1 - Routing
September 5, 2016

I’ve been digging into ASP.NET Core for quite a while now (from the early betas through the current release). Recently I re-wrote the Atlanta Code Camp website using ASP.NET Core.

ASP.NET Core Dependency Injection
ASP.NET Core Dependency Injection
August 7, 2016

I’ve been building some ASP.NET Core apps as of late and had to dig into how Dependency Injection works there. After talking with Julie Lerman a bit on Twitter about it, I realized that there might be some confusing things about how it works in ASP.NET Core, so I’m hoping I can add some clarity in this post.

NDC Sydney was Awesome!
NDC Sydney was Awesome!
August 7, 2016

We just left Sydney after a great few days of the NDC Sydney conference. Saw some very cool talks about ASP.NET Core and Angular2!

My ASP.NET Core Course Has Been Updated to RTM
My ASP.NET Core Course Has Been Updated to RTM
July 22, 2016

I’m really excited to announce that my popular Pluralsight course on ASP.NET Core has been updated to RTM. It’s been a long slog to update and I apologize for the delay but it’s ready now.

ASP.NET Core 1.0 Released!
ASP.NET Core 1.0 Released!
June 27, 2016

This day has been a long time coming but I want to congratulate the team at Microsoft for delivering the first version of ASP.NET Core! I’m very excited to start working with the bits on real projects.

Converting ASP.NET Core 1.0 RC2 to RTM Bits
Converting ASP.NET Core 1.0 RC2 to RTM Bits
June 27, 2016

If you’re like me, you’ve changed your projects from RC1 to RC2 only to find out that the RTM was coming quickly. Well we are here so we need some steps to convert projects.

Thanks for the Great Road Trip!
Thanks for the Great Road Trip!
June 25, 2016

We’re home. It’s a fantastic feeling, but we had a great time. I wanted to take some time to thank all the great attendees, guests and helpers that made this a great trip. We got some great podcasts and hopefully encouraged a lot of people to try out ASP.NET Core!

Converting an ASP.NET Core RC1 Project to RC2
Converting an ASP.NET Core RC1 Project to RC2
May 17, 2016

With the release of ASP.NET Core RC2, Microsoft hit a major milestone. But this change isn’t a trivial one. It’s a big change.

Getting Ready for ASP.NET Core RC2
Getting Ready for ASP.NET Core RC2
May 13, 2016

I’m starting to play with the Preview of RC2 (nightly builds). It’s not time to do it for most people, but I’m trying to prepare for the update to my ASP.NET Core RC1 course on Pluralsight.

The Future of project.json in ASP.NET Core
The Future of project.json in ASP.NET Core
May 12, 2016

If you’re not paying attention to Twitter, the ASP.NET Standup or the Github repositories, you might be missing a big change coming to ASP.NET Core. Now is time to add your opinion so that Microsoft can make the right move.

Writing API Controllers in ASP.NET MVC 6
Writing API Controllers in ASP.NET MVC 6
May 10, 2016

Before ASP.NET Core, our world was split between ASP.NET MVC and ASP.NET Web API. In ASP.NET Core that changes to a single model in ASP.NET MVC 6 for handling requests, whether they end up returning data or views.

On the Road Again...
On the Road Again...
May 6, 2016

The Hello World Road Trip part two has started. Me and the missus headed out of Atlanta to Belgium for our first stop.

Deploying ASP.NET Core RC1 to Azure App Services
Deploying ASP.NET Core RC1 to Azure App Services
April 29, 2016

As you can see, I recently updated this blog. I wrote the new blog using ASP.NET Core RC1 (as related technologies) so when time came to deploy it, I had some issues.

Implementing an ASP.NET Core RC1 Logging Provider
Implementing an ASP.NET Core RC1 Logging Provider
April 22, 2016

I recently added a logging provider to my open source project (WilderBlog). I know I shouldn’t have implemented a provider myself, but I wanted to see how the sausage was made.

Using Cache in ASP.NET Core 1.0 RC1
Using Cache in ASP.NET Core 1.0 RC1
April 14, 2016

Welcome to the New Wildermuth.com
Welcome to the New Wildermuth.com
April 14, 2016

A while back, I decided that this blog deserved a clean coat of paint and since I’m digging into ASP.NET Core, it was logical to re-write it. I wanted more than just to change the look, I wanted to make some real changes to the code and finally open source the code too!

Content Negotiation in ASP.NET Core
Content Negotiation in ASP.NET Core
March 16, 2016

As you might know, in ASP.NET Core, the MVC6 stack now includes the Web API functionality. Having a single stack has advantages and I’m happy they’ve converged the two stacks.

Hello World Road Trip - So Far
Hello World Road Trip - So Far
March 7, 2016

We’re in San Francisco today and I thought it would be a good time to write a quick update to the trip. As some of you know, we’re currently in the middle of a twenty-five city trip and so far so good.

Atlanta Stop of the Hello World Road Trip
Atlanta Stop of the Hello World Road Trip
February 12, 2016

Had a great time kicking off the road trip in Atlanta. If you missed it, you’ll be able to hear Jim Wooley’s story soon on the Hello World Podcast!

Angular 2 and ASP.NET Core - A Webcast
Angular 2 and ASP.NET Core - A Webcast
February 1, 2016

I’ve been toying around with getting Angular 2 working in a simple ASP.NET Core app. There are some specific caveats with getting it to work in Microsoft’s new framework. Let me show you how.

Kicking Off The Road Trip!
Kicking Off The Road Trip!
January 22, 2016

It’s almost time to hit the road again and I am very excited! I’m headed across North America (with a dash of Europe) over twenty-five cities this spring.