Commit Graph

26 Commits

Author SHA1 Message Date
Justin Kotalik 70a786adcd
Make AspNetCoreHostingModel element not be insert when targeting net461 and inprocess => InProcess (#797) 2018-10-24 11:36:07 -07:00
Ryan Brandenburg 7d09ec6ccc
Low hanging fruit (#763)
Clean up low hanging fruit
2018-10-10 12:12:11 -07:00
Ryan Brandenburg c6347f035f Conditionally include RootNamespace 2018-09-25 15:48:08 -07:00
Pavel Krymets 26710080fe
Set AspNetCoreHostingModel in templates (#716) 2018-08-29 16:08:58 -07:00
Ryan Brandenburg ccb2c006aa Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2 2018-08-29 15:21:15 -07:00
Patrick Westerhoff 208f6ff568 Fix #574: Set NoDefaultLaunchSettingsFile
When a project is created with ExcludeLaunchSettings enabled, set the
NoDefaultLaunchSettingsFile property to prevent Visual Studio from
creating a launchSettings.json.
2018-08-29 11:35:16 -07:00
Nate McMaster afa93f1852
Merge branch 'release/2.1' into release/2.2 2018-08-28 10:14:24 -07:00
Ryan Brandenburg 9c28f95b12 Add Microsoft.AspNetCore.Razor.Design to templates (#674) 2018-08-28 09:41:15 -07:00
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
Nate McMaster 0435add47a
Merge branch 'release/2.1' into release/2.2 2018-07-24 11:59:30 -07:00
Nate McMaster 55b697ab05
Revert "Add package version to Microsoft.AspNetCore.App in project templates"
This reverts commit 727bd52b64.
2018-07-18 13:11:01 -07:00
Nate McMaster 727bd52b64
Add package version to Microsoft.AspNetCore.App in project templates
As discussed in aspnet/Home#3292, we're reversing course on the implicit package version feature. This adds a package version for Microsoft.AspNetCore.App to the `dotnet new` and VS templates.
2018-07-03 16:53:46 -07:00
Ryan Brandenburg 15ca3dcdaa Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
John Luo a8c3615df4 React to implicit Microsoft.AspNetCore.App reference 2018-04-19 16:49:13 -07:00
Jass Bagga cb7942abe4
Add no-https option for all templates (#413)
Addresses #322
2018-03-29 13:59:47 -07:00
Javier Calvarro Nelson a8246e2a99 [Fixes #327] Replace AAD template code with packages
* Add Microsoft.AspNetCore.Authentication.AzureAD.UI package.
* Add Microsoft.AspNetCore.Authentication.AzureADB2C.UI package.
* Remove AccountController.
* Remove Pages/Views related to authentication.
2018-03-26 20:37:46 -07:00
Jass Bagga cbdc7bd3b8
Remove tools references and explicit EF.Design reference (#370)
Addresses #99 and #357
2018-03-19 16:27:54 -07:00
John Luo 94cfac8ec6 Use Microsoft.AspNetCore.App in templates
- Add BrowserLink and Sqlite for Razor and StarterWeb templates when required
- Add tests for LocalDB scenarios
2018-02-01 12:52:05 -08:00
Nate McMaster 04dfc5cc6b Remove RuntimeFrameworkVersion from the templates
This property is no longer needed because the Microsoft.AspNetCore.All and .App packages set the shared framework version. RuntimeFrameworkVersion is inferred by Microsoft.NET.Sdk
2018-01-25 12:25:34 -08:00
Nate McMaster 26833a02b1
Remove DotNetCliToolReference to dotnet-user-secrets (#212) 2017-12-29 14:27:31 -08:00
Jass Bagga 886a985726 Target netcoreapp2.1 2017-12-28 17:01:30 -08:00
Javier Calvarro Nelson 4d2e642b94 Add launchSettings.json by default to our templates
* Adds launchSettings.json to all of our templates.
* Provides an alternative flag to exclude it.
* Adds HTTPS support in launchSettings.json.
* Re-adds HTTPS redirect and HSTS middleware for C# templates.
* Improves some infrastructure aspects:
    * Prefix all our test projects with AspNet.Template to allow easy
      killing of orphaned processes.
    * Setup an HTTPS certificate automatically for use with tests in the
      same way our tooling does it on customers machines.
    * Switch from OS selected ports to randomly selected ports. This is
      required as we need to know the port to use for HTTPS.
    * Allow disabling browser automation through an environment variable.
    * Setup Firefox to allow untrusted certificates when using Selenium.
    * Allow running Selenium tests on firefox by setting an environment
      variable.
2017-12-08 13:08:36 -08:00
Justin Kotalik 9d9daa8db7
Removes Https middlewares from templates (#157) 2017-11-17 11:02:10 -08:00
Justin Kotalik 726da0f11f
Fix HttpsPolicy dependency for full framework (#151) 2017-11-14 11:59:41 -08:00
Nate McMaster aee0d26d67 Merge build infrastructure changes from rel/2.0.3
Changes:
- Replaces PackageLineup with the dependencies.props approach to manage package versions.
- Generate the csproj/fsproj files that go into template packages
- Remove the DependencyUpdater and PullRequestSubmitter tasks
- Remove bower.json and bowerrc from Microsoft.DotNet.Web.ProjectTemplates
- Set MyGet feeds via MSBuild instead of NuGet.config
- Upgrades to the functional tests
- Update Selenium
- Make it possible to run tests on macOS/linux
- Disable test parallelization
2017-11-06 16:06:24 -08:00
Nate McMaster 1ffcf2c009 Reorganize repo branch and project folder structure
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.

Branches:

rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1
2017-11-06 10:19:59 -08:00