chore: update .NET Framework version#2
Conversation
…eference and SDK style projects
chore: net framework upgrade
|
Regarding the custom GUID generator, its not vital but does significantly speed up MySQL using the GUID as a primary key, there are plenty of articles talking about the performance impact of using UUID/GUIDs in SQL indexes. Your change from |
| [assembly: AssemblyTitle("NFive Core SDK")] | ||
| [assembly: AssemblyDescription("NFive core SDK for plugin development")] | ||
| [assembly: AssemblyConfiguration("")] | ||
| [assembly: AssemblyCompany("NFive")] | ||
| [assembly: AssemblyProduct("NFive SDK")] | ||
| [assembly: AssemblyCopyright("Copyright © NFive 2018-2021")] |
There was a problem hiding this comment.
Need to move the relevant fields here to the csproj file as these are used in NFive.SDK.Core.nuspec, reference here,
Not an issue running in FiveM, but I found that the RNGCrypto one prevented other libs linkig to this one from being able to link due to .NET version incompatibilities. |
RandomNumberGenerator.Create() causes following runtime error in FiveM:
I think it would be better to stick with the original implementation of the GUID generator. |
I use deepest scope for namespacing. There's a minor potential vulnerability having using statements outside the namespace declaration. Probably not an issue in practice, but something I like to do.
I got a little stuck on the GuidGenerator getting it to be compatible with the other .NET versions of dependencies being link into the netstandard server side projects. Spent a little time looking at it but got stuck. How important is it to have the custom generator?
In the .NET 4.7.1 projects like this one there isn't so much of a difference but in the server projects where they target netstandard the differences become alot more obvious due to the differences given .NET Core is in the mix.