How to set Swagger as default start page for Web API application
How to set Swagger as default start page for Web API application Open WebApiConfig.cs class of your Web API solution Add the below-highlighted code. This uses the RedirectHandler class of the Swashbuckle assembly. using Swashbuckle.Application; using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace Web.API { public static class WebApiConfig { public static void Register( HttpConfiguration config) { // Web API configuration and services // Web API routes config.MapHttpAttributeRoutes(); ...