.NET 9 and C# 13 release
Swagger dropped from .NET 9: What are the alternatives?
Swagger has been dropped when using .NET 9 in the Web API template to create an ASP.NET Core app. We look at what other OpenAPI UI's are available.Static asset file sizes can be reduced by over 80% in .NET 9
Static asset delivery optimisation in .NET 9 uses Brotli and Gzip compression for static asset files which can reduce the file size by over 80%.C# 13 - New features and how you can use them now!
C# 13 has been launched as part of the .NET 9 release and we'll take a look at the new features and how you can start using them today.Free .NET code examples
Run an ASP.NET Core application in a Docker container
Download a code example which includes a Dockerfile to build and publish an ASP.NET Core Web API into a Docker container and run the application.Stripe .NET checkout example to add online payments
Download an ASP.NET Core Stripe checkout example that uses the Stripe.net NuGet package to take online payments through a Web API endpoint.Get started with Entity Framework Core
Get started with EF Core includes creating a DbContext, adding a migration, CRUD operations, the Include method, raw SQL queries and stored procedures.SignalR hub example sending chat messages in ASP.NET Core
Download a .NET SignalR example which adds a hub that sends messages to clients when one is connected and when a method is invoked.Try our C# online code editor
Convert hours, minutes and seconds into a time formatted string
Pass in the hours, minutes and seconds into a method and get it to return a time formatted string which should include leading zeros.
Contains online code editor
Work out the number of days between two dates
Write a C# function to work out the difference between two dates and return the number of days in this coding challenge.
Contains online code editor
Removing the last character from a string
This coding challenge involves writing a C# method that will removing the last character from a string and returning the value.
Contains online code editor
Write a C# function to convert MPH to KPH
Take our coding challenge to write a C# function with the necessary parameters that converts miles-per-hour (MPH) to kilometres-per-hour (KPH) and vice-versa.
Contains online code editor