Learn to build a RESTful API and consume it in a Blazor (WebAssembly and Server) Client Application and deploy to Azure
What you’ll learn
- Build Complete Data Driven .NET Core API From Scratch
- Build client side apps using Blazor Server and Blazor WebAssembly
- Learn Development with Blazor 6
- How to Build RESTful APIs with proper practices
- Learn C# and Visual Studio Techniques
- Repository Pattern and Dependency Injection
- Use AutoMapper and Data Transfer Objects (DTOs)
- Interact with Database using Entity Framework Core
- Use NuGet Package Manager
- Manage and Track Changes using GitHub
- Asynchronous Programming
- Custom Logging using Serilog
- Use Swagger UI Documentation
- Deploy Web API to Microsoft Azure
- Deploy Blazor Applications to Microsoft Azure
- Use NSwag Studio
- A computer
- The Internet
- A Willingness to Learn
Learn how to build a RESTful API using ASP.NET API using the latest .NET 6, Entity Framework, the Repository Pattern and various other tools and services for testing and logging; and later consuming it in a modern Blazor App. This complete course will show you how to use Visual Studio, Microsoft SQL Server Express and explore developing, consuming, testing and hosting a REST API in a Blazor Client application.
By the end of the course, we would have built a single page application using Blazor (Server and WebAssembly) that will serve as a stand-alone client app, consuming and interacting with an API. We will look at handling authentication using Json Web Token (JWT) and using this JWT to communicate with the API for all other operations that our app will support.
ASP.NET Core is Microsoft’s modern, cross-platform framework for building enterprise ready web applications. It’s suite of frameworks allow us to develop RESTful APIs and now thanks to Blazor, build robust client apps to interact with our API.
Since ASP.NET Core 6 became available with Visual Studio 2022, this course has been updated to use the technologies Visual Studio 2022 and .NET 6 in development.
Otherwise, everything in the project will work just the same if you are not inclined to upgrade, and I constantly highlight alternative code for .NET 5 and .NET Core 3.1 where applicable.
Why Learn ASP.NET Core (.NET 6)
Microsoft .NET is the platform that drives the business technology of many of the top corporations in the United States and many other countries. It is the predominant technology used to drive enterprise-scale business technology. Companies have chosen .NET because for its proven scalability, reliability, and support.
The .NET language of choice to learn is C#, as it is among the most widely used languages today. It’s a general purpose programming language that can handle almost any problem, from desktop to mobile to dynamic web applications. As such, there is a high demand across the world for .NET developers in a variety of industries, so that means that more jobs are available for candidates with a foundation built upon .NET technologies.
Why Develop With Blazor?
Blazor WebAssembly or Blazor Server
Blazor can run your client-side C# code directly in the browser, using WebAssembly. Because it’s real .NET running on WebAssembly, you can re-use code and libraries from server-side parts of your application.
Alternatively, Blazor can run your client logic on the server. Client UI events are sent back to the server using SignalR – a real-time messaging framework. Once execution completes, the required UI changes are sent to the client and merged into the DOM
Deploy To Microsoft Azure Cloud
Azure Web App Service is key to deploying the API and Blazor Server Applications. We will also enlist the use of Azure SQL for Database to support our API.
Build A Strong Foundation in .NET Core Programming:
- Build a fully data driven REST Web API using cutting edge technology
- Build a Single Page Application client side UI using Blazor Server AND Blazor WebAssembly
- Connect to an existing Database using Entity Framework Core
- Repository Pattern and Dependency Injection
- Progressive Web Application with Blazor
- Setup Logging using Serilog (or NLog in .NET 5 Version)
- Setup API documentation using SwaggerUI
- Understand the REST design principles
- Understand C# and .NET Core Web Syntax
- Use NSwag to speed up API Client Development
- Understand user Authentication using JWT (JSON Web Tokens)
- Store JSON Web Tokens using Local Browser Storage
- Handle Blazor Application User Authentication State
- Consume REST Web API in Blazor Application
- Understand how to use Models, DTOs and AutoMapper
- Manage Packages with NuGet Manager
- Setup GitHub for Source Control
- Deploy Applications and Database to Microsoft Azure
In order to take this course, you should have at least 3 months experience programming in C#. If you need to strengthen your C# fundamentals, you can take my C# beginner course C# Console and Windows Forms Development with LINQ & ADO .NET
Content and Overview
To take this course, you will need to have some knowledge of Object Oriented Programming, if not C#. Even if you do not have much exposure to the .NET development stack, this course is very beginner friendly and chock full of development tips.
This is a huge course. Over 16 hours of premium content, but smartly broken up to highlight a set of related activities based on each module in the application that is being built. We will also look at troubleshooting and debugging errors as we go along; implementing best practices; writing efficient logic and understanding why developers do things the way they do. Your knowledge will grow, step by step, throughout the course and you will be challenged to be the best you can be.
We don’t do things the perfect way the first time; that is not the reality of writing code. We make mistakes and point them out and fix them around them. By doing this, we develop proficiency in using debugging tools and techniques. By the time you have finished the course you will have moved around in Visual Studio and examined logic and syntax errors so much, that it will be second nature for you when working in the .NET environment. This will put your new learned skills into practical use and impress your boss and coworkers.
The course is complete with working files hosted on GitHub, with the inclusion of some files to make it easier for you to replicate the code being demonstrated. You will be able to work alongside the author as you work through each lecture and will receive a verifiable certificate of completion upon finishing the course.
Clicking the Take This Course button could be the best step you could take towards quickly increasing your income and marketability! Also, remember that if you don’t think the course is worth what you spent, you have a full 30 days to get a no questions asked refund!
It’s time to take action!
See you in the course!
Who this course is for:
- Anyone who wants to learn REST API Development with .NET Core
- Anyone who wants to learn Blazor Server Development
- Anyone who wants to learn Blazor WebAssembly Development
Created by Trevoir Williams
Last updated 12/2021
Size: 9.51 GB