From the course: Advanced .NET: Commands, C# Enhancements, Web Apps, and Libraries
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Single file application - .NET Tutorial
From the course: Advanced .NET: Commands, C# Enhancements, Web Apps, and Libraries
Single file application
- Since .NET course three, we've been able to publish an application as a single file. This is a nice way to distribute an application. Just send the single file to your users. It contains the .net runtime, so there is no need to have the user install a large runtime before using the application and there is no need to build an installer. There were some complaints about the implementation. First, the file size was large. For example, a simple console app might be 70 megabytes in size. This is understandable because it does contain the entire .net core run time. The single file exc is also a self-extracting zip that unzips to a temp location and then executes. This works well in most situations but it did create issues on locked down machines or security enhanced computers. In .NET, this has been changed to a true single file experience in most situations, where everything is loaded into memory rather than extracted…
Contents
-
-
-
-
-
-
-
-
(Locked)
Single file application7m 9s
-
(Locked)
DateTime, TimeOnly, DateOnly2m 26s
-
(Locked)
ArgumentNullException.ThrowIfNull method57s
-
(Locked)
LINQ updates: OrDefault operators1m 17s
-
(Locked)
LINQ updates: Chunk2m 53s
-
(Locked)
LINQ updates: Zip50s
-
(Locked)
Collection updates3m
-
(Locked)
Threading: Parallel.ForEachAsync4m 7s
-
(Locked)
Threading: PeriodicTimer, the problem4m 42s
-
(Locked)
Threading: PeriodicTimer, the solution2m 11s
-
(Locked)
JSON updates: Overview2m 58s
-
(Locked)
JSON updates: Create JsonSerializerContext classes2m 33s
-
(Locked)
JSON updates: Serialize3m 1s
-
(Locked)
JSON updates: Writable DOM2m 26s
-
(Locked)
More .NET library updates5m 50s
-
(Locked)
-
-