Skip to content

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

Merged
merged 8 commits into from
Apr 11, 2025
Merged

add performance enhancements #10

merged 8 commits into from
Apr 11, 2025

Conversation

BenjaminAbt
Copy link
Member

No description provided.

@BenjaminAbt BenjaminAbt requested a review from Copilot April 5, 2025 21:51
Copy link

@Copilot Copilot AI left a 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;

- 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.
@BenjaminAbt BenjaminAbt requested a review from Copilot April 11, 2025 17:45
Copy link

@Copilot Copilot AI left a 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

@BenjaminAbt BenjaminAbt merged commit ac1df89 into main Apr 11, 2025
2 checks passed
@BenjaminAbt BenjaminAbt deleted the feature/fix-ci branch April 11, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant