Angular with ASP.NET Core
Angular as the front end of an ASP.NET Core API: standalone components and signals, routing, forms, a typed client from the OpenAPI document, sign-in with Entra ID, tests and the way to Azure.
Search the academy Study plan for this course
Who it is for
For everyone after K2 who has to put an Angular front end in front of a .NET API and wants to learn Angular from the ground up, seen by someone who has already written the API.
Prerequisites
K2 (TypeScript, web API, sign-in with Entra ID, tests, OpenAPI) or the placement test. Node.js in a version Angular names and a browser are needed.
Afterward, you can
- Create an Angular project, explain how it is built and run it against the Kladde's API
- Build components with signals, inputs, outputs and the new control flow
- Use routing, HttpClient, interceptors and forms against the API
- Generate a typed client from the OpenAPI document and justify the choice
- Sign in with Entra ID and secure the SPA against CORS, XSS and XSRF
- Write component, HTTP and end-to-end tests and deliver the application
Contents
- W9.1
8 h
Getting to know Angular
tools, project, components, templates, signals, inputs and outputs
- W9.2
10 h
Connecting the API
routing, HttpClient, errors, typed client from OpenAPI, forms
- W9.3
6 h
Signing in and securing
Entra ID with MSAL Angular, CORS, XSS, Content Security Policy, XSRF
- W9.4
8 h
Testing and delivery
component and HTTP tests, end to end and accessibility, building and delivering on Azure
About 32 hours in all (indicative).
Lessons
You see the text and video of every lesson here on the site after buying the course; the titles and goals are already shown. A self-study course: you work through the lessons in order and check your exercises yourself against the solutions.
You can read the first module (W9.1) for free, with text and video, without signing in: so you see how the course works before you buy.
The lessons stand under their modules, in the order of the course. Click a module to open or close its lessons.
W9.1 Getting to know Angular
Indicative: 8 hours · 3 lessonsfree to read
Lesson 1 · about 180 minutes
Angular at a glance: tools, project, first start
Lesson 2 · about 180 minutes
Components, templates and signals
Lesson 3 · about 120 minutes
Composing components: inputs, outputs, content
W9.2 Connecting the API
Indicative: 10 hours · 4 lessons
Lesson 4 · about 120 minutes
Routing
Lesson 5 · about 180 minutes
HttpClient, interceptors and errors
Lesson 6 · about 180 minutes
A typed client from the OpenAPI document
Lesson 7 · about 120 minutes
Forms: contacts and booking
W9.3 Signing in and securing
Indicative: 6 hours · 2 lessons
Lesson 8 · about 180 minutes
Signing in with Entra ID (MSAL Angular)
Lesson 9 · about 180 minutes
CORS, XSS, CSP and XSRF
W9.4 Testing and delivery
Indicative: 8 hours · 3 lessons
Lesson 10 · about 120 minutes
Component and HTTP tests
Lesson 11 · about 120 minutes
End-to-end tests and accessibility
Lesson 12 · about 120 minutes
Build, ship and run in Azure
Final project: the Kladde
What the Kladde can do after this course
An Angular front end of the Kladde with contacts, appointments and public booking against the Kladde API, with sign-in and tests.
The course ends with a module exam: a small page to a given specification against given tests.
Certifications
There is no Microsoft exam for Angular.
Keep learning with Microsoft Learn
Microsoft's learning paths and documentation that go with this course.