Commit Graph

196 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
Nate McMaster 7e43fae45d Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip]
Scripted changes:
- updated travis and appveyor.yml files to only build dev, ci, and release branches
- updated dependencies.props
- updated korebuild-lock.txt
- updated korebuild.json to release/2.1 channel
2018-01-31 15:01:13 -08:00
Jass Bagga ec90252b85
Merge pull request #264 from aspnet/jbagga/LaunchSettings263
Addresses #263
2018-01-26 16:19:27 -08:00
Jass Bagga c15cd757cf Set ASPNETCORE_URLS 2018-01-26 15:59:54 -08:00
Nate McMaster 9000769449 Update tests to only bind to the loopback IP address
Prevents dozens of firewall prompts from appearing while running tests
2018-01-25 12:25:34 -08:00
Nate McMaster 354905dc00 Set NodeJS 8 as a required toolset 2018-01-25 12:25:34 -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
Pranav K 222e3ccbb9
Merge release/2.0 to release/2.1 2018-01-25 11:50:31 -08:00
Pranav K a6eb93cfdd Merge branch 'release/2.0' into release/2.1
# Conflicts:
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/AccessDenied.cshtml
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/EnableAuthenticator.cshtml
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/EnableAuthenticator.cshtml.cs
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/GenerateRecoveryCodes.cshtml
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/GenerateRecoveryCodes.cshtml.cs
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Controllers/ManageController.cs
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Models/ManageViewModels/EnableAuthenticatorViewModel.cs
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Models/ManageViewModels/ShowRecoveryCodesViewModel.cs
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Manage/EnableAuthenticator.cshtml
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Manage/GenerateRecoveryCodes.cshtml
#	src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Manage/TwoFactorAuthentication.cshtml
2018-01-25 11:12:48 -08:00
Jass Bagga d978b0da6c
Revert "Update jQuery" (#257)
This reverts commit 78f4c7342b.
2018-01-24 17:17:57 -08:00
Steve Sanderson b1ccc31ccf Update SPA template identifiers to end with ".2.1". Fixes #230 2018-01-24 23:02:22 +00:00
Javier Calvarro Nelson 1e0bde0345 Update dependencies 2018-01-24 13:56:07 -08:00
Javier Calvarro Nelson 6ab9e94703 Upgrade dependencies 2018-01-23 21:14:03 -08:00
Javier Calvarro Nelson 2269a31983 [Fixes #245] Update Identity to use the default layout from the application.
Added /Areas/Identity/Pages/_ViewStart.cshtml and set the layout to the
applications layout.
2018-01-23 17:40:57 -08:00
Jass Bagga 78f4c7342b
Update jQuery (#250)
Addresses #248
2018-01-23 16:11:41 -08:00
Pranav K e8d3e2f2bd Branching for 2.1.0-preview1 2018-01-23 15:33:13 -08:00
Javier Calvarro Nelson d159cb9b00 Add application DbContext 2018-01-22 13:24:54 -08:00
Jass Bagga a177c557c5
[2.0.x PATCH] Add app.config to net 4.x templates (#231)
Addresses #170
2018-01-18 18:19:18 -08:00
Nate McMaster c786c029f4 Bump version, update build tools, and dependency versions 2018-01-18 16:30:43 -08:00
Jass Bagga 767a857635
Set CompatibilityVersion for templates (#240)
Addresses #235
2018-01-18 16:11:09 -08:00
Nate McMaster 67fab2fec6 Bump version to 2.0.6 and update build tools 2018-01-18 15:42:49 -08:00
Jass Bagga 785424eeaf Rename to .travis.yml 2018-01-18 14:04:28 -08:00
Jass Bagga 0bfe043f6d
Add yaml files (#241) 2018-01-18 13:59:09 -08:00
Hao Kung 5d2f598c80 Update initial migrations 2018-01-16 14:44:29 -08:00
Chris Ross (ASP.NET) eabde9fe9e Add CookiePolicy and consent UI 2018-01-09 12:42:07 -08:00
Jass Bagga 8ebe0a2d29
Derive Web API templates from ControllerBase (#220)
Addresses #45
2018-01-08 15:08:43 -08:00
ASP.NET CI c50e9e90f0 Update dependencies.props
[auto-updated: dependencies]
2018-01-06 15:41:25 -08:00
Jass Bagga da3a49a9b0
Add HttpsPort settings to Empty F# template (#219) 2018-01-05 11:08:47 -08:00
Phillip Carter 5b34474502 Update F# templates (#190) 2018-01-04 10:56:54 -08:00
Steve Sanderson 22da82ff8a Sync remaining Angular-CSharp changes from OOB release into dev branch 2018-01-04 11:10:35 +00:00
Steve Sanderson 0d9f17211f Fix @angular/platform-server version in package-lock.json 2018-01-04 11:01:28 +00:00
Steve Sanderson c637130f88 In React and ReactRedux templates, switch from npm-shrinkwrap.json to package-lock.json 2018-01-04 11:01:19 +00:00
Steve Sanderson 27878265bc Update Angular template to Angular CLI 1.6.3, plus switch it from npm-shrinkwrap.json to package-lock.json 2018-01-04 11:01:01 +00:00
Scott Addie 323453129d Remove yarn.lock file entry from .gitignore files 2018-01-02 16:16:47 +00:00
Steve Sanderson fa386c458b Remove bogus BuildServerSideRenderer property from React-Redux csproj. #1457 2018-01-02 12:14:30 +00:00
Nate McMaster b8424b0e8b Add property to skip installing the aspnetcore shared framework 2017-12-29 19:52:33 -08:00
Jass Bagga 9ad731bc33
Remove max-width from site.css for F# Starter Web template (#214) 2017-12-29 15:52:30 -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 8c94d27d6a [Fixes #181] Go back to server selected listening ports. 2017-12-28 19:00:29 -08:00
Jass Bagga 886a985726 Target netcoreapp2.1 2017-12-28 17:01:30 -08:00
Javier Calvarro Nelson 23afcab66c Update Korebuild and include shared runtime package 2017-12-28 17:01:30 -08:00
Nate McMaster 54a989bc29 Upgrade to build tools 2.1.0-preview1-15651 2017-12-28 16:07:17 -08:00
Jass Bagga e7749b9ccc
return ReturnUrl when ExternalLogin fails (#186)
Addresses #97
2017-12-14 10:29:36 -08:00
Jass Bagga eb74ea32f1
Add app.config to net 4.x templates (#191)
Addresses #73
2017-12-13 11:12:12 -08:00
Jass Bagga 6eaf1219f6
Use nameof() when returning Views (#196) 2017-12-13 11:11:32 -08:00
Biarity 13e4025dac Using nameof() instead of hard-coded string. (#188) 2017-12-12 12:05:06 -08:00
Jass Bagga 26ea920fa6
Set LoginProvider when ExternalLoginConfirmation fails (#187)
Addresses #98
2017-12-12 11:27:11 -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 e3674db32e Bump version to 2.0.5 to match the runtime 2017-12-08 11:14:04 -08:00