Code examples in documentation do not compile
Environment
Product | UI for Blazor |
Description
I am trying to run the code snippets in the documentation but they do not compile. The Preview
tab of the examples throws an error.
Error Message
Unhandled Exception: System.MissingMethodException: Method not found: Microsoft.Extensions.DependencyInjection.IServiceCollection
Solution
To solve this, clean the site data:
- Open your DevTools
- Go to
Application
tab - Select
Storage
- Click the
Clear site data
button - Refresh the page