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

[Feature request] Create pages, contollers and views #19

Open
BachiMjavanadze opened this issue Jul 12, 2022 · 1 comment
Open

[Feature request] Create pages, contollers and views #19

BachiMjavanadze opened this issue Jul 12, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@BachiMjavanadze
Copy link
Contributor

BachiMjavanadze commented Jul 12, 2022

To create pages, contollers and views you need to use .Net CLI. example:

Create controller:
dotnet aspnet-codegenerator --project . controller -name "TempController" -outDir "Controllers"

Create empty view:
dotnet aspnet-codegenerator view TempView Empty -outDir Views

Create empty razor page:
dotnet aspnet-codegenerator razorpage Index Empty -outDir Pages

please make one click solution into your UI.

I suggest automatically instal following packages when web project is created:

dotnet-aspnet-codegenerator _ update globally on every restart of a project.
Microsoft.VisualStudio.Web.CodeGeneration.Design

Useful resources:
LINK-1
LINK-2
LINK-3
LINK-4

@rsaz
Copy link
Owner

rsaz commented Jul 25, 2022

Thank you for your request, I will be implementing in the next release.

@rsaz rsaz self-assigned this Jan 15, 2024
@rsaz rsaz added the enhancement New feature or request label Jan 15, 2024
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

2 participants