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-11-01Enable CA1854 (#44799)Martin Costello
2022-10-13IDE 29, 30, 31 null!Brennan Conroy
2022-10-13Add IDE 20, 38, and 200Brennan Conroy
2022-06-01Convert all possible `DllImport`s to `LibraryImport` for .NET 7+ (#41573)Aaron Robinson
* Convert all possible DllImports to LibraryImport for .NET 7+ * Explicitly declare entry point on Windows P/Invokes with W suffix. * Mark as "ref struct". * Consume latest source generator. * Permit unsafe blocks.
2022-05-05Add rule to seal internal and private types (#41457)Brennan
2022-03-28Add option to project templates to use Program.Main instead of top-level ↵Damian Edwards
statements (#40886) Fixes #40877
2022-03-02Enable IDE0060 (#40461)Pranav K
* Enable IDE0060 Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2022-02-25Enable CA1810 as a warning (#40384)Pranav K
Contributes to https://github.com/dotnet/aspnetcore/issues/24055 Contributes to https://github.com/dotnet/aspnetcore/issues/32087 * This updates most of the repo to use LoggerMessageAttributes. MvcCoreLoggerExtensions is the only standout but it is fairly involved since it mixes logging from several types, re-uses logger ids etc
2022-02-13Make IDE0055 formatting rules suggestions (#40181)Doug Bunting
- alternate to #40173
2022-02-05Update .editorconfigPranav K
2022-02-05Merge branch 'main' into CA2249Shreyas Jejurkar
2022-02-05Refactor : Enable CA2249Shreyas Jejurkar
1. Enables CA2249 2. formatted `.editorconfig`
2022-02-04Refactor : Enable CA1847 (#39983)Shreyas Jejurkar
CA 1847 - https://docs.microsoft.com/en-gb/dotnet/fundamentals/code-analysis/quality-rules/ca1847 Contributes to #24055
2022-02-03Enable CA2007 for all ns2.0 projectsPranav K
Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2022-01-27Enable IDE2000 (#39803)Pranav K
Contributes to #24055
2022-01-20Enable CA1844 (#39634)Pranav K
Contributes to https://github.com/dotnet/aspnetcore/issues/24055 Fixes https://github.com/dotnet/aspnetcore/issues/39555
2022-01-15Update 'using' warning for test files (#39537)Brennan
2022-01-14Enable warnings for IDE0062 (#39463)Pranav K
Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2022-01-13Enable IDE0059 (#39434)Pranav K
Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2022-01-11Bump up warning level for CA1822 (#39436)Pranav K
Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2022-01-06Enable IDE0051: Remove unused private membersPranav K
Contributes to #24055
2022-01-05Enforce braces for code-blocksPranav K
Contributes to https://github.com/dotnet/aspnetcore/issues/24055 (#39320)
2022-01-04Enforce warnings for unused usings (#39280)Pranav K
* Enforce warnings for unused usings Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2022-01-02chore : Remove unwanted `using` statement (#39176)Shreyas Jejurkar
2021-12-23Fixup whitespace issues from top-level statement change (#39161)Pranav K
* Fixup whitespace issues from top-level statement change The top-level statement codefix resulted in the formatting within nested lambdas to be incorrect in a number of places. As a part of this change, I enabled the styling diagnostic and re-ran the tool to correct these issues.
2021-11-08Sync shared code from runtime (#38143)github-actions[bot]
* Sync shared code from runtime * Also exclude tests from file-scoped rules Co-authored-by: Tratcher <Tratcher@users.noreply.github.com> Co-authored-by: Pranav K <prkrishn@hotmail.com>
2021-11-06Use file scoped namespaces (#38076)Pranav K
* Use file scoped namespaces
2021-08-28Re-enable CA1305 (#35867)Pranav K
* Re-enable CA1305 Fixes https://github.com/dotnet/aspnetcore/issues/34361
2021-07-23Update license from Apache -> MITKevin Pilch
Fixes #18873.
2021-07-15Update templates to use file scoped namespace declarations (#34220)Damian Edwards
* Update templates to use file-scoped namespace declarations * Move to SDK version that supports file-scoped namespaces * Make CA1305 a suggestion rather than error - New compiler now makes this appear when using a StringBuilder with string interpolation. Logged #34361 to follow up. Contributes to #33947
2021-07-09Enable build time warnings for IDE code analysis rules (#34215)Pranav K
* Enable build time warnings for IDE code analysis rules * Enables build time warnings for readonly, modifier ordering and const * Fixes all of the warnings Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2021-07-02Cleanup IDE errors in SignalR (#33918)Brennan
2021-06-23Soft enable CA1810 (#33659)Pranav K
A lot of the warnings for this rule appear from logging. Given this is going to be replaced by a source generator, this change soft enables the rule while fixing warnings that appear in non-logging code Contributes to #24055
2021-06-15Enable more code analysis rules (#33303)Pranav K
Adds CA1842, CA1843, CA2008-CA2011, CA2013, CA2014, CA2016, CA2200, CA2208
2021-06-11Move CA1845 analyzer back to warning level (#33444)Safia Abdalla
* Move CA1845 analyzer back to warning level * Fix warnings in src/ProjectTemplates/Shared/AspNetProcess.cs
2021-06-10Update SDK (#33187)William Godbe
* Update SDK * Add diagnostic for tracing in test * Try disable publish trimming * Revert "Try disable publish trimming" This reverts commit 766ae32611a13e9f6df6279b2e0cb8aaf36d77eb. * Add BuiltInComInteropSupport * Update global.json * Update global.json * Fix analyzer warning and clean up workarounds * Fix up more analyzer warnings * Fix CA1846 issues in WebEncoders and Http * Fix CA1845 warnings in Logging.AzureAppServices * Fix CA1845 warning in RazorPagesRazorViewEngineOptionsSetup * Fix warning in FileProviderRazorProjectFileSystem * Disable span warnings in tests * Re-ordering * Downgrade CA1846 to suggestion for projects Co-authored-by: John Luo <johluo@microsoft.com> Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com> Co-authored-by: Safia Abdalla <safia@safia.rocks> Co-authored-by: Safia Abdalla <safia@microsoft.com> Co-authored-by: Pranav K <prkrishn@hotmail.com>
2021-06-05Enable CA1835-CA1841 (#33270)Pranav K
* Enable CA1835-CA1841, CA1845, CA1846
2021-05-27Enable CA1821, CA1825-CA1834 (#33041)Pranav K
* Enable CA1821, CA1825-CA1834 Contributes to https://github.com/dotnet/aspnetcore/issues/24055
2021-05-21Enable CA1805 diagnostics (#32893)Pranav K
* Enable CA1805 diagnostics
2021-05-20Turn on some CodeAnalysis rules (#32837)Pranav K
* Turn on some CodeAnalysis rules
2021-03-26Enable CA2012 (Use ValueTask Correctly) (#31221)Stephen Toub
2021-02-19Use NetAnalyzers from SDK instead of FxCopAnalyzers (#30138)Youssef Victor
* Use analyzers from .NET SDK
2020-10-15Enables code analysis rules about culture sensitive string operations (#26656)Pranav K
* Enable string comparison FxCop rules Co-authored-by: Kevin Pilch <me@pilchie.com>
2020-07-09Enable FxCop Analyzers for the repo (#23709)Kevin Pilch
All rules are currently disabled, except for one that I enabled for src/Http via a new ".editorconfig" file I added there. Other changes: * Allow editorconfigs in MVC and Razor to flow to the root * Consolidate a few editorconfig settings * Tweak Ruleset config in Azure/AzureAD where it clashed. Addresses the beginning of #9620, but it's a fair chunk of work to enable most rules through the whole repo. That can be done directory by directory and rule by rule by dropping .editorconfig files though.
2020-06-30Made the encodings of .razor and .cshtml files in the repo consistent (#23502)Ajay Bhargav B
* Added UTF8 BOMs to .razor and .cshtml files * Fixes and unquarantined BOM tests * Update .editorconfig
2019-02-28Fix #7258 - remove components.server dependencies on blazor-specific ↵Ryan Nowak
plumbing (#7934) * Removes a bunch of trivial usage of Blazor ... in names and comments where we don't specifically mean Blazor. * Remove obsolete Startup from Components app * Move UseBlazor into Blazor.Server Moves UseBlazor and the related features in Blazor.Server - along with some other general cleanup of misc shared files. Now Components.Server has a much slimmer set of dependencies (MVC is gone) and doesn't contain the "double startup" pattern that we introduced (sorry). We'll revisit UseBlazor and the dependencies there once the new MapFallbackToFile support is available from static files. * minor PR feedback * Update reference assemblies * fix broken test
2018-10-25Refactor shared framework projects targets and project layout (#3703)Nate McMaster
This refactors the targets used to build the shared framework and its .zip files. There are lots of reasons motivating this: Arcade convergence, migration to VSTS, making it easier to build this locally, etc. Changes: * Moves move content of build/Sharedfx.{props/targets} into eng/targets/SharedFx.Common.{props/targets} * Update the build to produce a `runtime.$rid.Microsoft.AspNetCore.App` package (not just the one with symbols in it) * Refactor the targets which produce .tar.gz/.zip files into separate projects in `src/Installers/` * Refactor installers, unit tests, and the framework projects to use ProjectReference to flow dependencies between different parts of the build. * Makes it easier to build the shared framework locally (for the inner dev loop, you can run `dotnet build -p src/Framework/Microsoft.AspNetCore.App/src/ -r win-x64`)
2017-09-29Verify and mirror external dependencies and self-consistent package versions ↵Nate McMaster
(#566) Moves build logic from other infrastructure repos into aspnet/Universe.