ASP.NET Core: Exception Handling
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to handle exceptions in your ASP.NET Core applications and services.
Syllabus
Introduction
- Why use exception handling?
- What you should know
- What is an exception and exception handling?
- Why use exception handling
- Which are the common exception handling methods?
- Adding your first try-catch-finally block
- Common built-in exception types
- Create custom exception types
- Challenge: Create custom exception types
- Solution: Create custom exception types
- Using multiple catch blocks
- Why use global exception handlers?
- Adding a new ErrorResponseData class
- Adding global built-in handler
- Updating Startup.cs and testing
- Adding global custom handler
- Challenge: Use custom exception handler
- Solution: Use custom exception handler
- Why use exception filters?
- Adding an exception filter
- Testing the exception filter
- Continuing on with exception handling
Taught by
Ervis Trupja
Related Courses
Build Web APIs using ASP.NETMicrosoft via edX MVC Application Design using .NET Core 2.0
Microsoft via edX Getting Started with ASP.NET Core Razor Pages
Coursera Project Network via Coursera ASP NET Core,MVC,C#,Angular, ChatGPT & EF Crash Course
Udemy RESTful Web API - The Complete Guide (.NET7 API) Part 1
Udemy