csharp-snippet-productivity icon indicating copy to clipboard operation
csharp-snippet-productivity copied to clipboard

[Feature request] Create pages, contollers and views

Open BachiMjavanadze opened this issue 3 years ago • 1 comments

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

BachiMjavanadze avatar Jul 12 '22 08:07 BachiMjavanadze

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

rsaz avatar Jul 25 '22 00:07 rsaz