Age | Commit message (Collapse) | Author |
|
|
|
* 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
|
|
|
|
* 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
|
|
- 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
|
|
* 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
|
|
|
|
* Delete deprecated AzureAD identity UI packages
* Update Microsoft.DotNet.Web.ProjectTemplates.csproj
* Update ProjectReferences.props
* Remove project
|
|
|
|
|
|
* 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>
|
|
Co-authored-by: James Newton-King <james@newtonking.com>
|
|
* 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
|
|
(#42027)
* Project templates have separate "http" and "https" launch profiles
* Update test targets for dotnet-ef targeting net6.0
Fixes #41982
|
|
Co-authored-by: Pranav K <prkrishn@hotmail.com>
Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
|
|
* 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>
|
|
|
|
* !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
|
|
* 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>
|
|
* 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
|
|
* 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
|
|
Fixes #40672
|
|
|
|
|
|
|
|
This reverts commit b4ccd7ba89e02565b68422cecc4154a96c19fb7e.
|
|
|
|
|
|
Co-authored-by: Pranav K <prkrishn@hotmail.com>
|
|
* 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>
|
|
|
|
|
|
|
|
|
|
* Remove razor-compiler from aspnetcore
Follow up to migrate code to the dotnet/razor-compiler repo
* Fixup
|
|
Fixes #37929
|
|
|
|
Co-authored-by: Pranav K <prkrishn@hotmail.com>
|
|
|
|
* 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
|
|
|
|
|
|
* 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
|
|
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>
|
|
apps after publish (#35419)
|
|
with a minimal action delegate (#35359)
* [x] Complain when using MVC binding attributes with minimal action
Fixes https://github.com/dotnet/aspnetcore/issues/35088
|
|
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.
|
|
|
|
|
|
Fixes https://github.com/dotnet/aspnetcore/issues/33536
|