Commit Graph

257 Commits

Author SHA1 Message Date
Nate McMaster 263e369b2e
Merge branch 'release/2.1' into release/2.2 2018-07-03 17:21:16 -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
Nate McMaster 1f2e966454
Update templating to use netcoreapp3.0 2018-06-29 16:32:30 -07:00
Kiran Challa d4b8fee39f Upgraded AngularJS to 6.0 2018-06-27 10:27:39 -07:00
Pranav K e403187be3 ResponseCache attribute on RazorPages Error handler method should be moved to model
Fixes #553
2018-06-11 10:15:13 -07:00
Simon Grimshaw e1b08b2739 Removing dependency on redux-mock-store. 2018-06-04 16:25:44 -07:00
Simon Grimshaw f7a9b6f6a3 Fixing issue in the react and redux template where the test would fail as its not wrapped in a router. 2018-06-04 16:25:44 -07:00
Kiran Challa a5fb8a3d3c [Fixes #523] Fix the jquery.min.js file in RazorPages web application 2018-05-30 16:01:45 -07:00
Javier Calvarro Nelson 54fe5f73ca [Fixes #528] Windows authentication is not applied on launchSettings.json 2018-05-30 14:22:25 -07:00
Javier Calvarro Nelson 74883b2cf0 [Fixes #528] Windows authentication is not applied on launchSettings.json 2018-05-30 14:05:59 -07:00
Steve Sanderson 52a9e7a54d Remove obsolete reference in Angular template home. Fixes #470 2018-05-30 11:22:14 +01:00
Pranav K 6e67c9345c Remove reference to Microsoft.AspNetCore.Mvc.Razor.ViewCompilation from desktop templates
Fixes #530
2018-05-29 15:23:03 -07:00
Steve Sanderson 9e17d93acf Remove obsolete reference in Angular template home. Fixes #470 2018-05-24 21:11:59 +01:00
Pranav K c6b5001149 Remove reference to Microsoft.AspNetCore.Mvc.Razor.ViewCompilation from desktop templates
Fixes #530
2018-05-24 09:27:17 -07:00
Ryan Brandenburg 15ca3dcdaa Move templates to netcoreapp2.2 2018-05-18 09:28:12 -07:00
Kiran Challa 90fe58be75 [Fixes #523] Fix the jquery.min.js file in RazorPages web application 2018-05-16 17:30:20 -07:00
Nate McMaster f2df6763aa
Merge branch 'release/2.1' into dev 2018-05-16 12:44:04 -07:00
Nate McMaster ef9fa1868a
Fix SRI hash values for jquery (#521) 2018-05-16 11:49:40 -07:00
Kiran Challa b7eacbb1c3 Upgrade node-sass to 4.9.0
[Fixes #513] Angular template incompatible with NodeJs 10
2018-05-11 13:26:45 -07:00
Hao Kung c3992acf3a Update script to fixup app version 2018-05-07 11:36:44 -07:00
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