Labs Notice - This is a Cedita Labs project, and is offered unsupported. We encourage external contributions.
This Template contains 5 base projects to bootstrap any new web application, with default logging configuration, data project, test projects, and coding rulesets/stylecop all preconfigured.
WARNING: This might crash your VS on first load of the solution. This is tracked by Issue #1 and relates to lack of .ruleset or stylecop.json being created in the root solution directory. To resolve, once solution is created, close VS. Immeditaly copy stylecop.json and Cedita.ruleset into the
Solution/Project/.folder (1 level up from the 5 projects). Reopen solution.
To install the template:
- Download the
CeditaWebAppTemplate.zipfile. - Place the .zip file in
%userprofile%\Documents\Visual Studio 2017\Templates\Project Templates\Cedita.
You will find the template when creating a new solution, under the Visual C# -> Cedita section.
Create your project as the Product Name, and .Data/.Tests/.Web projects will be created off that.
HelloWorld is used as the project name in the below samples.
Application services project containing all of your domain logic.
Data project with EF Core 3 and Identity wired up.
Test project for HelloWorld.
Web project for the solution, should be set as Startup project.
Web Test Project for HelloWorld.Web to test controllers etc.