ASP.NET

Debug Azure Functions webhook callbacks with Dev Tunnels

Using Dev Tunnels to test your Azure Functions webhook callbacks is a breeze. If your systems contain any third-party integrations with services like SendGrid or Stripe, then you will likely want to receive webhook callbacks so you can be informed about what’s happening with your requests. The Azure Functions HTTP trigger is absolutely perfect for […]

Debug Azure Functions webhook callbacks with Dev Tunnels Read More »

, , , ,

Add DataAnnotations metadata to EF Core in a partial class

If you’re old like me, and can remember back to the old days of LINQ to SQL and early Entity Framework with .NET Framework, then you’ll likely remember using a Metadata class along with the MetadataType attribute on a partial class to add DataAnnotations to your models. This allowed you to use your entities as

Add DataAnnotations metadata to EF Core in a partial class Read More »

, , , , ,

Configure Serilog for Logging in Azure Functions

Even though the built-in logging in .NET Core is pretty good these days, Serilog takes it to the next level, making complex logging exceptionally easy. Serilog allows us to not only log the output of the functions to the Console but also write to a Log file, Application Insights, Raygun, Sentry, or any number of

Configure Serilog for Logging in Azure Functions Read More »

, , , ,

Should you use caching for speed?

I imagine most people who get asked that question would answer “Of course!” but I disagree in a way. I’ve seen countless videos and articles talking about adding caching to your ASP.NET website or API in order to “speed it up”. Speeding up your responses is a good thing, but if you’re using caching as

Should you use caching for speed? Read More »

, , , , ,

Handling new user registration with Auth0 and ASP.NET Core 3

When creating a new site that will have users logging into it, you’ll invariably have to choose an identity provider to use. You can use the the inbuilt ASP.NET Core Identity but that has it limitation with repect to authenticating to API’s and other SSO benefits. If you choose a third party identity provider like

Handling new user registration with Auth0 and ASP.NET Core 3 Read More »

, , , , , ,

Lower case URLs in ASP.NET Core

Every time I start a new ASP.NET project, I forget the function required to ensure that all links generated out of ASP.NET are lowercase. So this post is as much a reminder for me, than information for anyone else. Personally think all lowercase URLs look better rather than the usual mismatch of cases that a

Lower case URLs in ASP.NET Core Read More »

, , , , ,
Scroll to Top