Go to file
Nate McMaster af616d9b99
Remove KoreBuild-isms from project templates (#667)
Removing MSBuild properties and items are for our build infrastructure, not for customers.
2018-08-10 11:01:56 -07:00
.vscode
.vsts-pipelines/builds Use bootstrap4 for templates 2018-08-06 10:16:35 -07:00
build Update dependencies.props 2018-08-06 20:54:17 +00:00
migrations Detect appversion automatically 2018-05-07 12:30:05 -07:00
scripts Experience review feedback 2018-08-08 10:57:45 -07:00
src Remove KoreBuild-isms from project templates (#667) 2018-08-10 11:01:56 -07:00
test Remove KoreBuild-isms from project templates (#667) 2018-08-10 11:01:56 -07:00
.appveyor.yml Fix broken tests 2018-08-06 07:22:55 -07:00
.gitignore Add package version to Microsoft.AspNetCore.App in project templates 2018-07-03 16:53:46 -07:00
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets Merge branch 'release/2.1' into release/2.2 2018-07-03 17:21:16 -07:00
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
README.md Use bootstrap4 for templates 2018-08-06 10:16:35 -07:00
Templating.sln Use dotnet-ef package (#433) 2018-04-03 10:36:06 -07:00
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-08-06 20:54:17 +00:00
korebuild.json Update infrastructure for the 2.2 release 2018-06-28 16:22:12 -07:00
run.cmd
run.ps1 Update bootstrapper scripts (automated commit) [ci skip] 2018-05-25 16:17:39 -07:00
run.sh Update bootstrapper scripts (automated commit) [ci skip] 2018-05-25 16:17:39 -07:00
version.props Bumping version from 2.1.2 to 2.1.3 2018-06-27 13:39:52 -07:00

README.md

Templates

Getting Started

ASP.NET Templates provide project templates which are used in .NET Core for creating ASP.NET Core applications.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.

Building Templates

  • Running build.cmd in this repo requires NPM which can be installed from https://nodejs.org/en/.
  • The ASP.NET localhost development certificate must also be installed and trusted or else you'll get a test error "Certificate error: Navigation blocked".
  • build.cmd (or build /t:package to avoid tests) will produce NuGet packages for each class of template in the artifacts directory. These can be installed via dotnet new -i {nugetpackage path}
  • You also need to get the packages these templates depend on into your package cache or else dotnet new restore will fail. The easiest way to get them to run is by letting the build run at least 1 test.

Running end-to-end tests

Prerequisites:

  • Install selenium-standalone (requires Java 8 or 9)
  • Open JDK9
  • npm install -g selenium-standalone
  • selenium-standalone install
  • Chrome Run selenium-standalone start Run build.cmd /t:Test