Last post Sep 19, 2019 08:52 AM by Lewis Lu
Sep 18, 2019 09:38 PM|praveen_katta|LINK
I am new to microservices. I am trying to setup a .net core microservice project. I have created .net core webapi project. What else do I need?
Is Docker container is needed for sure. We have a private cloud do we still need Docker container ( i am new to this as well).
Does it also need a local database? we might end up using NoSql database.
Can someone guide me on this?
Sep 18, 2019 10:36 PM|mgebhard|LINK
I recommend going through the official tutorials and documentation.
Sep 19, 2019 12:35 AM|bruce (sqlwork.com)|LINK
there is no true definition of a micro service, its more of a concept. its a web service (typically REST) with a limited range of responsibilities. Many suggest a micro service should only access one database, if one is required.
Often microservice now refers to using AWS lambda functions, Azure functions, docker container or service bus hosting. But a microservice can be hosted as a plain web site.
You will need to ask your devops or network team what type of deployments they support. What deployment & hosting tools they have will define how you code your service.
if docker or website, then use a webapi template. if Azure or AWS download their .net core templates, and create the service desired.
Sep 19, 2019 08:52 AM|Lewis Lu|LINK
Microservices are small, modular, and independently deployable services. Docker containers (for Linux and Windows) simplify deployment and testing by bundling a service and its dependencies into a single unit, which is then run in an isolated environment.
Here is a link about how to build a microservices with .net:
There is a sample reference microservice and container based application on github: