Click here to Skip to main content
15,920,704 members
Articles / Containers / Docker

Web API - Adding Swagger, SQL Server, Logging, CORS, Export to Excel and Docker

Rate me:
Please Sign up or sign in to vote.
4.97/5 (31 votes)
7 Nov 2023CPOL18 min read 89.7K   2.2K   124  
A cheatsheet for getting your Web APIs up and running as quickly and painlessly as possible
Quickly learn how to create an ASP.NET Core Web API, and add Swagger, SQL Server and Logging to it. Updated in April 2020, for Visual Studio 2019 and ASP.NET 3.


Daily Counts


Weekly Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer
Switzerland Switzerland
I'm a C# developer, working in finance in Zurich, Switzerland.

Author of the PartnerReSearch iPad app, which was a winner of a "Business Insurance Innovation Award" in 2013, and a TechAward2014 "Innovation of the year" award in 2014.

Objective-C is the 2nd hardest language I've ever learned, after German... Wink | ;-)

Comments and Discussions