Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded WASM demo to latest 3.2.0 Preview 1 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EvanWeeks
Copy link

I was looking at building a personal site using the latest preview version of client-side Blazor and decided I wanted to add some animations. Lucky me, this project exists!

I went to test out the library with the upgraded references to client-side Blazor and discovered that I needed to refactor some of the startup code in order for it to run properly. There is no Startup.cs file anymore, and service registration for dependency injection is now handled inside of Program.Main().

Those changes are included here.

Feel free to incorporate or ignore, but I figured I'd throw this in here in case anyone else was wondering how to get it working properly. The Blazor.Animate library requires at least one IOptionsSnapshot registered as an injectable service, so I copied the two used in the server-side sample over to the client-side sample and formatted them correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant