ASP.Net Core

Stability and Logging you own this product

This project is part of the liveProject series Automate an Inspection Process with ASP.Net Core
prerequisites
basic C# • basic debugging techniques • basic HTTP
skills learned
set up and configure logging with Serilog • understand how the ASP.NET Core processing pipeline works • create middleware for cross-cutting concerns • set up and configure CORS
Ruben Vandeginste
1 week · 6-8 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

Boutique, a software development company, has a fully functional ASP.NET Core HTTP API for a client’s project. As a software engineer for Boutique, it’s your job to improve the API’s code and prepare it for production. Using Serilog, you’ll add logging functionality to help determine the causes of issues that may arise in production. To allow the web UI to be hosted someplace other than your HTTP API, you’ll enable cross-origin resource sharing (CORS) middleware. You’ll create custom middleware for handling the cross-cutting concern of database transactions. To further improve the quality of the codebase, you’ll create a custom filter that handles business exceptions in a general, consistent way. When you’re done, the API will be robust, easy to maintain, and production-ready.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Ruben Vandeginste

Ruben Vandeginste received his PhD in computer science from KU Leuven, Belgium, in 2007. Soon afterward, he began working for PeopleWare, where he’s currently a software architect and technical lead. He designs and helps implement administrative applications, with a focus on backend services built with Microsoft’s .NET stack, and he’s well-versed in implementing HTTP APIs with Web API and ASP.NET Core.

prerequisites

This liveProject is for C# developers interested in making ASP.NET Core HTTP APIs more robust, easy to maintain, and production-ready. To begin this liveProject, you’ll need to be familiar with the following:

TOOLS
  • Basic C#
  • Basic HTTP
  • Basic YAML and JSON
TECHNIQUES
  • Basic debugging

you will learn

In this liveProject, you’ll learn to improve the quality, stability, and maintainability of code for an ASP.NET Core HTTP API.

  • Configure logging in ASP.NET Core with Serilog
  • Take advantage of structured logging
  • Enable and configure CORS middleware
  • Create custom middleware for handling transactions
  • Create a custom filter for handling exceptions

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Stability and Logging project for free