Commit Graph

237 Commits

Author SHA1 Message Date
Hao Kung f4f0821029 Merge release2.1 into dev 2018-05-03 13:25:01 -07:00
Hao Kung 89956df7ea
[Review] Updated migrations and scripts (#484)
* Update migrations

* Add regex for schema name and product version

* Fix ModelSnapshot product version

* Change version to 2.1.0
2018-05-03 13:22:26 -07:00
Jass Bagga cb064b68c1 Merge branch 'release/2.1' into dev 2018-05-03 11:48:40 -07:00
Jass Bagga 99114c25a4
Adjust spacing in csproj files (#492)
Address #462 and fix build break
2018-05-03 11:40:39 -07:00
Kiran Challa 8ce82e7512 Merge branch 'release/2.1' into dev 2018-05-01 13:36:27 -07:00
Kiran Challa 601f41026a Updated icon for RazorClassLibrary 2018-05-01 13:34:51 -07:00
John Luo cb3581869b Merge branch 'release/2.1' into dev 2018-04-20 11:42:22 -07:00
Steve Sanderson 2fd05bb65a Remove explicit dependencies on Microsoft.AspNetCore.SpaServices.Extensions now it's included in Microsoft.AspNetCore.App anyway 2018-04-20 11:55:09 +01:00
John Luo a8c3615df4 React to implicit Microsoft.AspNetCore.App reference 2018-04-19 16:49:13 -07:00
Jass Bagga cbc4d0d19c Merge branch 'release/2.1' into dev 2018-04-18 09:49:19 -07:00
Jass Bagga 13e746c289
Update THIRD-PARTY-NOTICES link and remove Package Management panel from carousel (#474)
Addresses #330 and #469
2018-04-18 09:42:27 -07:00
Jass Bagga a9c7c322cb
Add "webapp" alias to RazorPages template.json (#467)
Addresses #325
2018-04-13 14:01:20 -07:00
Jass Bagga 5d52701cd2
Add Error razor page to Spa templates (#464)
Addresses #332
2018-04-13 11:11:01 -07:00
Kiran Challa f824751bb9 Added Razor class library project template
[Fixes #323] Add a Razor class library project template
2018-04-13 04:21:49 -07:00
Jass Bagga c3ac7629d1
WebAPI launchUrl; MVC _LoginPartial; F# AllowedHosts (#463)
Addresses #455, #392, #445
2018-04-11 15:01:32 -07:00
Jass Bagga da32f45f58
Do not set sslPort if HTTPS not configured (#458)
Addresses #457
2018-04-10 12:02:10 -07:00
Jass Bagga 4236f0e51c
Fix AllowedHosts configuration (#452)
Addresses #451
2018-04-05 10:08:40 -07:00
Phil Henning 8a368b5610 Add supportedAuthentication for NoAuth in templates which have NoAuth (#443)
* Add supportedAuthentication for NoAuth in templates which have NoAuth

This is to work around an issue in Visual Studio

* Remove spurious ,

* Add supportedAuthentications to F# Web API vs-2017.3.host.json
2018-04-04 18:10:04 -07:00
Jass Bagga 52ffc89fef
Remove duplicated UseHttpsRedirection (#437)
Addresses #436
2018-04-03 14:02:52 -07:00
Jass Bagga f52359d202
Update AJAX CDN links (#430) 2018-04-02 16:25:24 -07:00
Jass Bagga 56fc40dbca
Revert "Revert "Update jquery-validation-unobtrusive (#421)"" (#426)
This reverts commit e6112a0911.
2018-04-01 23:29:52 -07:00
Pavel Krymets a76d51c46b Revert "Update jquery-validation-unobtrusive (#421)"
This reverts commit ac9addabcc.
2018-03-31 16:24:07 -07:00
Jass Bagga ac9addabcc
Update jquery-validation-unobtrusive (#421)
Addresses #15
2018-03-30 15:04:50 -07:00
Jass Bagga cb7942abe4
Add no-https option for all templates (#413)
Addresses #322
2018-03-29 13:59:47 -07:00
Jass Bagga aca30fe8a2
--no-https option for RazorPagesWeb-CSharp template (#362) 2018-03-29 13:49:20 -07:00
Chris Ross (ASP.NET) f25f411b68 Add HostFiltering configuration to templates 2018-03-27 12:13:24 -07:00
Pranav K ade5ae534d Set DebugType=full for .NET Framework projects 2018-03-27 08:59:54 -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
Hao Kung e1cb3f25ac Switch to AddDefaultIdentity 2018-03-26 12:18:01 -07:00
John Luo e3894a4609 Remove EF.Tools reference 2018-03-23 12:09:46 -07:00
Jass Bagga 4acda9dd9b
Set userBrowserLink to false for VS host file (#395)
Addresses #394
2018-03-22 17:04:09 -07:00
Jass Bagga b24e3b2e78
Use applicationUrl instead of ASPNETCORE_URLS (#390)
Addresses #328
2018-03-22 10:32:20 -07:00
Nate McMaster 899a298534
Fix package metadata to match default settings for aspnetcore (#389) 2018-03-21 18:10:31 -07:00
Jass Bagga 586c4ff780
Move layout and partial script to Shared dir (#368)
Addresses #340
2018-03-20 15:17:50 -07:00
Kiran Challa 69f52cc3b6 Removing Microsoft.AspNetCore.SpaTemplates project and friends 2018-03-20 13:46:11 -07:00
Jass Bagga f786df9dc9
Use partial tag helper (#375)
Addresses #338
2018-03-20 10:36:08 -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
Kiran Challa fa8fcc9a62 Made wwwroot 'copyOnly' to avoid modifications in it's files 2018-03-19 16:15:34 -07:00
Jass Bagga 79b4cafe68
Remove BOM from json files (#369)
Addresses #276
2018-03-19 10:11:00 -07:00
Hao Kung 7db6925ffc
Split sqllite and sql server migrations (#348)
* Split sqllite and sql server migrations

* Fix casing, move files around

* Remove if defs and add check
2018-03-13 11:41:16 -07:00
Jass Bagga dbc5e38d04
Match launchSettings variable to sourceName in template.json (#354)
Addresses #346
2018-03-13 09:52:20 -07:00
Scott Addie 0879dbd082 Convert ValuesController return types to ActionResult<T> (#351)
Addresses #339
2018-03-13 09:50:39 -07:00
Scott Addie 12c3cf028c Assign language and template type to 3 C# item templates (#343)
Addresses #341
2018-03-12 11:22:07 -07:00
Jass Bagga c4d1f20c78
Remove bundleconfig.json files from project templates (#335)
Addresses #326
2018-03-01 11:58:18 -08:00
Jass Bagga 8cac91b15e
Update jQuery (#307) 2018-02-22 14:39:18 -08:00
Steve Sanderson 7debea272c Update Angular template content to match @angular/cli@1.7.0 2018-02-21 13:56:19 +00:00
Javier Calvarro Nelson 2f42f8f8b4 Merge branch 'release/2.1' into dev 2018-02-09 15:07:53 -08:00
Javier Calvarro Nelson e81e124586 Fix whitespaces 2018-02-09 15:07:33 -08:00
Javier Calvarro Nelson 46bfdf1d14 Merge branch 'release/2.1' into dev 2018-02-09 14:57:10 -08:00
Javier Calvarro Nelson 1f3a26051d Fix duplicated namespace on startup 2018-02-09 14:56:18 -08:00
Javier Calvarro Nelson 8f005c7a58 Merge branch 'release/2.1' into dev 2018-02-09 14:19:40 -08:00
Javier Calvarro Nelson 025d366b83 Fix bad merge 2018-02-09 14:08:01 -08:00
Javier Calvarro Nelson 6bb798d2b7 Add minimumsamesitepolicy.None in the cookie policy options on the templates 2018-02-09 13:51:34 -08:00
Javier Calvarro Nelson 7a1f716fc0 Merge branch 'release/2.1' into dev 2018-02-09 13:39:09 -08:00
Javier Calvarro Nelson 67cf534bda Fix B2C templates 2018-02-09 13:20:16 -08:00
Hao Kung abe222eb53 Merge branch 'release/2.1' into dev 2018-02-08 12:39:58 -08:00
Hao Kung 06f1340f2a
[2.1] Update initial identity migration (#313) 2018-02-08 12:37:40 -08:00
Peter Blazejewicz 3d118de0d5 Pass properties to super in derived classes. Fixes #289
Thanks!
2018-02-08 11:17:15 +00:00
Peter Blazejewicz 6b44610079 Align class event handler creation with React docs
This is small change to align example React app with current advised way of assigning
event handlers that are declared as ES6 class methods:
https://reactjs.org/docs/handling-events.html

Thanks!
2018-02-08 11:17:09 +00:00
Steve Sanderson c000f6af2d Update Angular template to match @angular/cli@1.6.8 output 2018-02-08 11:03:00 +00:00
Jass Bagga acc2147ac5
Merge pull request #315 from aspnet/release/2.1
Remove hard coded copyright year
2018-02-07 14:28:39 -08:00
Jass Bagga 6b490836b1 Remove hard coded copyright year 2018-02-07 14:13:02 -08:00
Jass Bagga b177f5a145
Merge pull request #304 from aspnet/release/2.1
Remove F# web app VS host file
2018-02-05 10:42:02 -08:00
Jass Bagga cc14da18eb Remove F# web app hosts file 2018-02-05 10:14:14 -08:00
Eilon Lipton 062f6b4d31
Merge pull request #284 from peterblazejewicz/fix/279
Add empty TypeScript starter template file. Closes #279
2018-02-02 16:35:37 -08:00
Javier Calvarro Nelson 216e9f62c4 Fix kestrel urls in launchSettings.json 2018-02-02 16:10:15 -08:00
Javier Calvarro Nelson a4427f5263 Fix kestrel urls in launchSettings.json 2018-02-02 16:07:02 -08:00
Jass Bagga 66750bb20a
Merge pull request #285 from aspnet/release/2.1
Adding host configurations for F# templates (#281)
2018-02-02 12:19:37 -08:00
Jonathon Marolf 8079ab8b58 Adding host configurations for F# templates (#281) 2018-02-02 12:18:50 -08:00
Peter Blazejewicz ebeb7b93f9 Add empty TypeScript starter template file. Closes #279
No content, the header with the same CTA as in site.js

And no BOM, there is no policy to enforce it in the repo.

Thanks!
2018-02-02 21:14:20 +01:00
Javier Calvarro Nelson fe3d4f0d8b Merge branch 'release/2.1' into dev 2018-02-02 10:33:03 -08:00
Javier Calvarro Nelson 1ea32bd569
[Fixes #283] Updates vs-2017.3.host.json to include the HTTP port 2018-02-02 10:32:19 -08:00
John Luo bd9e53015d Merge branch 'release/2.1' into dev 2018-02-01 14:48:34 -08: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
Jass Bagga ba0abd2285
Add missing bootstrap and js min files to RazorPages template (#269)
Addresses #217
2018-01-30 14:09:03 -08:00
Jass Bagga e8816350ef
Add namespace for SignedOut.cshtml.cs (#266)
Addresses #205
2018-01-29 14:03:14 -08:00
Jass Bagga c15cd757cf Set ASPNETCORE_URLS 2018-01-26 15:59:54 -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 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 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
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
Jass Bagga 767a857635
Set CompatibilityVersion for templates (#240)
Addresses #235
2018-01-18 16:11: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
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
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