Cesar De la Torre ac58c12862 Using [DataContract] and [DataMember] for the immutable Command.
De-serializes good, I see the data coming at the Controller and the CommandHandler level, bu I get an error at the end about: JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path '[1].total', line 1, position 176.
Gerard, can you take a look to that?
If it works with attibutes, let's do it. In parallel I/m opening an issue with the ASP.NET team.
2017-02-27 18:23:15 -08:00
..
2017-02-27 17:52:14 +01:00

Containerized eShop - Orders Service

Sample reference containerized application, cross-platform and microservices architecture. Powered by Microsoft

#Overview This sample runs a microservices oriented application and a .net core Mvc application that consumes this services. You can find more information about how to set up docker in your machine in the global directory solution.

#Deploy In the global directory you will find the scripts needed to run and deploy the demo into your local docker infraestructure.

  • build-image-services-orders.ps1 Build .net applications and docker images: This power shell script that you will find in the root directory of the solution is the responsible of building .net applications and package in a pub folder and use docker commands to build the images needed to run the previously packaged .net applications.

  • Compose containers in your docker local VM: Finally you have to open your favourite command tool pointing to the root directory of this project where docker-compose.yml file is located and run the command docker-compose up

#Run Once the deploy process of docker-compose finishes you have to be able to access the services in this urls:

  • Orders service: http://localhost:5102
  • Identity service: http://localhost:5105
  • Orders data (SQL Server): Server=tcp:localhost,5432;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;
  • Identity data (SQL Server): Server=localhost,5433;Database=aspnet-Microsoft.eShopOnContainers;User Id=sa;Password=Pass@word