GitHub Actions makes it easy to automate your continuous integration and continuous deployment workflows but early on it lacked the ability to manually trigger a workflow. Thankfully this missing feature has been added. Let’s take a look at how to enable manually running your GitHub Actions workflows.
In this video we revisit record types, this time in actual C#
Getting HMAC signatures to work in Postperson (Postman) is a huge pain largely because HMAC signatures are inherently dumb in an age of TLS. None the less we can make them work; this video will show you how.
Reference:
Postperson sandbox: https://learning.postman.com/docs/writing-scripts/script-references/postman-sandbox-api-reference/
YARP, not to be confused with YARR which is what a pirate says, is a managed reverse proxy that provides some interesting functionality for ASP.NET Core applications or really any web application. In this episode we scratch the surface of what YARP is.
YARP site: https://microsoft.github.io/reverse-proxy/index.html
Getting the logic right when dealing with dates is hard in any application but it’s even harder when your application logic crosses platform boundaries. In today’s episode, we take a look at some of the common issues faced when trying to load dates from a .NET backend into a JavaScript / browser based frontend.
Sample Repo: https://github.com/AspNetMonsters/EP170_EFCoreNodaTime
Previous episode:
NodaTime and API Controllers: https://youtu.be/NnUoOdnsIko
Noda Time and Entity Framework Core: https://youtu.be/zl0h2J6a0w4
Noda Time: https://nodatime.org/
C# 9 is in the pipeline and one of the more exciting features in it is record types. Because we couldn’t figure out how to play with C# 9 yet we’ll take a break and look at how they’re implemented in F#.
In a previous episode, we talked about using Noda Time Entity Framework Core and Razor Pages. In today’s episode, we look at using Noda Time with ASP.NET Core API Controllers and the configuration needed to properly serialize Noda Time types to JSON.
Sample Repo: https://github.com/AspNetMonsters/EP170_EFCoreNodaTime
Previous episode: https://youtu.be/zl0h2J6a0w4
Noda Time: https://nodatime.org/
In this episode we couple the power of load testing with Artillery.io with the realistic test data we can get from Faker.js to create high performance testing with actual emails and passwords.
Previous episodes on Artillery.io:
https://youtu.be/92p68lZPYx4
https://youtu.be/lH-zirnd8S4
Noda Time provides a number of very convenient types that can simplify the date/time logic in your applications but out of the box, Entity Framework Core doesn’t know how to convert those types to SQL Server column types. Fortunately, it’s pretty easy to configure Entity Framework Core to use Noda Time types.
https://nodatime.org/
Writing your ASP.NET in C# is not the only option. With Giraffe you can write you controllers in F#. Also covered: Tech Empower benchmarks https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=composite