aspnetcore/src/ProjectTemplates
Ryan Brandenburg 8955a32ce9
MapController in RazorPages (#8685)
MapController in RazorPages
2019-03-27 10:49:33 -07:00
..
Web.Client.ItemTemplates Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00
Web.ItemTemplates Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00
Web.ProjectTemplates MapController in RazorPages (#8685) 2019-03-27 10:49:33 -07:00
Web.Spa.ProjectTemplates Experience for Razor SDK (#8731) 2019-03-22 17:33:20 -07:00
migrations Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00
scripts Improve local development of Templates (#8196) 2019-03-21 16:29:45 -07:00
test Improve local development of Templates (#8196) 2019-03-21 16:29:45 -07:00
testassets/DotNetToolsInstaller Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00
.gitignore Add launchSettings.json to worker template (#7550) 2019-02-13 15:54:15 -08:00
Directory.Build.props Add reference assemblies support (#7764) 2019-02-21 14:33:35 -08:00
Directory.Build.targets Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00
GenerateContent.targets Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00
ProjectTemplates.sln [Infrastructure improvements] (#8275) 2019-03-20 08:44:20 +01:00
README.md Update README.md 2019-03-26 09:59:44 -07:00
SetPackageProperties.targets Replace custom targets for generating assembly attributes and source control info by using SDK features (#7504) 2019-02-13 10:22:03 -08:00
THIRD-PARTY-NOTICES Use Bootstrap 3.4.1 and 4.3.1 (#7719) 2019-02-20 15:55:49 -08:00
TemplateProjects.props Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00
build.cmd Install the .NET Core SDK into the repo root instead of UserProfile and 'install' copy of AspNetCore shared framework (#7293) 2019-02-06 11:20:49 -08:00
templates.nuspec Convert ProjectTemplates to build using ProjectReferences (#6935) 2019-01-23 15:54:47 -08:00

README.md

Templates

Getting Started

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

Building Templates

  1. Run . .\activate.ps1 if you haven't already.

  2. Run build.cmd -all -pack in the repository root to build all of the dependencies.

  3. Run build.cmd in this directory will produce NuGet packages for each class of template in the artifacts directory.

  4. Because the templates build against the version of Microsoft.AspNetCore.App that was built during step 2 it is NOT advised that you install templates created on your local machine via dotnet new -i [nupkgPath]. Instead, use the Run-[Template]-Locally.ps1 scripts in the script folder. These scripts do dotnet new -i with your packages, but also apply a series of fixes and tweeks to the created template which keep the fact that you don't have a production Microsoft.AspNetCore.App from interfering.

  5. The ASP.NET localhost development certificate must also be installed and trusted or else you'll get a test error "Certificate error: Navigation blocked".

** Note** Templating tests require Visual Studio unless a full build (CI) is performed.