diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4d61a67..1b216a5 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -3,16 +3,14 @@ name: Deploy ASP.NET Core app to Azure Web App
on:
push:
branches: [ master ]
- pull_request:
- branches: [ master ]
env:
- NUGET_USERNAME: amphasis
+ NUGET_USERNAME: amphasis
NUGET_SOURCE: https://nuget.pkg.github.com/amphasis/index.json
- DOTNET_VERSION: '3.1.403'
+ DOTNET_VERSION: '6.0.100'
AZURE_WEBAPP_NAME: 'leff'
AZURE_WEBAPP_PACKAGE_PATH: '.'
- AZURE_WEBAPP_PROJECT_PATH: 'Amphasis.Azure.WebPortal'
+ AZURE_WEBAPP_PROJECT_PATH: 'Amphasis.Azure.WebPortal'
jobs:
build-and-deploy:
diff --git a/Amphasis.Azure.WebPortal/Amphasis.Azure.WebPortal.csproj b/Amphasis.Azure.WebPortal/Amphasis.Azure.WebPortal.csproj
index f6717b7..536f53d 100644
--- a/Amphasis.Azure.WebPortal/Amphasis.Azure.WebPortal.csproj
+++ b/Amphasis.Azure.WebPortal/Amphasis.Azure.WebPortal.csproj
@@ -1,7 +1,7 @@
Name: @name
+E-Mail: @email
+Name Identifier: @nameIdentifier
+ diff --git a/Amphasis.Azure.WebPortal/Pages/Profile.cshtml.cs b/Amphasis.Azure.WebPortal/Pages/Profile.cshtml.cs new file mode 100644 index 0000000..7731927 --- /dev/null +++ b/Amphasis.Azure.WebPortal/Pages/Profile.cshtml.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace Amphasis.Azure.WebPortal.Pages +{ + [Authorize] + public class ProfileModel : PageModel + { + public void OnGet() + { + } + } +} diff --git a/Amphasis.Azure.WebPortal/Pages/Shared/_Layout.cshtml b/Amphasis.Azure.WebPortal/Pages/Shared/_Layout.cshtml index 7bd6b92..8e52cb3 100644 --- a/Amphasis.Azure.WebPortal/Pages/Shared/_Layout.cshtml +++ b/Amphasis.Azure.WebPortal/Pages/Shared/_Layout.cshtml @@ -6,7 +6,7 @@