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

Use modern features of .NET in Worms Hub #587

Merged
merged 14 commits into from
Aug 3, 2023
Merged

Conversation

TheEadie
Copy link
Owner

@TheEadie TheEadie commented Aug 2, 2023

  • Remove Startup.cs and use the builder instead in Program.cs
  • Remove some code that is now the default in .NET 7
  • Use top-level code in Program.cs
  • Move auth configuration to config file
  • Switch on null analysis
  • Enable global usings
  • Update .editorconfig with latest C#/.NET rules
  • Turn analyzer to max settings and fix issues
  • Remove BOM from source code files
  • Move source code to new folders

@TheEadie
Copy link
Owner Author

TheEadie commented Aug 2, 2023

This currently doesn't load the Controllers as they are now internal

@TheEadie TheEadie merged commit 4081fe6 into master Aug 3, 2023
3 checks passed
@TheEadie TheEadie deleted the remove-startup-cs branch August 3, 2023 10:30
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