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

Added Blazor Sample #45

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

ns8482e
Copy link
Collaborator

@ns8482e ns8482e commented Jan 31, 2024

Added Blazor Sample as described in guide

@Skrypt @agriffard

@agriffard
Copy link
Member

Launching the project for the first time, without anything in App_Data, I had an error :

System.InvalidOperationException: Cannot provide a value for property 'SiteService' on type 'OCBlazorLib.Pages.Content'. There is no registered service of type 'OrchardCore.Settings.ISiteService'.

I changed the route of Home.razor from @page "/" to @page "/home" and then, I have been able to have the setup screen.

@ns8482e
Copy link
Collaborator Author

ns8482e commented Jan 31, 2024

@agriffard Updated the home link to /home

@agriffard
Copy link
Member

@agriffard Updated the home link to /home

After the setup, I changed it back to "/" in order to get a root url.

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.

2 participants