npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-wsu-fais

v0.3.3

Published

Yeoman generator for ASP.NET Core apps

Downloads

474

Readme

generator-aspnet

Build Status Version Downloads per month

NOTE: The content has been updated for .NET Core 1.0 SDK – RC4 (.csproj based) both LTS (1.0) and Current (1.1) versions

Yeoman generator for ASP.NET Core projects

Getting Started

  • Dependencies:
    • Node.js: brew install node for Mac OS X, choco install nodejs for Windows OS
    • Yeoman: npm install -g yo
    • Bower npm install -g bower
  • Install: npm install -g generator-aspnet
  • Run: yo aspnet

See also: Building Projects with Yeoman on docs.asp.net

Usage

  • yo aspnet shows a wizard for generating a new ASP.NET Core app

  • yo aspnet --help shows flags and other configurable options

Template projects

Full, template based projects available in generator:

  • Empty Web Application
  • Empty Web Application (F#)
  • Console Application
  • Console Application (F#)
  • Web Application
  • Web Application Basic [without Membership and Authorization]
  • Web Application Basic [without Membership and Authorization] (F#)
  • Web API Application
  • Web API Application (F#)
  • Nancy ASP.NET Application
  • Class Library
  • Class Library (F#)
  • MSTest Test project (MSTest)
  • xUnit Test project (xUnit.net)
  • Unit Test project (MSTest) (F#)
  • xUnit Test project (xUnit.net) (F#)

Hey, we encourage you to contribute to .Net Core templates project: https://github.com/dotnet/templating in order to put community efforts into a single source project used by everyone in ecosystem. Thanks!

The Nancy project is based on framework's "Hello World" template: Nancy Getting Started: Introduction

The xUnit test project uses xUnit: a free, open source, community-focused unit testing tool for the .NET Framework

The F# Templates are based on Core F# Templates projects. They were translated into F# from the original ASP.NET Templates

The 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.

The 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.

Command line automation

The project type and application name can be specified as optional command line arguments:

yo aspnet [projecttype [applicationname] [uiframework]]

The valid project types are:

  • web for Empty Web Application
  • console for Console Application
  • mvc for Web Application
  • mvcbasic for Web Application Basic
  • webapi for Web API Application
  • nancy for Nancy ASP.NET Application
  • classlib for Class Library
  • mstest MSTest Test project (MSTest)
  • xunit xUnit Test project (xUnit.net)
  • fsharp_web for F# Empty Web Application
  • fsharp_console for F# Console Application
  • fsharp_classlib for F# Class Library
  • fsharp_webapi for F# Web API Application
  • fsharp_mvcbasic for F# Web Application Basic
  • fsharp_mstest for F# Unit Test project (MSTest)
  • fsharp_xunit for F# xUnit Test project (xUnit.net)

The valid UI framework types are:

  • bootstrap for Bootstrap (this is the default and does not have to be specified explicitly)
  • semantic for Semantic UI

Example: yo aspnet mvcbasic "my semantic app" semantic will create a "Web Application Basic" project called "my semantic app" using the Semantic UI framework.

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.

Sub Generators

The alphabetic list of available sub generators (to create files after the project has been created):

** Note: files generated are created in the working directory, no conventions are forced **

Return to top

nugetconfig

Creates a new NuGet.config file.

Example:

yo aspnet:nugetconfig

Produces NuGet.config

Return to top

webconfig

Creates a new Web Config file

Example:

yo aspnet:webconfig

Produces web.config

Return to top

License

Copyright 2014-2017 OmniSharp

Licensed 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

http://www.apache.org/licenses/LICENSE-2.0

Unless 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.

Return to top