Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-29Route tooling redux (#44077)James Newton-King
2022-08-01Split Blazor WASM Auth Tests to New Project (#42879)Tanay Parikh
* Split Blazor WASM Auth Tests to New Project * Remove func moved to base class. * Add to sln files * Update parent proj * File rename -> BlazorWasmTemplateAuthTest * Fix .slnf files
2022-07-20Adding the rest of WebTransport into Kestrel (#42097)Daniel Genkin
2022-07-16Support loading OIDC options from configuration (#42679)Safia Abdalla
* Support loading OIDC options from configuration * Address feedback from review * Address review feedback * Support fallbacks for all options and override lists * Fix up Enum.Parse and default for Authority
2022-07-15Uniquify `$(TestPackageRestorePath)` values (#42722)Doug Bunting
- avoid contention for the directory between template test projects - introduce `$(RestoreFolderName)` to avoid some duplication - nit: move the Blazor template test folder together w/ the rest - correct old BlazorTemplates.Tests refs
2022-07-13Make RateLimitingMiddleware endpoint aware (#42417)William Godbe
* Add IEndpointConventionBuilder extensions for RateLimitingMiddleware * Some changes * More * Rename * More * More fixes * More stuff * Example of activating * Changes * More stuff * Name change * Fix some stuff * Fixup * Add some tests * More tests * Renames * Minor * Some feedback * No more reflection * Try to satisfy linuc * Suppress linker warning * Fix linkability bug * Add sample project (not yet usable) * Fix sample, fix some feedback * Feedback * Some feedback * Different key strategy * New DefaultKeyType strategy * HashCode.Combine * Feedback again * Small fixes * Update compilah * Feedbacks * Fix comment * Feedbock
2022-07-13Rename RouteHandlerFilter to EndpointFilter (#42678)Stephen Halter
2022-07-06Delete deprecated AzureAD identity UI packages (#42546)Hao Kung
* Delete deprecated AzureAD identity UI packages * Update Microsoft.DotNet.Web.ProjectTemplates.csproj * Update ProjectReferences.props * Remove project
2022-06-24Split Blazor templates into 2 projects (#42382)Brennan
2022-06-23Custom HTML elements rendering Blazor components (#42314)Mackinnon Buck
2022-06-23Output caching middleware (#41037)Sébastien Ros
* Create output caching middleware * Fix MVC attribute * Update src/Middleware/OutputCaching/src/Policies/EnableCachingPolicy.cs Co-authored-by: Kahbazi <A.Kahbazi@gmail.com> * Update src/Middleware/OutputCaching/src/DispatcherExtensions.cs Co-authored-by: Kahbazi <A.Kahbazi@gmail.com> * Update src/Middleware/OutputCaching/src/Policies/PredicatePolicy.cs Co-authored-by: Kahbazi <A.Kahbazi@gmail.com> * Update src/Middleware/OutputCaching/src/Policies/ExpirationPolicy.cs Co-authored-by: Kahbazi <A.Kahbazi@gmail.com> * Fix mention of response cache * Update src/Middleware/OutputCaching/src/OutputCachingPolicyProvider.cs Co-authored-by: Kahbazi <A.Kahbazi@gmail.com> * Use IReadOnlyList in IPoliciesMetadata * Add XML documentation * Missing changes * Remove unused file * PR feedback * Fix build * Add Path sample * Fix build * Update public api * Fix typos [skip ci] * Update sample [skip ci] * Fix build * API cleaning and test project * Update src/Middleware/OutputCaching.Abstractions/src/Microsoft.AspNetCore.OutputCaching.Abstractions.csproj Co-authored-by: James Newton-King <james@newtonking.com> * Update src/Middleware/OutputCaching/src/Microsoft.AspNetCore.OutputCaching.csproj Co-authored-by: James Newton-King <james@newtonking.com> * Update TrimmableProjects * Fix solution * Improve ThrowIfNull usage * API review feedback * Add more tests * Update API * Clean up api * Update unit tests * Remove CachedResponseHeaders from public API * Fix unshipped file * API review feedback * Fix unit tests * Feedback * Refactor resolved policies * Clean sample * Provide HttpContext in VaryByValue * Reduce public API * Apply API review changes * Add more tests * Add more tests * Apply PR feedback * PR feedback * PR feedback * Brennan's * Update submodule (#42357) Co-authored-by: Kahbazi <A.Kahbazi@gmail.com> Co-authored-by: James Newton-King <james@newtonking.com>
2022-06-17Fix flakyServerReset_AfterEndStream_NoError test (#42030)Stephen Halter
Co-authored-by: James Newton-King <james@newtonking.com>
2022-06-15Fix http/https launch profile creation in project templates (#42143)Damian Edwards
* Updated http/https profile definitions in project templates * Update all project tests to cover http/https profile creation * Normalize on inferred array types * Moved ProjectTemplate.Tests to sub-dir * Split out project templates test projects to reduce Helix job run time Fixes #42138
2022-06-06Change project templates to have separate "http" and "https" launch profiles ↵Damian Edwards
(#42027) * Project templates have separate "http" and "https" launch profiles * Update test targets for dotnet-ef targeting net6.0 Fixes #41982
2022-06-04Add Request Decompression middleware (#40279)David Acker
Co-authored-by: Pranav K <prkrishn@hotmail.com> Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
2022-06-01Add dotnet user-jwts tool and runtime support (#41520)Safia Abdalla
* Add dotnet dev-jwts tool * Add dotnet dev-jwts tool * Address feedback from review * Rename project file * Write auth config to app settings * Address more feedback * :seal: * Apply suggestions from code review Co-authored-by: Brennan <brecon@microsoft.com> * Address more feedback * Add framework support for authentication changes * Add tests for user-jwts CLI and react to feedback * Move ConsoleTable implementation to avoid conflicts in ProjectTemplates * Update existing auth tests and fix middleware registration * Update AzureAdB2C tests and auth app builder * Fix build and move registration check * Fix up resolution for Certificate test sources * Fix write stream configuration for writing key material * Fix handling missing config section when processing options Co-authored-by: Brennan <brecon@microsoft.com>
2022-05-18Move RateLimiting projects in their own folder (#41734)Sébastien Ros
2022-05-02!fixup! Reference Html.Abstractions projects (#41413)Doug Bunting
* !fixup! Reference Html.Abstractions projects - previous wildcard missed Microsoft.AspNetCore.Html.Abstractions.Tests.csproj - Microsoft.AspNetCore.Html.Abstractions.csproj missed too but referenced elsewhere * Add Microsoft.AspNetCore.Html.Abstractions.Tests to sln - create usual VS files in src/Html.Abstractions * Fix problems in Html.Abstractions.Tests code - use file-scoped `namespace`s - remove unused `using`s - convert one `using` to be a `using` statement * Add VS Code files for Html.Abstractions
2022-04-30Helix Restore Issue Mitigation (#41311)Tanay Parikh
* RunTests dotnet run --no-build * Remove duplicate run * Add to Build.props * Treat CA2007 as a warning in RunTests * NoWarn CA2007 * Ignore NU5104 for System.CommandLine prerelease package * PR Feedback * PR Feedback * Generate .config/dotnet-tools.json - add generation to GenerateFiles.csproj - include all required versions in eng/Versions.props - nit: bump tool versions slightly - `dotnet-dump` move from `5.0.0-*` to `6.0.322601` is largest version bump - have `git` ignore generated file - nit: put `*.svclog` together w/ other extension exclusions * Add tool packages to Helix correlation payloads * Do not restore tools from network - get tool packages from Helix correlation root - to do this, save and restore NuGet.config file - this removes `--version` from `dotnet-dump` and `dotnet-ef` installations - will only have a single package for each tool in the correlation payload * Do not pass `dotnet-ef` version to `RunTests` - mostly cleanup; no longer needed * Remove DotNetToolsInstaller.csproj - mostly cleanup - `dotnet-ef` tool now restored by Arcade's Tools.proj much earlier in our build because most configured tool packages are needed in `RunTests` on Helix agents * Add `--playwright` option in `Runtests` - remove `INSTALLPLAYWRIGHT` define and `$env:INSTALLPLAYWRIGHT` - always reference Microsoft.Playwright in `RunTests` - nit: `InstallPlaywrightAsync()` wasn't `async`; fix it and rename to `InstallPlaywright()` * Use Arcade SDK in `RunTests` and `Publish` project - match most other projects in this repo - remove empty Directory.Build.props and .targets files preventing Arcade imports - exclude project build if `$(SkipTestBuild)` (though not a test project) * Correct minor problems in `RunTests` source * Use file-scoped namespaces in `RunTests` source * Use VS code fixes in `RunTests` * Use published `RunTests` output on Helix agents * Move `RunTests` under eng/tools/ - don't need the project on Helix agents - restore Directory.Build.* files removed when switching to Arcade * Add `RunTests` to tools.slnf * Rename `RunTests` project to `HelixTestRunner` - less confusing given `RunTests` target and runtests.sh et cetera * !fixup! Define `$(ArtifactsBinDir)` in helix.proj * !fixup! Use `$(Configuration)` in helix.proj * !fixup! Fix typo in property function * !fixup! Fix `dotnet` syntax in runtests.sh * !fixup! Correct `%(HelixCorrelationPayload.Destination)` Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2022-04-20Implement minimal RateLimitingMiddleware (#41008)William Godbe
* First RateLimiting commit * More * ctrl-s * lil bit * Small * Check-in launchSettings.json files from Middleware (#40695) * sln * More * More * More * Remove stuff * rm * Not SharedFx * Feedback * Internal+IVT * Feedback * Feedback chunk 1 * Feedback chunk 2 * Small feedback * Fix extension methods * Small fix * Func * Config status code * Feedback, add servicecollection extension * Update API * Some feedback * Lil more feedback * Partially fix test * Fix/Add tests * Add another test
2022-04-19Add Microsoft.AspNetCore.OpenApi package (#41238)Safia Abdalla
* Add Microsoft.AspNetCore.OpenApi package Fix up schema type generation Post review polish Add new package to templates Split out SchemaGenerator Clean up usings * Address feedback from peer review * Move OpenApi package to top-level directory in src * Clean up HttpAbstractions filter * Update ProjectReferences and templates * Fix up ProjectReferences and address feedback * Add new directory to Build.props and clean up sln
2022-04-08Introduce the Results<TResult1, TResult2, TResultN> union types (#40986)Damian Edwards
Fixes #40672
2022-04-01Remove some unused code from installers (#40956)Hao Kung
2022-03-27Add gRPC JSON transcoding (#40242)James Newton-King
2022-03-10Arm64 installers Take 2 (#40562)Hao Kung
2022-03-06Revert "Working ANCM arm64 installers (#39523)" (#40558)Hao Kung
This reverts commit b4ccd7ba89e02565b68422cecc4154a96c19fb7e.
2022-03-05Working ANCM arm64 installers (#39523)Hao Kung
2022-03-02Use libnethost to find hostfxr (#39810)Hao Kung
2022-02-24Add LinkabilityChecker tool (#40342)James Newton-King
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2022-01-29Fork component analyzers (#39796)Pranav K
* Fork component analyzers This is an attempt to resolve the open https://github.com/dotnet/aspnetcore/pull/30102 PR. Microsoft.AspNetCore.Components.Analyzers ships as a part of the .NET SDK and the analysis applies to all apps starting in .NET 3.1 or newer. Adding new analyzers to this assembly was problematic since it would result in new warnings in existing apps when users updated the SDK. This PR forks the Component.Analyzers to produce a new Components.SDKAnalyzers analyzer assembly. Components.Analyzers is also added to the targeting pack so it allows us to produce TFM specific analysis. * Apply suggestions from code review Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com> Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>
2022-01-25.ConfigureAwait(false) in SignalR client libraries (#39728)Stephen Halter
2022-01-08Build ARM64 in main windows build job (#38997)Hao Kung
2022-01-07Components E2E test cleanup (#39349)Steve Sanderson
2021-12-10Quarantine ShadowCopyCleansUpOlderFolders (#38932)Stephen Halter
2021-12-01Remove razor-compiler from aspnetcore (#38706)Pranav K
* Remove razor-compiler from aspnetcore Follow up to migrate code to the dotnet/razor-compiler repo * Fixup
2021-11-15Remove Blazor Playwright Component E2E Tests in E2ETestMigration (#38344)Tanay Parikh
Fixes #37929
2021-11-11Let VS update our solution (#38270)Doug Bunting
2021-11-04Remove MinimalSampleFSharp.fsproj from sln (#32144)Stephen Halter
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2021-11-02Remove Libuv transport and dependency #38002 (#38005)Chris Ross
2021-11-01Update StartupAnalyzers to use Analyzer.Testing library (#37934)Pranav K
* Update StartupAnalyzers to use Analyzer.Testing library * Remove checked in test files and inline their sources * Replace use of home-brew library with roslyn's testing library Contributes to https://github.com/dotnet/aspnetcore/issues/9431
2021-10-27Strongly-typed SignalR hub proxies and callback handlers (#33717)Mehmet Akbulut
2021-09-18Fix and test HttpSys delegation (#36677)Chris Ross
2021-09-16Dougbu/check.solution.filters (#36449)Doug Bunting
* Check solution filters - confirm all mentioned projects are in AspNetCore.sln - clean up CodeCheck.ps1 - avoid aliases - rework long lines - avoid deprecated `dotnet run -p` - improve output a bit - correct whitespace - there can be only one - we have just one solution file - solution file should mention projects _once_ * Add missing projects to AspNetCore.sln - Middleware.slnf contained projects that no longer exist eg. NodeServices - VS also sorted the file and VS 2019 added ARM64 configurations - a few other solution filters still referenced removed and moved projects - correct capitalization in some solution filters Note: Unable to load some WiX projects in VS 2019 or _any_ in VS 2022 (WiX extension unavailable for 2022) * Remove trailing comma in a solution filter
2021-09-14Cherry-pick mismatched parameter optionality analyzer and clean up ↵Safia Abdalla
directories (#36379) * Add analyzer for detecting mismatched endpoint parameter optionality (#36154) * Add analyzer for detecting mismatched endpoint parameter optionality * Address feedback from code review * Factor out CodeFixes and Analyzers to separate assemblies * Address more feedback from review * Address code checks * Clean up folder structure * Update solution file and address feedback * Update src/Framework/Framework.slnf Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com> * Add test project to solution file Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2021-08-24Fix 'HeadOutlet' getting trimmed away for Blazor WebAssembly prerendered ↵Mackinnon Buck
apps after publish (#35419)
2021-08-19Add an analyzer that complains when using using model binding attributes ↵Pranav K
with a minimal action delegate (#35359) * [x] Complain when using MVC binding attributes with minimal action Fixes https://github.com/dotnet/aspnetcore/issues/35088
2021-08-17[Static web assets] Removes private reflection from ↵Javier Calvarro Nelson
Identity.DefaultUI.WebSite by giving it IVT access in Hosting These tests need to disable polling within the underlying file provider, given that the provider is internal, they were using reflection to access them and modify the polling setting. This change gives the test assembly internals visible to access so that it can do so without resorting to use private reflection.
2021-08-05Playwright: Run some real tests in Migration.E2E.Tests (#32428)Hao Kung
2021-08-03Refactor quic setup (#34877)Chris Ross
2021-07-20Add a transport package for Razor Source Generator (#34520)Pranav K
Fixes https://github.com/dotnet/aspnetcore/issues/33536