How to restrict the versions which are not required while deploying .net core web api to a client server
I have a .NET 8 web api solution. if we have 2 versions in it V1 and V2 and client wants only V1 version controller endpoint to be deployed then how to restrict other version V2 from deploying.