UseAuthorization() was in the wrong place, really?

So about a day or so ago my blog started failing when navigating to individual blog posts, this was a full three week after my upgrade to .NET Core 3 so I was adequately surprised. After checking the logs this is what I found (important stuff bolded):2019-12-17 20:21:15.761 +00:00 [Error] Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware: An unhandled exception has occurred while executing the request.System.InvalidOperationException: Endpoint DasBlog.Web.Controllers.BlogPostController.Post (DasBlog.Web) contains authorization metadata, but a middleware was not found that supports authorization.Configure your application startup by adding app.UseAuthorization() inside the call to Configure(..) in the application startup code. The call to app.UseAuthorization() must appear ...

Looking back at Async

In my distant past I was involved in a lot of multi-threaded development. The basic idea was that while using an application, lets say a desktop Win Forms app, you may need to kick off a task that has to run in the background for an extended length ...

Opting in to runtime compilation for .NET 3

I upgraded DasBlog Core code base to .NET 3 several weeks ago, however, every time I would attempt a deploy to App Services it failed catastrophically with a series of HTTP 500 errors. The thing that I was not prepared for was that my self contained ...

Prepping for my first Ignite Conference

I have done a lot of public speaking over the years but nothing tech related and so when I was asked to submit a theater session for Ignite I had no idea what to expect. In fact my mind was all over the place thinking about what this task might look ...

Fixing the upstream url for a remote fork

I have been forking a few repos recently and noticing that get the latest updates from upstream repos has been failing. I have fixed every repo in much the same way but it always requires about 15 minutes of Googling to get there so hear are the ...

Why do you need storage for Snapshot Debugger?

If you have used Snapshot Debugger for Visual Studio or Time Travel Debugging (TTD) you will probably have noticed that you actually need a storage account in order to enable the feature. So the obvious question is what is that storage account being ...

.NET Core 3 App Services Rollout

One of the advantages of  PaaS solutions like Azure App Services is that you do not have encumber yourself with upgrading the OS or any component on that OS. However, that idea does fail somewhat when you are waiting for an upgrade to occur. Case in ...

<< Older Posts | Newer Posts >>