Yo is referring to yeoman official website: http://yeoman.io/
Because the installation of Yo needs the NMP, so you have to go to the node website to download node and press Install
After installation, the next step can be made.
$ npm install-g yo generator-aspnet
After installation, you can use Yo ASPNET to generate. NET projects
Console commands are
Yo ASPNET
Next you will see the following pages to choose from
After selecting the following page will appear to let you fill in the project name
After filling in, enter to generate the corresponding project
Then there is
dotnet Restoredotnet Builddotnet Run
Of course the main thing is you can use Yo ASPNET to create class and so on
The command to create class is as follows
Yo aspnet:class person
More commands get help using the following command
Yo ASPNET--help
Yo aspnet:angularcontroller [options] <name> yo aspnet:angularcontrolleras [options] <name> yo Aspnet:angul ardirective [options] <name> yo aspnet:angularfactory [options] <name> yo aspnet:angularmodule [options] < ;name> yo aspnet:appsettings [options] yo aspnet:bowerjson [options] yo aspnet:class [options] <name> yo aspn et:coffeescript [options] <name> yo aspnet:dockerfile [options] yo aspnet:gitignore [options] Yo aspnet:gruntfile [Options] Yo aspnet:gulpfile [options] <name> yo aspnet:htmlpage [options] <name> yo aspnet:interface [opt Ions] <name> yo aspnet:javascript [options] <name> yo aspnet:json [options] <name> yo aspnet:jsonsche Ma [options] <name> yo aspnet:middleware [options] <name> yo aspnet:mvccontroller [options] <name> yo Aspnet:mvcview [options] <name> yo aspnet:nuget [options] yo aspnet:packagejson [options] yo Aspnet:program [opt Ions] Yo Aspnet:startup [Options] Yo aspnet:stylesheet [options] <name> yo aspnet:stylesheetless [options] <name> yo aspnet:styles heetscss [options] <name> yo aspnet:taghelper [options] <name> yo aspnet:textfile [options] <name> yo Aspnet:tfignore [Options] yo aspnet:typescript [options] <name> yo aspnet:typescriptconfig [options] <name> Yo aspnet:typescriptjsx [options] <name> yo aspnet:usersecrets [options] <name> yo aspnet:webapicontroller [Options] <name>
Reference: Https://msdn.microsoft.com/zh-cn/magazine/mt573713.aspx
Https://github.com/omnisharp/generator-aspnet#sub-generators
Create a. NET project with Yo ASPNET