Dependency Injection, HttpClient, and Tracing and Exception Handling
API
| Intermediate
- 16 videos | 1h 1m 21s
- Earns a Badge
ASP.NET Web API is a framework created by Microsoft that allows developers use their existing skills to create HTTP services using the .NET Framework. In this course, you'll be introduced to fundamental concepts for building HTTP services with ASP.NET Web API, beginning with the principles of SOLID, inversion of control (IoC) and dependency injection, abstraction of business logic, and how to create API clients with the .NET framework. Then you'll learn how to make requests with HttpClient, the role of the client-side pipeline, how to add message handlers to HttpClient, and the role of exception filters, loggers, and handlers. Finally, you'll discover how to use the IncludeErrorDetailPolicy, how to use tracing, and how to create ITraceWriters to implement custom tracers. This course was originally created by Global Knowledge (GK).
WHAT YOU WILL LEARN
-
Define the design principles of solidDescribe the principles inversion of control (ioc) and dependency injectionDiscuss how to create business logic abstractions with interfacesDescribe how to integrate autofac for dependency injectionDiscuss considerations for creating api clients with the .net frameworkDescribe how to make requests with httpclientDiscuss the role of the client-side pipeline and injecting message handlersDescribe how to add message handlers to httpclient
-
Discuss how to use retry handlers for when a service has become unavailableDescribe the role of exception filters, exception loggers, and exception handlersDiscuss how to create an exception logger in web api using iexceptionloggerDescribe how to create custom exception handlers in asp.net web api using iexceptionhandlerDiscuss how to use the includeerrordetailpolicy enumeration to control how much error information is returned to a clientDescribe how to use tracing to follow the execution of code and view information flowDiscuss how to enable tracing in a web apiDescribe how to create itracewriters to implement custom tracers
IN THIS COURSE
-
2m 35s
-
2m 54s
-
5m 52s
-
9m 1s
-
2m 22s
-
8m 40s
-
1m 35s
-
6m 4s
-
4m 29s
-
2m 51s
-
2m 47s
-
2m 13s
-
1m 18s
-
1m 47s
-
2m 38s
-
4m 15s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.