Beyond the Basics: Advanced Web Apps with .NET 8

There’s a lot more to ASP.NET 8 than models, views and controllers. In this workshop, you’ll learn how to make the most of the advanced features of Microsoft’s flagship development platform, from powerful asynchronous programming patterns like channels and callbacks, to support for cutting-edge frontend technologies like Razor Components, Blazor, and SCSS. We’ll look at advanced testing strategies for ASP.NET applications, and how to build observability into your .NET apps using OpenTelemetry and ASP.NET Aspire.

  • Oct 14
    Alfândega Porto Congress Centre
    2 days
    07:00 - 15:00 UTC
    Dylan Beattie
    1 350 EUR

We’ve all seen the “hello world” demos: models, views, controllers, a DbContext, maybe some minimal API endpoints. In this workshop, we’ll go beyond the basics and explore the full potential of C# 12, ASP .NET Core 8, EF Core, and the rich ecosystem of libraries and packages that’s available for building web apps with .NET in 2024.

The workshop is based around “Rockaway”, a .NET web app for selling concert tickets. Our favourite developer-themed rock bands, from Dev Leppard to Mott the Tuple, are going on tour around the world, and we're going to build the platform that'll sell tickets to all their shows. Along the way we’ll encounter dozens of real-world scenarios, from data modelling, to timezones and currencies, to responsive layouts and email delivery. We’ll use asynchronous patterns and channels to build lightning-fast web apps which stay responsive even under heavy load. We’ll look at how to extend the built-in Bootstrap libraries with Blazor and Razor Components to create beautiful, responsive frontend layouts that work seamlessly with ASP.NET, and we’ll see how to test our applications at every level, from low-level isolation testing, to end-to-end integration tests which exercise the entire HTTP pipeline.

What You’ll Learn:

  • Principles of web application architecture: areas, services, components and dependencies
  • Testing ASP.NET Applications: WebApplicationFactory, Shouldly, AngleSharp
  • Deploying web apps using Azure and GitHub Actions
  • Observability with OpenTelemetry and .NET Aspire
  • Interactive frontends with Blazor and Razor Components
  • Advanced EF Core: mapping conventions and custom types
  • Testing database code using EF Core and Sqlite
  • Customising Bootstrap using SASS
  • Globalisation: dates, times and currencies
  • Async processing with threads and channels

This is a hands-on, interactive workshop: we’ll be sharing code throughout using GitHub and VS LiveShare, you’ll go home with a fully working copy of the sample application, and all the workshop code is published under the MIT license so you can use it for whatever you like. Application code is all built on .NET 8 using C# 12, so we can use new C# language features like primary constructors and collection expressions. You’ll also get to learn about many of my favourite developer tools like zoxide, oh-my-posh, MailTrap, Papercut, Postman, and ngrok: they’re not specific to .NET, but they do make building and testing .NET applications a lot easier.

Testimonials
What people have said about Dylan Beattie’s .NET workshops:

  • “Everything was great, content, presentation, examples, answers to questions. All clear and understandable.”
  • “I liked the way the lecturer kept the tempo and captured attention. Everything was well prepared and worked right away or almost right away.”
  • “I really enjoyed the humour and that Dylan showed personality throughout the workshop.”
  • “Really great organization and preparation. It shows that you have experience with this kind of workshops.”

Target Audience
This workshop is for developers who already have some experience with ASP.NET Core; you should already be familiar with the model/view/controller patterns, the Razor view engine, and basic data access using Entity Framework.

Computer Setup
Attendees will need a laptop running the .NET 8 SDK, and a code editor such as Visual Studio 2022, JetBrains Rider, or VS Code.

Dylan Beattie
The one in the hat.

Dylan Beattie is an independent consultant who has been building data-driven web applications since the 1990s. He’s managed teams, taught workshops, and worked on everything from tiny standalone websites to complex distributed systems. He’s a Microsoft MVP, and he regularly speaks at conferences and user groups all over the world.

Dylan is the creator of the Rockstar programming language, and is known for his live music shows featuring software-themed parodies of classic rock songs. He’s online at dylanbeattie.net and on Twitter as @dylanbeattie.

    Programutvikling uses cookies to see how you use our website. We also have embeds from YouTube and Vimeo. How do you feel about that?