C
C#3mo ago
Lionel Bovy

✅ Which Nuget ASP.NET Core Versioning package to choose?

Hi, I need to do some versioning on an API with ASP.NET Core (.NET 6), but I don't know which package to choose. I'd be tempted to install the "ASP.NET Web API" package, but I don't quite understand when there's an HttpConfiguration (https://github.com/dotnet/aspnet-api-versioning/wiki/New-Services-Quick-Start#aspnet-web-api) in the Program.cs. When I look at the example, I get the impression that it uses an older version of ASP.NET Core.
GitHub
New Services Quick Start
Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core. - dotnet/aspnet-api-versioning
2 Replies
Angius
Angius3mo ago
It does seem to be an older version, yes Nowadays, it would be builder.Configuration.AddApiVersioning() in Program.cs
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server
More Posts
Help to import class.Hi i'm a super noob and i need help. I had done my first console app with C#, so i wanna put my clasAfter updating to v17.9.3 Visual Studio IDE closes at start with error message [FIXED]VS 2022 Community was running flawlessy for a month. Two days ago I was notified there was the updatDocker container hosting dotnet 6 api on port 80 instead of mentioned portDocker hosting dotnet 6 api on port 80. Attached is the images of docker compose,dockerfile,appsetti✅ Looking for experienced dev to do a quick live code reviewHello, is there any experienced dev here interested in doing a live code review with me to review mysimple calculatori want to code an simple calculator and i want if i type an anything than number console says enter Pagination with C# (DotNet) + Angular problem.Hey gyus first of all thanks for anyone who gonna help me 🙂 I tried to implement pagination with c#✅ Anyone recommend a book, or online course?Hey guys, anyone have a book or video course they'd recommend for learning asp.net mvc and blazor? I✅ Need help with recursive solution on vjudge Homer Simpson UVA - 10465 problem with CI am trying to solve https://vjudge.net/problem/UVA-10465 or at least get "Time exceeded" (3000ms) iOpen Closed Principle confusionIn the case of some logic involving a class. Eg. There maybe an Account class and we calculate the i✅ How do I replace each character with a character that corresponds to the standard English layout?There is a string with the characters "ЙЦУКЕН". It corresponds to the "QWERTY" string of the standar