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

Framework and Configuration Updates #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

meysam
Copy link

@meysam meysam commented Mar 11, 2024

Framework and Configuration Updates

Overview

This PR includes changes that update the target framework and server configurations in the AuthorizationServer project. Specifically, the project's framework has been upgraded to net8.0 and several obsolete package references have been removed. Changes have also been made to the Startup.cs to implement the Microsoft.Extensions.Hosting library and to update service registrations, routing, and endpoint configurations.

Major changes included:

  • The target framework of the 'AuthorizationServer' project has been updated from 'netcoreapp2.0' to 'net8.0'.
  • Several unnecessary package references have been removed from the project.
  • The 'Authlete.Authlete' package has been upgraded to version '1.5.0' in the project.
  • Enabled 'ImplicitUsings' and 'Nullable' features in the project.
  • The Microsoft.Extensions.Hosting library has been implemented in the Startup.cs.
  • Existing service registration with services.AddMvc().AddWebApiConventions() has been replaced with services.AddControllers().
  • The Configure method in Startup.cs has been adjusted to accommodate the changes in services.
  • Application routing has been updated to use

meysam added 2 commits March 11, 2024 11:45
The target framework of the 'AuthorizationServer' project has been updated from 'netcoreapp2.0' to 'net8.0'. As a part of this update, several unnecessary package references have been removed and the 'Authlete.Authlete' package has been upgraded to version '1.5.0'. Additionally, 'ImplicitUsings' and 'Nullable' were also enabled.
The commit introduces Microsoft.Extensions.Hosting library into the AuthorizationServer's Startup.cs. It also replaces services.AddMvc().AddWebApiConventions() with services.AddControllers() and modifies the Configure method to accommodate these changes. Lastly, it updates the application's routing to use app.UseRouting() and configures endpoints specifically for controllers.
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.

2 participants