I took long time to try to configure swagger for my .netCore project.
the following steps I have done, but not successful :-(
Nuget Package:
Swashbuckler.SwaggerGen, Swashbuckler.SwaggerUi,
in ConfigureServices Method
instance.AddMvc(); instance.AddSwaggerGen();
in Config Method
instance.UseMvc(); instance.UseSwagger(); instance.UseSwaggerUi();
I rebuild my project, and go to link http://localhost:5000/swagger/ui
came error: localhost refused to connect.ERR_CONNECTION_REFUSED
Can anybody help me??
BR,
Leon