examples
examples copied to clipboard
Azure cs appservice blazor
This pull request adds an example provisioning a .net 6 Blazor Server web application to an Azure App Service with C#.
The key combination things included here that I could not find in other examples are:
- The example uses PaaS hosting from a ZIP file rather than a container.
- Deploying an ASP.net application rather than just static wwwroot files. This has additional complexity around the need to run
dotnet publish
and using the correct path for the zip file - Adopting a more typical .net folder structure where the infrastructure code is in a separate folder to the application code.
- The example focuses on the core technologies for the example and does not include optional things like App Insights or a Database
The PR includes a Blazor application which is based on the standard template so anything in the BlazorApp.BlazorServer folder is just standard boilerplate code.
PR is now waiting for a maintainer to run the acceptance tests.
Note for the maintainer: To run the acceptance tests, please comment /run-example-tests on the PR
/run-example-tests
Please view the results of the PR Build Here