Hello, many aspose products have a .net 4.0/4.5 dll but not a .net 4.8 dll.
To get started, even with the same source code it’s vital to have a .net 4.8 dll build, and has many benefits, specially for email, imaging and zip, can be useful for words/cells too.
In .net 4.0/4.5 many ssl/tls operations will fail by default unless you set the not recommended security protocols, and still not as stable as .net 4.8 compiled assembly.
There are some bugs in xml parsers in .net 4.0/4.5 compiled assemblies, updating to .net 4.6+ will immediately fix them, and 4.7.2+ up to 4.8 will bring many improvements!
The same for IO.Compression, I did have some files which .net 4.5 code could not extract, the same code upgraded to .net 4.6 fixed the issue!
Some improvements gained when building a .net 4.8 dll:
- Hardened cryptography (CNG, RNG, hashing)
- Better certificate validation
- Safer XML, WCF, and serialization behaviors
Even legacy code runs more securely.
Same IL, but a much better runtime engine.
-
Faster JIT compilation
-
Improved garbage collection (server & workstation GC)
-
Better memory management
-
Reduced lock contention
-
More efficient threading and async infrastructure
-
Thousands of bug fixes since 4.0/4.5
-
More predictable exception handling
-
Fewer runtime issues
-
Improved thread pool stability
This alone is often enough justification for an upgrade.
For Aspose email, zip, imaging that don’t have a dll higher than 4.0/4.5 this is serious! Even with the same source…
Specially when working with x509certificates, some explicit disposal were added after 4.5/4.6 and a 4.8 build improves a lot.
Thanks.