Code Monkey home page Code Monkey logo

generator-dotnet-project's Introduction

Dotnet Project Generator

Build Status Dependency Status

Helps you bootstrap your respository for a dotnet project.

Project strucure based on .Net Project Structure

Uses dotnet new to scaffold the project to keep up as the cli templates change.

Getting Started

  • Install npm install -g generator-dotnet-project
  • Run yo dotnet-project

Options

New project huh? Weve got you covered, just answer a few questions...
 What is the name of your project? Project.Web
 What is the name of your solution? Project
 What kind of project? webapi
 Would you like a unit test project? Yes
 Would you like an .editorconfig? Yes
 Do you need to install private nuget packages? Yes
 What is the url to the private nuget server? https://nuget.company.com/nuget

What you get

├── Project.sln
├── nuget.config
├── readme.md
├── src
│   └── Project.Web
│       ├── Controllers
│       │   └── ValuesController.cs
│       ├── Program.cs
│       ├── Project.Web.csproj
│       ├── Properties
│       │   └── launchSettings.json
│       ├── Startup.cs
│       └── appsettings.json
└── tests
    └── Project.Web.Tests.Unit
        ├── Project.Web.Tests.Unit.csproj
        └── UnitTest1.cs

Opinions

Options may be added later, but here is they are:

  • Removes appsettings.Development.json (you should store overrides in your environment)
  • Adds Environment setting to appsettings.json (most projects use this eventually)
  • Unit test style xUnit + Moq

License

MIT

generator-dotnet-project's People

Contributors

jarlotee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.