Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Micro services and .NET [closed]

How to build micro service oriented application in .NET world? Are there any platforms where we can write micro service oriented apps in .NET world? How to envision architecture that includes Micro services, Event store and some of NoSQL databases? Thanks.

like image 304
netdeveloper62 Avatar asked Oct 13 '14 01:10

netdeveloper62


People also ask

Does .NET support microservices?

ASP.NET comes with built-in support for developing and deploying your microservices using Docker containers. . NET includes APIs to easily consume microservices from any application you build, including mobile, desktop, games, web, and more.

Is .NET core suitable for microservices?

NET Core blends well with Microservices is because both are similar to each other. . NET Core is an early adopter and started creating microservices architecture based solutions much earlier than others.

Are microservices still a thing?

Microservices are still an infrastructure of choice for many SaaS products. They are most popular with data analytics services, with 45% of apps relying on the loose coupling model. But microservices can only bring value to your product if you stick to coherent processes.

What is a .NET microservices?

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.


3 Answers

Follow this link for a step-by-step guide to setting up a simple Microservice framework using the .NET framework, ASP.NET, and RabbitMQ.

The tutorial starts with the core concepts, implements a working application, and scales that application in terms of size and complexity, tackling typical Microservice problems during each step.

like image 91
Paul Mooney Avatar answered Oct 14 '22 12:10

Paul Mooney


Microservices is more an architectural approach than framework or a set of libraries. But in .Net world you can create independent process for web services using the OWIN (Open Web Interface for .NET).

You can see an example for implementing a self hosting web service (it do not requires IIS) in:

http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api

With that, you can implement your microservices like self-hosting services in one or more machines. The kind of database or event source is up to your application.

Then you can build some API Rest queried by your application, used like a central point of acces, a Facade pattern, every request will be turned to one of your minions-microservices.

like image 36
Fidel Orozco Avatar answered Oct 14 '22 12:10

Fidel Orozco


Microsoft have released Service Fabric which gives you a platform for Microservices.

It is an Azure offering but will also be available on-premise with Windows Server 2016.

You can install Service Fabric on a dev machine running VS2015 and try it out using the SDK.

like image 44
iandayman Avatar answered Oct 14 '22 12:10

iandayman