Skip to main content
Version: 6.X

Blazor ServerSide

Description#

Very similar to the Blazor WASM Example, but runs code on the server side and pushes view updates to the client.

ASP Blazor Example - Home

Run it#

Before running it, make sure you created an app in your spotify dashboard and https://localhost:5001 is a redirect uri of it.

# Assumes linux and current working directory is the cloned repositorycd SpotifyAPI.Web.Examples/Example.ASPBlazordotnet restore
SPOTIFY_CLIENT_ID=YourClientId SPOTIFY_CLIENT_SECRET=YourClientSecret dotnet run
# Visit https://localhost:5001