GodelTech / GodelTech.Microservices.Core

Microservice framework core functionality
MIT License
6 stars 2 forks source link

Use AddControllers() instead of AddMvc() #17

Closed DiamondDragon closed 4 years ago

DiamondDragon commented 4 years ago

By default initializes configure REST API. AddControllers() method should be good enough to configured REST pipeline and AddMvc() is not required.

https://github.com/GodelTech/GodelTech.Microservices.Core/blob/master/src/GodelTech.Microservices.Core/Mvc/MvcInitializer.cs#L36

DiamondDragon commented 4 years ago

Fixed