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

Scaffolding models as we once did in MVC #26

Open
adopilot opened this issue Feb 2, 2023 · 7 comments
Open

Scaffolding models as we once did in MVC #26

adopilot opened this issue Feb 2, 2023 · 7 comments
Labels
enhancement New feature or request
Milestone

Comments

@adopilot
Copy link

adopilot commented Feb 2, 2023

It will be great if we cloud Scaffolding CRUD pages using models, as we once did in MVC projects,
In MPC we had to choice model and which CRUD operation page need to cover and engine did the rest.

@adopilot adopilot added the enhancement New feature or request label Feb 2, 2023
@mrlacey
Copy link
Owner

mrlacey commented Feb 3, 2023

XAML PowerToys used to do something like this. Is this the kind of thing you're after?

@adopilot
Copy link
Author

adopilot commented Feb 3, 2023

Is this the kind of thing you're after?
Yes something like this.

Or something like this direct from visual studio.

image

@mrlacey
Copy link
Owner

mrlacey commented Feb 3, 2023

I have something similar that I also plan to bring to VS2022 (& MAUI) at https://rapidxaml.dev/generation

@adopilot
Copy link
Author

adopilot commented Feb 3, 2023

Honestly, I haven't switched to C# markup yet.
But I think it would be much better to do code generation in c# markup instead of XAML.

@mrlacey
Copy link
Owner

mrlacey commented Feb 3, 2023

Honestly, I haven't switched to C# markup yet. But I think it would be much better to do code generation in c# markup instead of XAML.

I'm curious, why do you think doing it in C#Markup would be better?
Especially if you haven't used it.
It sounds like you have a problem with using XAML. What's the issue? I'm interested in how XAML can be made more productive and easier to work with. I don't think switching to C#Markup is always necessarily better.

@adopilot
Copy link
Author

adopilot commented Feb 6, 2023

I'm curious, why do you think doing it in C#Markup would be better? Perhaps my personal issues with XAML. I get disappointed in XAML once when I realize that I can't do WYSWG like on winforms.
Maybe resarching with dart also nuke me to think C# can be language for gui.

I am not fan of XAML from erly stages of Xamarin when it was slow and bugy.

Also I think that gui in C# is smoething new and if we catch in step on time we will be top.

I learned a lot of HTML using Scaffolding methods mentoined before.
So I think that learning C# as GUI can be easy for meny users if they can have something to start with.

Sorry for late answer I was on weekend stay.

Also one crazy idea for Scaffolding is to read swagger.json file (open api ).

@mrlacey mrlacey added this to the back-burner milestone Feb 15, 2023
@dbtech-davidb
Copy link

Exactly.. that would be a great feature...

@mrlacey mrlacey changed the title Scaffolding moldes as we once did in MVC Scaffolding models as we once did in MVC May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants