Commit Graph

11 Commits

Author SHA1 Message Date
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
Jass Bagga 767a857635
Set CompatibilityVersion for templates (#240)
Addresses #235
2018-01-18 16:11:09 -08:00
Nate McMaster 26833a02b1
Remove DotNetCliToolReference to dotnet-user-secrets (#212) 2017-12-29 14:27:31 -08:00
Javier Calvarro Nelson 5325c65b88 Replace identity code with built-in version on the templates 2017-12-29 11:45:10 -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
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
Javier Calvarro Nelson a80061f42b Move Identity to an Area for 2.1 2017-10-16 10:54:17 -07:00
Nate McMaster 5541615008 Automate dependency version selection
- Generate the template config file to include package versions as listed in dependencies.props
 - Update template cs/fsproj files to use variables per package
 - Fixup tests to run better on Linux/macOS
2017-10-12 16:44:55 -07:00
Steve Sanderson 967c1a50b8 Use Xunit's ITestOutputHelper throughout. Other minor tidy-ups. 2017-09-08 15:24:18 +01:00
Steve Sanderson 9174ca79fa Test both dev and published apps 2017-09-06 12:30:27 +01:00
Steve Sanderson a7593fdd19 Move tests to conventional location so they run automatically on build 2017-08-30 23:30:37 +01:00