Is docker necessary in .net core api microservices design?

asked 2020-09-27T05:23:01.787+00:00
DevBuster007 171 Reputation points

I searched for this query but didn't got ant substantial answers.
I am designing a microservices application using .net core 3.1 in C#.
Few details:

  • Front end- Angular. Deployed in Azure Web app.
  • Individual Services deployed in Azure App
  • Azure API management to manage individual services group together based on business logic
  • Using Azure SQL server for back end, some of the services share db.
    So as you see here, i don't want my sql db in docker container. I am not able to wrap my head around as in why would i need docker here.
    And can i still fulfill microservices design if i don't use docker.

Appreciate all the help!! Thank you.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,075 questions
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,306 questions
No comments
{count} votes

Accepted answer
  1. answered 2020-09-27T09:09:37.577+00:00
    Evgeny Grishchenko 466 Reputation points

    Hi @SumanGeorge-3739 ,

    Microservices design should not depend on docker, because docker is just one of possible implementation ways.

    Something like Dependency Inversion Principle: "High-level modules should not depend on low-level modules. Both should depend on abstractions."

    You could deploy your micro services as WebApps (runtime or docker image), Docker images on Kubernetes or Azure Container Service.

    Your choice would depend on many things: load, availability requirements, ...

    No comments

0 additional answers

Sort by: Most helpful