Skip to content

C# web api / UI template project with Stylecop, DI, EF code first, unit tests and VueJs in a frontend

Notifications You must be signed in to change notification settings

tahq69/web-app-template

Repository files navigation

CRIP samples

This project is just a sample of 'perfect' web api application by my opinion.

Project consist of:

  • Castle.Windsor: dependency injection;
  • Microsoft test framework: unit tests;
  • Entity Framework: database ORM;
  • VueJs: javascript front-end library;

VS Extensions required:

How to use:

  • Add this project as new remote for your repisitory;
  • Update .\scripts\settings.ps1 file Target section with your project details;
  • Run powershell .\scripts\rename.ps1 to update project name and namespaces;
  • Fix namespace order error ocurrances in code;
  • Run for development:
    • Start .Web application on IIS / IISExpress;
    • Configure .Web application vue.config.js devServer.proxy property to target API server url;
    • In NPM Task Runner start serve task (it will show URL to open in browser with hot reload support);
  • Production build:
    • In NPM Task Runner start build task;
    • Publish .Web application to target IIS;

TODO list

About

C# web api / UI template project with Stylecop, DI, EF code first, unit tests and VueJs in a frontend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published