Interested in a private company training? Request it here.
.NET 5 is the main implementation of .NET going forward.
With .NET 5 Microsoft introduced a new project model, with a lot of emphasis on NuGet packages. This new model can be used with any development environment, such as Visual Studio Code.
So how can I build .NET 5 applications on a Mac or Linux machine?
ASP.NET Core easily outperforms all other web hosting solutions. So how did they do that? Here we will look at the ASP.NET Core pipeline, and how to make it do your bidding.
Startup
classASP.NET Core allows you to pick and choose where to store your configuration. No more deploying web.config with production settings in source control! We will look at the idea behind this and of course how to choose your ideal configuration.
Proper logging is essential to find problems while developing and in production. .NET 5 brings a unified logging approach which you can use anywhere in .NET and also works with your preferred logging framework such as NLog.
The Open Web Interface for .NET brought a simple standard way for building web servers with .NET. ASP.NET Core built upon this standard and with it you can easily build your own custom extensions.
On the web the URL decides what the server will do. In ASP.NET Core you will find the End-point Routing Middleware. A solid understanding of this middleware is required to build applications with ASP.NET Core.
Every new version of MVC brings a couple of improvements making it easier for developers to build state-of-the-art web applications. Among other features we will look at taghelpers, which bring a similar concept like Angular directives to the server side.
So you have finished a working version of your application. How do you deploy this? What are the options? Since .NET is cross-platform, you can build everything on Windows, and then run on Linux. We will also discuss various deployment options, such as assembly trimming.
With .NET 5 also comes a while new Entity Framework Core. A new implementation of EF, which can run cross-platform, on Windows, Mac and Linux.
Mapping in EF Core uses conventions, attributes, or Fluent API. You will see how to use these to model your database in EF Core and apply the changes with Code-first Migrations.
Add real-time web functionality to your application.
Building Single-Page Applications (SPA) is a very popular way of building applications on the web. Angular, VueJs, React and others can be used to build these, but they all require you to learn and use JavaScript and a whole new series of tools for developing these applications. But not any longer! Now you can use C# (and Visual Studio) and apply all those skills learned over the years to build SPAs with Blazor. Blazor makes building interactive client-side web applications efficient and fun that work on any modern browser.
So what is a modern web application? One that uses Angular and TypeScript? With the speed that modern web application development evolves, there is the chance that your web site uses 'old' technology by the time it is done. But sound architecture never goes stale. As a wise man once said: 'If you think good architecture is expensive, try bad architecure'.
So you want to host your web site. But what about scalability, fault-tolerance, HTTPS and other things? The cloud can make this a lot easier for you.
In this module, you will learn about Applications Insights which allows you to detect and diagnose exceptions and application performance issues in the cloud. You will learn how to implement Applications Insights into your website to monitor your backend and frontend behaviour.
So what will you allow your user to do? This most-likely depends on the role the user has in your organisation. This role is now represented with claims. In this chapter you will get a better understanding why claims are better than roles, and how claims are transmitted in a secure way as tokens.
In the modern web we all want to share stuff. But how do you safely allow one web site to access resources from another web site? With OpenID Connect you can delegate authentication to an identity provider (such as Facebook, Azure AD, Identity Server and others).
Modern web sites and mobile appls consume REST services. You can use OpenID Connect to authenticate users, after which you can use claims to authorize resources stored in a web API.
The world is a big place, with many spoken languages. If you want to reach the world, you should build multi-language support in from the beginning.
So you've been using ASP.NET MVC for a while, and you want to learn more? Join us in this training to upgrade your skills to master .NET 5 and ASP.NET Core. In this advanced ASP.NET development course you will build up the necessary knowledge and tools for dealing with the complexity of modern web applications using .NET 5, Entity Framework Core, apply Clean Architecture, and get more insights into SignalR, Blazor, Azure, OpenID Connect and Internationalization. With .NET 5 you can choose your development environment, such as Visual Studio, Visual Studio for Mac, Visual Studio Code, or any other. And then deploy to Windows, OSX or Linux (containers). This training uses Visual Studio, but if you like you can use your preferred development environment.
This course is meant for developers that have experience with ASP.NET MVC and/or Web API and want to get on board with the latest development in ASP.NET Core.