FileUltimate v7.8.0
Version 7.8.0 - November 17, 2020
-
Added: .NET 5.0 support:
-
AspNetCoreSession will use JsonConvert instead of BinaryFormatter.
BinaryFormatter serialization methods are obsolete and prohibited in ASP.NET Core 5. -
Obfuscation caused problems in .NET 5 which seems more sensitive about reflection metadata.
For example, ASP.NET Core 5.0 throws MissingMethodException -> ReflectionTypeLoadException when Assembly.DefinedTypes
is called e.g. by endpoints.MapRazorPages() or endpoints.MapControllerRoute().
-
-
Added: GleamTechWebConfiguration.CookieSameSiteFixEnabled property which can be used to fix session issues when
you are using DocumentViewer in an iframe with a cross-domain URL (default value is false).If you open DocumentViewer in an iframe with a cross-domain URL, recent browsers will not allow the session cookie to be set
inside iframe due to default security settings (could be overridden in your browser) and the component will fail to find the existing session from the server.
When enabled, by default SameSiteMode.None will be used for the cookies.Note that Chrome 80+ allows SameSiteMode.None only if the cookie is also marked Secure and we will mark it Secure when the request is secure (HTTPS).
So even with this fix if your cross-domain URL is not HTTPS, Chrome 80+ still does not allow the cookie in cross domain iframe (with default browser settings).
Fix works on IE and Firefox even if your cross-domain URL is not HTTPS.
Also, the fix can only work when your application is running on ASP.NET 4.7.2+ runtime (not target framework but deployment machine runtime)
or ASP.NET Core runtime. -
Improved: For Azure file system, correct content type will be set for files that are uploaded.
In previous versions content type was not set so Azure Blob by default used "application/octet-stream" for all uploaded files.
This made complications for external usage of uploaded files from Azure Blob.
For example when using an Azure Blob URL in a web page, it should be have the right content type,
e.g. for png image, content type should be "image/png", so that the browser shows it immediately as image
(not download it to users computer, as when Blob was content type of "application/octet-stream"). -
Improved: Document Viewer:
-
Fixed: Viewing email formats with a zero-sized attachment failed with "Index was outside the bounds of the array. " error.
-
Improved: Updated Danish, Swedish and Norwegian translation files.
-
Included example projects:
- ASP.NET Core (C#) - Visual Studio 2017+
- ASP.NET Core on .NET Framework (C#)- Visual Studio 2017+
- ASP.NET MVC (C#) - Visual Studio 2010+
- ASP.NET MVC (VB) - Visual Studio 2010+
- ASP.NET WebForms (C#) - Visual Studio 2010+
- ASP.NET WebForms (VB) - Visual Studio 2010+