From a095d2fb08f714c624f8fe2ed86a3cde3058e8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sun, 23 Aug 2020 21:30:40 +0300 Subject: [PATCH] Cleanup the Index page. --- .../Pages/Index.razor | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Pages/Index.razor b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Pages/Index.razor index 801c8d5779..933d662a15 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Pages/Index.razor +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Pages/Index.razor @@ -2,17 +2,10 @@ @using Volo.Abp.Identity @inject IProfileAppService ProfileAppService -

Hello, world!

- - - -Welcome to your new app. - -

Remote Service Test

+

Remote Service Test

Current user name: @_userName

+ @code @@ -21,6 +14,8 @@ Welcome to your new app. private async Task GetUserNameAsync() { + // It calls the remote service via ABP Dynamic C# Proxies! + _userName = (await ProfileAppService.GetAsync()).UserName; } } \ No newline at end of file