-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11f2a0d
commit 0669737
Showing
5 changed files
with
483 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0669737
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.
.Net 6 and C# 10
If you were not living under a rock today, VS 2022, .Net 6 and C# 10 has just been released!
Some links:
https://devblogs.microsoft.com/visualstudio/visual-studio-2022-now-available/
https://devblogs.microsoft.com/dotnet/welcome-to-csharp-10/
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-10
https://www.dotnetconf.net/
I've prepared a battery of Signum Upgrades to update you code to C# 10 / .Net 6
Upgrade_20211108_Net6
: Updates Nugets,TargetFramework
, and replacesDate
(removed) byDateOnly
.Note: Consider replacing
TimeSpan
toTimeOnly
for cases where it doesn't express a duration but an hour in the day.Upgrade_20211109_GlobalUsings
: creates an appropriateGlobalUsings.cs
file per project and simplifies trivial usings.Upgrade_20211109_RemoveSerializable
: Removes[Serializable]
attribute from the entities.Upgrade_20211109_SimplifyNamespaces
: Uses file-scoped namespaces declarations to recover ident space.Expect every single .cs file touched by some of this migrations. Your code needs to loose some weight!
0669737
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.