Skip to content
Branch: master
Find file History
adamralph and mauroservienti reformat demo website launch settings
Co-authored-by: Mauro Servienti <mauro.servienti@gmail.com>
Latest commit 9a65321 Sep 8, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Divergent.CompositionGateway switch demo to .NET Core 2.0 Sep 7, 2018
Divergent.Sales.API.Host Fixes launch settings the VS constantly touches Aug 21, 2018
Divergent.Sales.Data switch demos to SDK projects Jun 26, 2018
Divergent.Sales.ViewModelComposition.Events switch demo to .NET Core 2.0 Sep 7, 2018
Divergent.Sales.ViewModelComposition switch demo to .NET Core 2.0 Sep 7, 2018
Divergent.Shipping.API.Host Fixes launch settings the VS constantly touches Aug 21, 2018
Divergent.Shipping.Data switch demos to SDK projects Jun 26, 2018
Divergent.Shipping.ViewModelComposition switch demo to .NET Core 2.0 Sep 7, 2018
Divergent.Website reformat demo website launch settings Sep 7, 2018
ITOps.Json switch demo to .NET Core 2.0 Sep 7, 2018
ITOps.ViewModelComposition.Gateway switch demo to .NET Core 2.0 Sep 7, 2018
ITOps.ViewModelComposition.Mvc switch demo to .NET Core 2.0 Sep 7, 2018
ITOps.ViewModelComposition switch demo to .NET Core 2.0 Sep 7, 2018
Divergent.CompositionGateway.sln align VS versions across solutions Jan 29, 2018
Divergent.CompositionGateway.sln.startup.json Startup projects config for demos Aug 21, 2018
Divergent.Website.sln align VS versions across solutions Jan 29, 2018
Divergent.Website.sln.startup.json Startup projects config for demos Aug 21, 2018
README.md switch demo to .NET Core 2.0 Sep 7, 2018
postman-collection.json rename shipping info to shipment Oct 23, 2017

README.md

ASP.NET Core demo

This demo is composed of two solutions which demonstrate UI Composition techniques using ASP.NET Core.

In order to run the demos, you require the latest .NET Core Runtime in the 2.0.x version range.

Divergent.CompositionGateway

Divergent.CompositionGateway shows how to host an ASP.NET Core API gateway, or reverse proxy, that composes HTTP responses from multiple backend APIs. To run this sample ensure that the following projects are set as startup projects:

  • Divergent.Sales.API.Host
  • Divergent.Shipping.API.Host
  • Divergent.CompositionGateway

Use an HTTP client such as Postman to test the gateway. Here are a few sample HTTP requests that can be used:

The postman-collection.json file contains the same set of HTTP requests as a collection that can be imported directly into Postman.

Divergent.Website

Divergent.Website is an ASP.NET Core MVC app that composes HTTP responses from multiple backend APIs directly into MVC views. To run this sample ensure that the following projects are set as startup projects:

  • Divergent.Sales.API.Host
  • Divergent.Shipping.API.Host
  • Divergent.Website

Use a web browser to test the website.

You can’t perform that action at this time.