Граф коммитов

404 Коммитов

Автор SHA1 Сообщение Дата
Hao Kung 18f42b29ab SPA Angular 11->12 updates (dotnet/aspnetcore#33353)
Commit migrated from dotnet/aspnetcore@b29d6ad3f4
2021-06-08 11:50:58 -07:00
Javier Calvarro Nelson b7cdce87de [SPA] Fix start script on Linux/Mac (dotnet/aspnetcore#33042)
Commit migrated from dotnet/aspnetcore@387e499a90
2021-05-26 18:57:15 +00:00
Javier Calvarro Nelson deb4c6acd0 [SPA] Proxy cleanups (dotnet/aspnetcore#32997)
* Add description to package
* Automatically resolve proxy target based on available environment variables
* Introduce a temporary page while the proxy is launching and redirect to the proxy page when visiting the backend for the first time
* Switch to probing the proxy on a per-request basis. This helps in cases where the user closes the proxy window (for example when the app is run without debugging via Ctrl+F5) in IIS Express scenarios.

Commit migrated from dotnet/aspnetcore@64efb3eea5
2021-05-26 17:47:19 +00:00
Hao Kung 17f48c5c5c Remove redux spa template (dotnet/aspnetcore#32978)
Commit migrated from dotnet/aspnetcore@960bbbd87c
2021-05-25 08:07:59 -07:00
Hao Kung 6025e2e6b4 Update to react 17.0 (dotnet/aspnetcore#32045)
Commit migrated from dotnet/aspnetcore@23d7fb4adc
2021-05-07 09:53:23 -07:00
Hao Kung 14b60e92f8 Upgrade to angular 11 (dotnet/aspnetcore#32182)
Commit migrated from dotnet/aspnetcore@0011eff564
2021-05-06 09:52:07 -07:00
Hao Kung fdf973046c Revert "Revert "Use Random.Shared property (dotnet/aspnetcore#31453)" (dotnet/aspnetcore#31795)" (dotnet/aspnetcore#32221)
This reverts commit 068762619a.

Commit migrated from dotnet/aspnetcore@41fb256b7e
2021-04-28 02:33:28 +00:00
Phil Henning 859b111793 Localization Update (dotnet/aspnetcore#32016)
* Add missing ko-KR strings.json for WASM template
* other ko-KR updates
* Razor Class Library translation updates

Commit migrated from dotnet/aspnetcore@e82fafcf2a
2021-04-22 21:44:32 -07:00
Javier Calvarro Nelson 068762619a Revert "Use Random.Shared property (dotnet/aspnetcore#31453)" (dotnet/aspnetcore#31795)
This reverts commit c6346a336a.

It breaks or templates, we can make this change once we are consuming an SDK version that has the right bits.

Commit migrated from dotnet/aspnetcore@131d207102
2021-04-14 04:45:50 -07:00
Javier Calvarro Nelson 5fc7e6c240 [Templates] Update the react template to use the CLI proxy (dotnet/aspnetcore#31652)
Updates the react template to use the http-proxy-middleware for handling
the requests instead of the asp.net core proxy in the same way it's done
for the Angular template.

Commit migrated from dotnet/aspnetcore@e5667a925e
2021-04-10 01:48:50 +00:00
Javier Calvarro Nelson 23663598fc [SPA] Introduces new approach for proxying the SPA templates (dotnet/aspnetcore#31564)
* A new package Microsoft.AspNetCore.SpaProxy has been added that is
  used by the templates to launch their development proxy via npm/yarn.
* The SPA development proxy for each CLI now is the frontend for the
  application and proxies the requests to the backend which is the
  ASP.NET Core application.
* At publish time the application assets are copied to the wwwroot.
* SpaServices.Extensions has been removed from the templates since it is
  no longer needed. MapFallbackToFile("index.html") handles unknown
  requests and serves the SPA entry point.
* The templates have been updated to keep using HTTPS with the SPA proxy
  configured to use the ASP.NET Core HTTPS development certificate via a
  new aspnetcore-https.js file that ships within the template.
* The configuration for angular has been updated with a proxy.conf.js
  file to proxy requests to the backend.
* The entry point for the application in development is now
  https://localhost:5002 when using https and http://localhost:5002
  otherwise.

Commit migrated from dotnet/aspnetcore@6bc4b79f4e
2021-04-09 11:23:44 -07:00
Martin Costello c6346a336a Use Random.Shared property (dotnet/aspnetcore#31453)
* Use Random.Shared

Use the new .NET 6 Random.Shared static property where possible.
See https://github.com/dotnet/runtime/pull/50297.

* Revert WebApi-CSharp changes

For some reason I don't understand, this template doesn't see Random.Shared when compiled so this reverts the previous change for this template.

Commit migrated from dotnet/aspnetcore@2458822000
2021-04-02 22:26:27 +00:00
Justin Kotalik 16e2deb624 Default to Kestrel over IISExpress (dotnet/aspnetcore#31161)
Commit migrated from dotnet/aspnetcore@4aa39c3e73
2021-03-24 09:52:39 -07:00
Chris Ross c667ab7d3d Merge pull request dotnet/aspnetcore#30109 from dotnet-maestro-bot/merge/release/5.0-to-main
[automated] Merge branch 'release/5.0' => 'main'

Commit migrated from dotnet/aspnetcore@71c36e271e
2021-02-12 10:59:22 -08:00
Pranav K 3a2ace704f Merge remote-tracking branch 'origin/release/2.1'
Commit migrated from dotnet/aspnetcore@cde6633b4c
2021-02-11 16:31:49 -08:00
Pranav K 50d322823a Merge remote-tracking branch 'origin/release/5.0'
Commit migrated from dotnet/aspnetcore@c1a8b2f214
2021-02-11 16:14:31 -08:00
Phil Henning 8c5b89196f Update localization for templates. (dotnet/aspnetcore#30101)
# Conflicts:
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/cs-CZ/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/de-DE/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/ja-JP/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/pl-PL/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/tr-TR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/zh-CN/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/zh-TW/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/cs-CZ/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/de-DE/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/es-ES/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/ja-JP/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/pl-PL/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/pt-BR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/tr-TR/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/zh-CN/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/zh-TW/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/ru-RU/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/zh-TW/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-FSharp/.template.config/it-IT/strings.json
#	src/ProjectTemplates/Web.ProjectTemplates/content/Worker-FSharp/.template.config/ru-RU/strings.json

Commit migrated from dotnet/aspnetcore@c097bb9ce7
2021-02-11 10:58:32 -08:00
Safia Abdalla 2be19c501a Update Node dependencies for Angular template (dotnet/aspnetcore#29832)
Commit migrated from dotnet/aspnetcore@8e5e50916c
2021-02-10 15:50:42 -08:00
Safia Abdalla a2aaad17c4 Update Node dependencies for Angular template (dotnet/aspnetcore#29833)
Commit migrated from dotnet/aspnetcore@42ccba7f10
2021-02-10 11:17:37 -08:00
Pranav K 815b2424b3 Merge remote-tracking branch 'origin/release/3.1'
Commit migrated from dotnet/aspnetcore@f2b78c6de2
2021-02-10 11:13:50 -08:00
Safia Abdalla ab5296ad80 Update Node dependencies for Angular template (dotnet/aspnetcore#29831)
Commit migrated from dotnet/aspnetcore@11ddcc41a7
2021-02-09 14:29:27 -08:00
Hao Kung e63dd70461 Update precedence of templates for 6.0 (dotnet/aspnetcore#29361)
Commit migrated from dotnet/aspnetcore@39fda3f506
2021-01-19 09:18:20 -08:00
Doug Bunting d89ece2fb5 Merge pull request dotnet/aspnetcore#29267 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'

Commit migrated from dotnet/aspnetcore@4e439cadc5
2021-01-14 09:50:43 -08:00
Doug Bunting 72a260cae2 Merge branch 'master' into merge/release/5.0-to-master
Commit migrated from dotnet/aspnetcore@d7d647935d
2021-01-13 17:38:39 -08:00
Doug Bunting 983dfac91d Merge branch 'master' into merge/release/3.1-to-master
Commit migrated from dotnet/aspnetcore@809defe504
2021-01-13 17:19:51 -08:00
Safia Abdalla fb28e1f6c1 Update dependencies in SPA templates (dotnet/aspnetcore#27219) (dotnet/aspnetcore#28324)
Description
This PR updates the version of the caniuse-lite dependency to the latest version on our React and React/Redux SPA templates. The caniuse-lite dependency provides a database of browser features and their support across different browsers (as seen in caniuse.com). We were getting a warning because the dependency was out-of-date which meant that it was reporting compatibility info that was no longer accurate.

This PR also updates the version of node-sass to the latest version which no longer depends on the no-longer-supported Python 2.

Customer Impact
This bug was discovered during CTI validation.

This bug has a low severity because the user application can still run although JavaScript-based build tooling might report that the developer is leveraging browser features that aren't supported by the browser when they actually are.

Users can workaround this by running npx browserslist@latest --update-db inside their ClientApp directory. Users can also manually upgrade node-sass to v5 by editing their package.json file.

Regression?
No.

Risk
Low risk, because:

Change was validated manual
This fix applies the changes recommended by the browserlist library

Commit migrated from dotnet/aspnetcore@e0213bf8af
2021-01-13 10:24:04 -08:00
Javier Calvarro Nelson d919b67b35 [SPA] Updates outdated npm dependencies (dotnet/aspnetcore#29234)
## Description

Updates outdated dependencies for the Angular, React and React redux templates.

## Customer Impact

Customers creating new projects get obsolete versions of some javascript dependencies and need to update them manually.

## Regression?
- [ ] Yes
- [X] No

[If yes, specify the version the behavior has regressed from]

## Risk
- [ ] High
- [ ] Medium
- [X] Low

The changes only update dependencies and have been tested manually.

## Verification
- [X] Manual (required)
- [ ] Automated

## Packaging changes reviewed?
- [ ] Yes
- [ ] No
- [X] N/A

Commit migrated from dotnet/aspnetcore@94804f3100
2021-01-12 22:43:10 -08:00
Damla Köksal b062878df9 Added the missing space (dotnet/aspnetcore#27745)
Commit migrated from dotnet/aspnetcore@7d063ac993
2020-11-19 13:23:21 -08:00
John Luo 6cf4816331 Merge branch 'release/5.0'
Commit migrated from dotnet/aspnetcore@0c8d69b8fe
2020-11-13 22:37:16 -08:00
Safia Abdalla b08a749725 Update dependencies in SPA templates (dotnet/aspnetcore#27219)
Description
This PR updates the version of the caniuse-lite dependency to the latest version on our React and React/Redux SPA templates. The caniuse-lite dependency provides a database of browser features and their support across different browsers (as seen in caniuse.com). We were getting a warning because the dependency was out-of-date which meant that it was reporting compatibility info that was no longer accurate.

This PR also updates the version of node-sass to the latest version which no longer depends on the no-longer-supported Python 2.

Customer Impact
This bug was discovered during CTI validation.

This bug has a low severity because the user application can still run although JavaScript-based build tooling might report that the developer is leveraging browser features that aren't supported by the browser when they actually are.

Users can workaround this by running npx browserslist@latest --update-db inside their ClientApp directory. Users can also manually upgrade node-sass to v5 by editing their package.json file.

Regression?
No.

Risk
Low risk, because:

Change was validated manual
This fix applies the changes recommended by the browserlist library

Commit migrated from dotnet/aspnetcore@135f7820d1
2020-11-13 12:00:32 -08:00
Doug Bunting fd327a138c Shorten package version properties (dotnet/aspnetcore#27784)
* Shorten package version properties
- `$(...PackageVersion)` -> `$(...Version)`
- inspired by a similar dotnet/efcore change
- aligns names with Arcade SDK, meaning our values apply consistently

* Remove unused PublishSymbols.proj and related property
- restore Arcade's control of `$(MicrosoftSymbolUploaderBuildTaskVersion>)`
- would otherwise result in a version downgrade

* Update `$(MicrosoftNetCompilersToolsetVersion)` to match Arcade's value
- avoid using an older toolset
- now successfully overriding Arcade value

* Avoid an odd `CS8603` error
- delete the unused `GetOptionalProperty(...)` method

* Correct an unintentional change reading package metadata
- `%(ReferencePathWithRefAssemblies.NuGetPackageVersion)` is the correct name

Commit migrated from dotnet/aspnetcore@44c0e6651e
2020-11-13 10:52:40 -08:00
Benjamin Day 8c77eb45cf Added typescript fix for problem with specs created by "dotnet new angular --auth" (dotnet/aspnetcore#18295)
Commit migrated from dotnet/aspnetcore@2271952209
2020-11-03 11:01:47 -08:00
Eugene Ogongo 7bc5061170 [Templates] Normalize all the line endings in appsettings.* (dotnet/aspnetcore#27201)
Commit migrated from dotnet/aspnetcore@58471348eb
2020-10-30 02:36:30 -07:00
dotnet-maestro[bot] 81849f578b [master] Update dependencies from dotnet/runtime dotnet/efcore (dotnet/aspnetcore#26788)
[master] Update dependencies from dotnet/runtime dotnet/efcore


 - Update TFM net5.0 -> net6.0

 - Introduce $(TargetTFM)

 - TargetTfm -> DefaultNetCoreTargetFramework

 - Updated: NETCoreAppMaximumVersion

 - Apply suggestions from code review

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>

 - Fix version numbers used in Blazor WASM SDK

 - Address feedback from peer review

 - Fix check for platform version

 - Fix build config for dotnet-watch project

 - Update TFM net5.0 -> net6.0

 - Introduce $(TargetTFM)

 - TargetTfm -> DefaultNetCoreTargetFramework

 - Apply suggestions from code review

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>

 - Fix version numbers used in Blazor WASM SDK

 - Address feedback from peer review

 - Remove workaround in dotnet-watch tests

 - Testrunner to 5.0 and adding workarounds

 - Try props.in

 - net50

 - Fixup KnownFrameworkReference for integration tests

 - Resolve a few comments
- don't use repo-specific properties in shipping file
- pass `$(DefaultNetCoreTargetFramework)` into template files used in tests

 - Update src/Components/WebAssembly/Sdk/src/targets/Microsoft.NET.Sdk.BlazorWebAssembly.Current.targets

 - Update KnownFrameworkReference for template tests

 - Use DefaultNetcoreTFM

 - Undo change to props.in

 - Update src/ProjectTemplates/test/ProjectTemplates.Tests.csproj

 - Update GenerateTestProps.targets

- this is where `$(KnownAppHostPackOrFrameworkReferenceTfm)` is needed

 - Update src/ProjectTemplates/test/ProjectTemplates.Tests.csproj

- additional template input not needed here

 - Other file changes

 - Rename the one net5.0 directory in the repo

 - Fixup rebase remnants

 - Use runtime and ref/ assemblies matching repo in Helix testing
- add Directory.Build.*.in files based on project template test infrastructure
- use files as import boundary where the project doesn't create its own Directory.Build.* files
- ensure `dotnet-watch` tests also use the latest runtime and ref/ assemblies

 - Switch Directory.Build.*.in files in Helix content
- ensure item manipulation is done after base items exist

nit: Fix *.in exclusion

 - Update TFM workaround to reference 5.0 instead of 3.1 (dotnet/aspnetcore#26991)

 - Make some Directory.Build.*.in settings override-able
- that is, move some properties to Directory.Build.props.in

also
- fix `Condition`s that resulted in empty Directory.Build.targets
- separate Directory.Build.empty.in
- ensure RunTests project is _not_ affected by root Directory.Build.* files

 - Update SDK

 - Set `$(DefaultNetCoreTargetFramework)` in Helix root Directory.Build.props
= `dotnet-watch` tests otherwise fail with "The TargetFramework value '' was not recognized"

 - Extend Helix Directory.Build.* workarounds
- generate Directory.Build.* files when restoring any projects
- include generated files in Helix runs needing the latest runtime
- copy generated files when testing `dotnet-watch` locally
- include generated content in Microsoft.NET.Sdk.BlazorWebAssembly.IntegrationTests test assets
  - remove duplicate settings from existing Directory.Build.* files
- ensure shared framework and targeting packs are laid out under .dotnet/ before test assets restore

 - !fixup! Remove extra end tags

 - !fixup! Don't build GenerateFiles.csproj in desktop `msbuild`

 - !fixup! Arcade uses different test targets

 - Disable `crossgen` when building for Helix runs
- make `$(CrossgenOutput)` property override-able
- use override in CI jobs that submit to other platforms
  - for now, leave the ARM64 Helix jobs alone (build on Ubuntu, run in Debian)

nits:
- correct condition for `$(GenerateCrossgenProfilingSymbols)`
- set `$(ASPNETCORE_TEST_LOG_DIR)` in every step of the Helix build jobs

 - Ensure ReadRequest type can be loaded on server. Fixes dotnet/aspnetcore#26882 (dotnet/aspnetcore#26931)

 - Enable debugging when using embedded PDBs (dotnet/aspnetcore#27107)

* Fix debug using embedded PDBs.

* Check for either debugBuild or referenced PDBs

Co-authored-by: Thays <thaystg@gmail.com>

 - Ensure Blazor JS files are up-to-date

 - Merge branch 'master' into darc-master-76e24f4d-c90c-42ac-a1e5-411ae61ca37b

Commit migrated from dotnet/aspnetcore@219ecd6880
2020-10-27 07:04:33 +00:00
Chris Yungmann 603af13763 [Blazor] Removes unused oidc-client import WebStorageStateStore from AuthenticationService.ts (dotnet/aspnetcore#25427)
Removes unused oidc-client import WebStorageStateStore from AuthenticationService.ts

Commit migrated from dotnet/aspnetcore@f1b150eeab
2020-10-23 05:48:40 -07:00
Justin Kotalik c09b17185e Merge branch 'release/5.0-rc2' into master
Commit migrated from dotnet/aspnetcore@2b6cd9f606
2020-09-15 10:08:15 -07:00
Sayed Ibrahim Hashimi 7081cff5e6 Updating titles in project templates because in Visual Studio the (dotnet/aspnetcore#25630)
templates will be showing the templates directly in the New Project
Dialog instead in the One ASP.NET dialog.

In this PR I have updated the English titles. For localized strings we
will need to get those from the localization team. I believe we are not
setup for that to be automated here.

I think we should merge the English strings because they are the most
used, and for other locales we will show the old localized names for
now. If it's difficult to get those localized, I can work with @phenning
to see if we can localize those files this time.

Commit migrated from dotnet/aspnetcore@118d6b2986
2020-09-10 18:46:32 -07:00
Safia Abdalla e7053c1013 Merge branch 'release/5.0-rc2' of https://github.com/dotnet/aspnetcore into merge/release/5.0-rc2-to-master
Commit migrated from dotnet/aspnetcore@77825d9dde
2020-09-09 14:49:04 -07:00
Steve Sanderson ce43c4b354 Accessibility fixes (dotnet/aspnetcore#25678)
* Fix header tab ordering issues. Fixes 1163117

* Ensure text can be zoomed to 200% without switching to mobile layout. Fixes 1163184.

* Ensure "Log out" link can show focus state. Fixes 1162890

* Use screen reader-friendly link text. Fixes 1163642

* Update template test

Commit migrated from dotnet/aspnetcore@ecc2ba16b8
2020-09-09 11:08:10 -07:00
Doug Bunting b9bfc2b81e Merge branch 'master' into merge/release/5.0-rc2-to-master
Commit migrated from dotnet/aspnetcore@343595e406
2020-09-06 21:14:14 -07:00
John Luo b79b20c140 Add MigrationsEndPoint when DatabaseDeveloperPageExceptionFilter is used (dotnet/aspnetcore#25554)
Commit migrated from dotnet/aspnetcore@c902645115
2020-09-04 15:46:14 -07:00
Sébastien Ros 864e33e802 Merge branch 'master' into merge/release/5.0-to-master
Commit migrated from dotnet/aspnetcore@63fafc1bfb
2020-09-01 10:53:21 -07:00
John Luo e5f42b404e Fix Unhandled DBErrors in ComponentsWebAssembly and Spa templates (dotnet/aspnetcore#25466)
* Add workaround for EF issue dotnet/efcore#22341

Commit migrated from dotnet/aspnetcore@222dd67175
2020-09-01 07:26:33 -07:00
Chris Yungmann 82ac8c8584 remove unused rxjs operator tap import (dotnet/aspnetcore#25426)
remove unused rxjs operator tap import in login-menu.component.ts

Commit migrated from dotnet/aspnetcore@8957b01e51
2020-08-31 11:17:29 -07:00
Doug Bunting cfacf61d18 Use `$(AspNetCoreMajorMinorVersion)` more (dotnet/aspnetcore#25181)
- confirmed using `git show|sls '^- '|sls -NotMatch '\$\(AspNetCoreMajorVersion\)\.\$\(AspNetCoreMinorVersion\)'`

Commit migrated from dotnet/aspnetcore@a001eff0d7
2020-08-25 12:34:31 -07:00
Javier Calvarro Nelson ce3b55291f [Blazor][Identity] Update to the latest identity server version (dotnet/aspnetcore#25002)
* Updates to IdentityServer 4.0.4
* Updates templates with the new migrations.
* Fixes a small configuration bug that required the configuration for the key to be specified.
* Updates the error url in IdentityServer config to match our template defaults.

Commit migrated from dotnet/aspnetcore@38563dd8d1
2020-08-19 02:12:35 -07:00
John Luo 89e7cf3f47 Convert DatabaseErrorPage to exception filter (dotnet/aspnetcore#24588)
* Convert DatabaseErrorPage middleware to exception filter

Commit migrated from dotnet/aspnetcore@cfe158cbed
2020-08-17 11:13:17 -07:00
Ajay Bhargav B 647bd837e1 Made the encodings of .razor and .cshtml files in the repo consistent (dotnet/aspnetcore#23502)
* Added UTF8 BOMs to .razor and .cshtml files

* Fixes and unquarantined BOM tests

* Update .editorconfig

Commit migrated from dotnet/aspnetcore@7f4b846e9f
2020-06-30 12:03:01 -07:00
Doug Bunting 4cf7a0a537 Add missing doc files and cleanup nits (dotnet/aspnetcore#22931)
* nit: Remove useless `$(HasReferenceAssembly)` settings
  - set in /Directory.Build.targets
    - `true` only in `$(IsAspNetCoreApp)` projects
* nit: Remove useless `$(CompileUsingReferenceAssemblies)` settings
  - no current versioning differences between ref/ and src/ assemblies when targeting default TFM
* Add more `$(GenerateDocumentationFile)` settings
  - increases the number of generated doc files, mostly without problems
- !fixup! correct typo in `DebugProxyHost` doc comments
    - was not generating a doc file before
  - remove previous (ineffective) src/Components/Directory.Build.targets setting
  - nit: remove a duplicate `$(GenerateDocumentationFile)` setting
* nit: Remove useless `$(IsPackable)` settings
  - only analyzers and implementation projects are packable by default
    - main use case for explicit setting is projects shipping only in shared framework
  - conditional setting in src/Mvc/Directory.Build.props just subset logic in /Directory.Build.targets
* nit: Remove useless `$(IsProjectReferenceProvider)` settings
  - only implementation projects are providers by default
* nit: Remove useless `$(IsTestAssetProject)` settings
  - set in src/Mvc/test/WebSites/Directory.Build.props
* !fixup! Looks like `InProcessNewShimWebSite` must compile w/o ref/ assemblies
  - restore `$(CompileUsingReferenceAssemblies)` in this one project

Commit migrated from dotnet/aspnetcore@c4c6e25a06
2020-06-17 13:04:45 -07:00
Sébastien Ros b14cb57295 Merge pull request dotnet/aspnetcore#22790 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'

Commit migrated from dotnet/aspnetcore@fe24d85356
2020-06-10 18:19:19 -07:00