Skip to content

paulcromwell/Blazor-Static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blazor Starter Application

This template contains an example Blazor WebAssembly client application, a C# Azure Functions and a C# class library with shared code.

Getting Started

Create a repository from the GitHub template and then clone it locally to your machine.

Once you clone the project, open the solution in Visual Studio Code and follow these steps:

  • In the API folder, copy local.settings.example.json to local.settings.json
  • Press F5 to launch both the client application and the Functions API app

Note: If you're using the Azure Functions CLI tools, refer to the documentation on how to enable CORS.

Template Structure

  • Client: The Blazor WebAssembly sample application
  • API: A C# Azure Functions API, which the Blazor application will call
  • Shared: A C# class library with a shared data model between the Blazor and Functions application

Deploy to Azure Static Web Apps

This application can be deployed to Azure Static Web Apps, to learn how, check out our quickstart guide.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published