Skip to content
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

Updateted to .NET 8.0, NuGet Packages updated #62

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

aminmesbahi
Copy link
Contributor

Issues with .NET 8.0 Fixed
NuGet Packages Updated

Issues with .NET 8.0 Fixed
NuGet Packages Updated
Copy link

what-the-diff bot commented Feb 28, 2024

PR Summary

  • Updated package versions in Directory.Packages.props
    The versions of some packages were updated. They include Meziantou.Analyzer, Microsoft.VisualStudio.Threading.Analyzers, SonarAnalyzer.CSharp, Roslynator.Analyzers, and Microsoft.EntityFrameworkCore.Analyzers. Updates like this usually mean increased functionality, enhanced security, or improved performance.

  • Updated sdk.version in global.json
    The sdk.version was updated from 7.0.306 to 8.0. This update typically offers new features and improvements from the .NET platform.

  • Changed package versions in Directory.Packages.props
    The version of certain packages related to EntityFrameworkCore and Microsoft.AspNetCore.Identity were updated from 7.0.x to 8.0.2. Such updates usually bring with themselves better features, enhanced security, and performance boost.

  • Target framework updated in multiple project files
    The target framework for several projects files was updated from .NET 7.0 to .NET 8.0. This change enables the usage of new features and improvements released in .NET 8.0.

  • Refactoring in the ServerInfo.cs file
    The GetWwwRootPath method was restructured to utilize a new private static variable, which helps increase the code's readability and maintainability.

  • Code optimization in CustomNormalizer.cs and CustomSecurityStampValidator.cs files
    In CustomNormalizer.cs, a minor change was made to replace a string with a character, which is generally more efficient. In CustomSecurityStampValidator.cs, utilization of the ISystemClock parameter was replaced with a call to TimeProvider.GetUtcNow(), simplifying the code complexity and making the code more readable.

  • Refactoring in the DbLogger.cs file
    There's an optimization change where JsonSerializerOptions object is created once as a static variable, JsonSerializerOptions, as opposed to creating it multiple times. This improves performance by reducing the number of object creations.

@VahidN
Copy link
Owner

VahidN commented Mar 2, 2024

Thank you.

@VahidN VahidN merged commit 0ecc36c into VahidN:master Mar 2, 2024
1 check failed
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.

None yet

2 participants