Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

ASP.NET Core: Exception Handling

via LinkedIn Learning

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to handle exceptions in your ASP.NET Core applications and services.

Syllabus

Introduction
  • Why use exception handling?
  • What you should know
1. Getting Started with Exception Handling
  • What is an exception and exception handling?
  • Why use exception handling
  • Which are the common exception handling methods?
2. Error Handling with Try-Catch Block
  • 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
3. Global Error Handling
  • 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
4. Working with Exception Filters
  • Why use exception filters?
  • Adding an exception filter
  • Testing the exception filter
Conclusion
  • Continuing on with exception handling

Taught by

Ervis Trupja

Reviews

4.6 rating at LinkedIn Learning based on 94 ratings

Start your review of ASP.NET Core: Exception Handling

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.