Make Apps Small Again. Trimming in .NET 5

0
Comments
Make Apps Small Again. Trimming in .NET 5

Because .NET Core supports self-contained deployment - runtime and framework libraries are deployed alongside the app, so the end use doesn't have to install .NET runtime. Even though this is a great feature if you want to distribute your app to the end users, it has the downside - the size. This is why .NET team developed mechanism called assembly trimming. During the publish process ILLink (the tool that does the trimming) "walk" though the code and identify the assemblies that are used by the code and remove the rest from the result bundle.

Read further...

Nginx Log Analytics - Get Insights From A Static Website

0
Comments
Nginx Log Analytics - Get Insights From A Static Website

A simple console application to analyze Nginx log files and visualize the results. It gives you a top-level overview of the website performance (views per day, views per week, top-performing pages, etc) and nothing more. It's written in .NET Core 3.1 and can be deployed as a self-contained application (no need for a .NET runtime)

Read further...

Blazor - It's Time to Forget JavaScript

0
Comments
Blazor - It's Time to Forget JavaScript

Blazor - build interactive, modular, and fast front-end applications in C#. Now you can finally forget about JavaScript and start using .net infrastructure to run your C# code in the browser. You can share classes, logic, and components between the backend and frontend. Try it now and you will never want to go back to JS.

Read further...

Install .NET Core 3.0 on Raspberry Pi

1
Comments
Install .NET Core 3.0 on Raspberry Pi

As you might now, .NET Core 3.0 SDK and Runtime are available on Raspberry Pi (actually, any Linux ARM32 or ARM64 architectures, as well as x64). With the new 3.0 version of .NET Core you can run your console or ASP.NET Core web site\api projects on a cheap 35$ device without any problems (do not expect high performance). We are using Raspberry Pi 3 to control our LinkedIn and Instagram automation (I will tell you about these projects when they are ready for public) via .NET Core console applications.

Read further...

Deploy and run .NET Core application without installed runtime. Self-contained applications.

3
Comments
Deploy and run .NET Core application without installed runtime. Self-contained applications.

.NET Core framework provides one very useful feature - Self-contained application. You don't need to install any .net runtime on your computer, you can just copy your application to the target host and run it. Furthermore, you can run it on any platform (Windows, Linux, OSX)! When you create a self-contained application, after publishing, you will see the whole .net runtime next to your application. There are some advantages: You do not need to have installed .NET Core on a target machine You ca...

Read further...