-
Notifications
You must be signed in to change notification settings - Fork 0
add performance enhancements #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- Directory.Build.props: Language not supported
- global.json: Language not supported
Comments suppressed due to low confidence (1)
src/MyCSharp.HttpClientHints.AspNetCore/HttpClientHintsMiddlewareConfig.cs:37
- Using 'field' in the setter without an explicitly declared backing field may cause compilation issues. Define a private backing field for the property to ensure proper assignment.
field = value;
src/MyCSharp.HttpClientHints.AspNetCore/HttpClientHintsMiddlewareConfig.cs
Show resolved
Hide resolved
- Enhanced `.editorconfig` with new options for various file types and updated severity levels for dotnet style preferences. - Reorganized `Directory.Build.props` with new property groups and added package references for testing and analysis. - Modified `Program.cs` to utilize `WebApplicationBuilder` and `WebApplication` for improved clarity. - Added properties in `HttpClientHintsMiddlewareConfig.cs` for better configurability of middleware. - Updated `HttpClientHintsRequestMiddleware.cs` with XML documentation comments for improved readability. - Improved string comparison accuracy in `HttpClientHintsRegistrationTests.cs` using `StringComparison.Ordinal`. - Cleaned up project files by removing unnecessary Roslynator analyzer references, streamlining dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 99 out of 105 changed files in this pull request and generated no comments.
Files not reviewed (6)
- .editorconfig: Language not supported
- Directory.Build.props: Language not supported
- Directory.Packages.props: Language not supported
- MyCSharp.HttpClientHints.sln: Language not supported
- global.json: Language not supported
- samples/HttpClientHints.Samples.AspNetCoreMvc/HttpClientHints.Samples.AspNetCoreMvc.csproj: Language not supported
No description provided.