Skip to content

Instantly share code, notes, and snippets.

@pwelter34
Created January 28, 2020 14:43
Show Gist options
  • Save pwelter34/dc44db13d6b87aff223e21fba05a6d84 to your computer and use it in GitHub Desktop.
Save pwelter34/dc44db13d6b87aff223e21fba05a6d84 to your computer and use it in GitHub Desktop.
fix blazor startup to not require sticky sessions
<script src="~/_framework/blazor.server.js" autostart="false" asp-append-version="true"></script>
<script>
Blazor.start({
configureSignalR: function (builder) {
builder.withUrl('_blazor', {
skipNegotiation: true,
transport: 1
});
builder.configureLogging(1);
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment