{"id":13401057,"url":"https://github.com/OmniSharp/generator-aspnet","last_synced_at":"2025-03-14T06:32:08.180Z","repository":{"id":24055655,"uuid":"27441508","full_name":"OmniSharp/generator-aspnet","owner":"OmniSharp","description":"yo generator for ASP.NET Core","archived":true,"fork":false,"pushed_at":"2019-02-12T21:40:56.000Z","size":1846,"stargazers_count":882,"open_issues_count":0,"forks_count":175,"subscribers_count":78,"default_branch":"master","last_synced_at":"2024-04-26T21:49:26.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OmniSharp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-02T16:28:39.000Z","updated_at":"2024-03-06T16:54:04.000Z","dependencies_parsed_at":"2022-08-24T16:43:49.825Z","dependency_job_id":null,"html_url":"https://github.com/OmniSharp/generator-aspnet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmniSharp%2Fgenerator-aspnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmniSharp%2Fgenerator-aspnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmniSharp%2Fgenerator-aspnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmniSharp%2Fgenerator-aspnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmniSharp","download_url":"https://codeload.github.com/OmniSharp/generator-aspnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243538055,"owners_count":20307100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:00:58.258Z","updated_at":"2025-03-14T06:32:08.174Z","avatar_url":"https://github.com/OmniSharp.png","language":"HTML","funding_links":[],"categories":["Starter Kits","HTML","Resources","others","入门套件"],"sub_categories":["Workflow","Tools","工作流"],"readme":"# PROJECT ARCHIVED\n\n**This repo has been archived. You should now be using [`dotnet new`](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) for these scenarios.**\n\nThis was truly a community project, with more than 50 contributors. I'd like to specifically thank the following people for their significant contributions. This project couldn't have been a success without you.\n\n - [peterblazejewicz](https://github.com/peterblazejewicz)\n - [Spinarooni](https://github.com/Spinarooni)\n - [scottaddie](https://github.com/scottaddie)\n - [shirhatti](https://github.com/shirhatti)\n \n If you have some issue with the code and want to discuss, find us on twitter.\n  - [@SayedIHashimi](https://twitter.com/sayedihashimi)\n  - [@blazejewicz](https://twitter.com/blazejewicz)\n\n# generator-aspnet\n\n[![Build Status](https://travis-ci.org/OmniSharp/generator-aspnet.svg?branch=master)](https://travis-ci.org/OmniSharp/generator-aspnet)\n![Version](https://img.shields.io/npm/v/generator-aspnet.svg)\n![Downloads per month](https://img.shields.io/npm/dm/generator-aspnet.svg)\n\n\u003e NOTE: The content has been updated for .NET Core 1.0 SDK – RC4 (`.csproj` based) both LTS (1.0) and Current (1.1) versions\n\n## Yeoman generator for ASP.NET Core projects\n\n[![](https://cloud.githubusercontent.com/assets/14539/22796181/ac68db70-eef9-11e6-8c85-53215e7c1acc.gif)](https://github.com/OmniSharp/generator-aspnet 'ASP.NET Core Generator')\n\n## Getting Started\n\n- Dependencies:\n  - Node.js: `brew install node` for Mac OS X, `choco install nodejs` for Windows OS\n  - Yeoman: `npm install -g yo`\n  - Bower `npm install -g bower`\n- Install: `npm install -g generator-aspnet`\n- Run: `yo aspnet`\n\nSee also: [Building Projects with Yeoman on docs.asp.net](https://docs.asp.net/en/latest/client-side/yeoman.html?#building-projects-with-yeoman)\n\n## Usage\n\n* `yo aspnet` shows a wizard for generating a new ASP.NET Core app\n\n* `yo aspnet --help` shows flags and other configurable options\n\n## Template projects\n\nFull, template based projects available in generator:\n\n- Empty Web Application\n- Empty Web Application (F#)\n- Console Application\n- Console Application (F#)\n- Web Application\n- Web Application Basic [without Membership and Authorization]\n- Web Application Basic [without Membership and Authorization] \\(F#)\n- Web API Application\n- Web API Application (F#)\n- Nancy ASP.NET Application\n- Class Library\n- Class Library (F#)\n- MSTest Test project (MSTest)\n- xUnit Test project (xUnit.net)\n- Unit Test project (MSTest) (F#)\n- xUnit Test project (xUnit.net) (F#)\n\n\u003e Hey, we encourage you to contribute to .Net Core templates project: [https://github.com/dotnet/templating](https://github.com/dotnet/templating) in order to put community efforts into a single source project used by everyone in ecosystem. Thanks!\n\n\nThe Nancy project is based on framework's \"Hello World\" template:\n[Nancy Getting Started: Introduction](https://github.com/NancyFx/Nancy/wiki/Introduction)\n\nThe xUnit test project uses [xUnit: a free, open source, community-focused unit testing tool for the .NET Framework](https://xunit.github.io/)\n\nThe F# Templates are based on [Core F# Templates](https://github.com/odytrice/core-fsharp-templates) projects. They were translated into F# from the original [ASP.NET Templates](https://github.com/aspnet/Templates) \n\nThe templates that use client-side libraries are calling the `bower install` script to install Bower managed dependencies. You can skip the installation process by passing the `--skip-install` option to the generator, e.g. `yo aspnet --skip-install`. This should allow for a better experience when `Development` has been enabled.\n\nThe templates support both `LTS` and `Current` version of runtime. The `LTS` version is enabled by default (or enforced by `--version-lts` option). You can switch to `Current` version at any time by passing `--version-current` option when invoking generator: `yo aspnet --version-current`.\n\n## Command line automation\n\nThe project type and application name can be specified as optional command line arguments:\n\n```bash\nyo aspnet [projecttype [applicationname] [uiframework]]\n```\n\nThe valid project types are:\n\n- `web` for Empty Web Application\n- `console` for Console Application\n- `mvc` for Web Application\n- `mvcbasic` for Web Application Basic\n- `webapi` for Web API Application\n- `nancy` for Nancy ASP.NET Application\n- `classlib` for Class Library\n- `mstest` MSTest Test project (MSTest)\n- `xunit` xUnit Test project (xUnit.net)\n- `fsharp_web` for F# Empty Web Application\n- `fsharp_console` for F# Console Application\n- `fsharp_classlib` for F# Class Library\n- `fsharp_webapi` for F# Web API Application\n- `fsharp_mvcbasic` for F# Web Application Basic\n- `fsharp_mstest` for F# Unit Test project (MSTest)\n- `fsharp_xunit` for F# xUnit Test project (xUnit.net)\n\nThe valid UI framework types are:\n\n- `bootstrap` for Bootstrap (this is the default and does not have to be specified explicitly)\n- `semantic` for Semantic UI\n\n\u003e Example: `yo aspnet mvcbasic \"my semantic app\" semantic` will create a \"Web Application Basic\" project called \"my semantic app\" using the Semantic UI framework.\n\n\u003e Example: `yo aspnet mvcbasic \"my bootstrap app\"` OR `yo aspnet mvcbasic \"my bootstrap app\" bootstrap` will create a \"Web Application Basic\" project called \"my bootstrap app\" using the Bootstrap framework.\n\n## Sub Generators\n\nThe alphabetic list of available sub generators (_to create files after the project has been created_):\n\n* [aspnet:nugetconfig](#nugetconfig)\n* [aspnet:webconfig](#webconfig)\n\n** Note: files generated are created in the working directory, no conventions are forced **\n\n[Return to top](#top)\n\n### nugetconfig\n\nCreates a new `NuGet.config` file.\n\nExample:\n\n```\nyo aspnet:nugetconfig\n```\n\nProduces `NuGet.config`\n\n[Return to top](#top)\n\n### webconfig\n\nCreates a new Web Config file\n\nExample:\n\n```\nyo aspnet:webconfig\n```\n\nProduces `web.config`\n\n[Return to top](#top)\n\n## License\n\nCopyright 2014-2017 OmniSharp\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n[Return to top](#top)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmniSharp%2Fgenerator-aspnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOmniSharp%2Fgenerator-aspnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmniSharp%2Fgenerator-aspnet/lists"}