[Fixed] IServiceCollection doesn’t contain definition of AddSwaggerGen

In this post, I will show how did I fix the issue of adding Swagger in the .net core. I was trying to install the Swagger in my first .net core project. I did it very easily in ASP.Net MVC very easily but getting issues with .net core. I installed the NuGet… read more →