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

POC Blazor Component #15068

Open
Skrypt opened this issue Jan 11, 2024 · 9 comments
Open

POC Blazor Component #15068

Skrypt opened this issue Jan 11, 2024 · 9 comments
Milestone

Comments

@Skrypt
Copy link
Contributor

Skrypt commented Jan 11, 2024

I'm getting a lot of requests around Blazor components recently since .NET 8 is out.

We need to create a POC and for that matter we could replace a Vue component that we use in the Admin UI.
Refactoring the OptionEditor to a Blazor component would be a good starting point to see how it would integrate as part of OC.

We need to evaluate the maintainability of these components. We also need to see if we could integrate a more complex component like the Media Library, Media Library picker or even the CORS UI eventually.

@ns8482e

@hishamco
Copy link
Member

hishamco commented Jan 11, 2024

It was one of those ideas that I was thinking of years ago, @agriffard did some Blazor integration with OC. If someone is interested he can show us a demo in the Orchard Core meeting, or I might do it after finishing plenty of my pending PRs :)

@agriffard
Copy link
Member

See #14722 for a discussion about using OC in a Blazor .NET 8 web app.

@Skrypt
Copy link
Contributor Author

Skrypt commented Jan 11, 2024

Cool thanks, we need a POC pull request that will be using source code now to see how we will integrate it. I'm guessing we can take ideas from the Nuget package solution but we also need to think on the OC structure if we start adding these.

@ns8482e
Copy link
Contributor

ns8482e commented Jan 22, 2024

Adding how-to-guide will be helpful.

@Skrypt
Copy link
Contributor Author

Skrypt commented Jan 22, 2024

@ns8482e Would you have time to do something? I can't really move away from the Vue3 Pull Request much.

@ns8482e
Copy link
Contributor

ns8482e commented Feb 15, 2024

@Skrypt created POC at ns/blazor-poc branch

  • Created Option Editor and Modal Dialog and replaced Vue option editor with optioneditor component for predefinedlist

Prerequisite PR #15247

@soma-kurisu
Copy link

Hey @ns8482e. Commented on your POC branch: please make your intention more clear.

@ns8482e
Copy link
Contributor

ns8482e commented Feb 17, 2024

Thank for pointing out typo mistake. It should be collocated.

@soma-kurisu
Copy link

@ns8482e have a look on PR #15354. I think we should take some safety measurements.

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

No branches or pull requests

6 participants