From 839f77593c08e660b761ea132de01061d736b302 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Thu, 17 Jan 2019 14:00:38 +0300 Subject: [PATCH] Add Test Client to the application list --- .../AuthServer.Host/AuthServerHostModule.cs | 2 +- samples/MicroserviceDemo/docs/design/Overall.md | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/samples/MicroserviceDemo/applications/authserver/AuthServer.Host/AuthServerHostModule.cs b/samples/MicroserviceDemo/applications/authserver/AuthServer.Host/AuthServerHostModule.cs index 1f153337c8..369c8017e8 100644 --- a/samples/MicroserviceDemo/applications/authserver/AuthServer.Host/AuthServerHostModule.cs +++ b/samples/MicroserviceDemo/applications/authserver/AuthServer.Host/AuthServerHostModule.cs @@ -58,7 +58,7 @@ namespace AuthServer.Host var app = context.GetApplicationBuilder(); app.UseVirtualFiles(); - app.UseIdentityServer(); //TODO: Enable this and disable UseAuthentication + app.UseIdentityServer(); app.UseAbpRequestLocalization(); app.UseAuditing(); app.UseMvcWithDefaultRouteAndArea(); diff --git a/samples/MicroserviceDemo/docs/design/Overall.md b/samples/MicroserviceDemo/docs/design/Overall.md index 5345e1eef7..7ffabdb305 100644 --- a/samples/MicroserviceDemo/docs/design/Overall.md +++ b/samples/MicroserviceDemo/docs/design/Overall.md @@ -18,17 +18,21 @@ The goal of this work is to show how to create a complete microservice solution The solution consists of; -* **MVC applications**: - * **AuthServer Application** +* **Applications**: + * **AuthServer (MVC Application)** * Hosts the [IdentityServer4](https://github.com/abpframework/abp/tree/master/modules/identityserver) module for authentication. * Uses an SQL server database and [EF Core](https://abp.io/documents/abp/latest/Entity-Framework-Core) as the ORM. - * **Public Site Application** + * **Public Site (MVC Application)** * "Our products" page to list the products using the products microservice. * Hosts the [blogging](https://github.com/abpframework/abp/tree/master/modules/blogging) module UI. Uses the blogging microservice as backend. * Authenticates from the AuthServer. - * **Backend Admin Application** + * **Backend Admin (MVC Application)** * Hosts the [Identity](https://github.com/abpframework/abp/tree/master/modules/identity) module UI for user/role/permission management. Uses the identity microservice as backend. * A CRUD page to manage products using the products microservice. + * Authenticates from the AuthServer. + * **Test Client (Console Application)** + * Simply calls a few APIs and writes results to console. + * Authenticates from the AuthServer. * **Microservices**: * **Blogging Microservice** * Hosts the [blogging](https://github.com/abpframework/abp/tree/master/modules/blogging) module API.