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

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