Last updated: 13.07.2020 02:03
May is a hot month for .NET developers and Microsoft fans because of Microsoft BUILD conference. As in previous years Microsoft brings us many new products, improvements for existing one and some doze of innovation. This year Microsoft maintained the standard and we saw many new announcements.
But BUILD 2020 is a little different than previous editions because whole conference is 100% online event. This allow me to watch whole event and select some interesting topics for me personally and things which we look carefully in Altkom Software & Consulting.
In our opinion it is quite interesting direction and we will observe such changes in Azure. If you would like to read more about Static Web Apps here is the link to documentation https://azure.microsoft.com/en-us/services/app-service/static/.
New billing plan is introduced into Azure Cosmos DB. Till today cost estimation of Cosmos database was a kind of magic with divination from coffee grounds but now it changes. New serverless billing mode is introduced for workloads where we are unable to predict traffic.
According to Microsoft Build 2020 Book of News
This new model offers per-operation compute pricing ideal for noncritical, intermittent and small workloads with moderate performance requirements. Consumption-based pricing bills customers for the total resources (request units) used for each discrete database operation.
Cosmos DB Serverless is currently in private preview and will be released as public preview in next couple of months.
Recently C# 8.0 was released (https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8) and now we have preview of C# 9.0 (https://devblogs.microsoft.com/dotnet/welcome-to-c-9-0/).
Does numbers go so fast so to summarize what interesting is coming to new version of C# we would like to select most interesting “new” features.
One of key changes coming in C# 9.0 is type initialization and immutability features like Init-only properties, Records and with expression allow us to create better code with immutable data. Also, as .NET developers with spend many times with comparisons and write the same boilerplate code to compare two objects. Here is coming Value-based equality in other words there will be no need to write equal to compare ex. First name it will be done automatically.
We can event create simpler “Hello World” application just typing
using System; Console.WriteLine("Hello World!");
News about C# 9.0 can take whole article so if want to know more go to already mentioned blog post about.
If you would like to know more please go to (https://devblogs.microsoft.com/aspnet/blazor-webassembly-3-2-0-now-available/).
Microsoft intensively develops idea of .NET everywhere, so MAUI is introduced.
MAUI is an evolution of Xamarin.Forms which was intensively developed during last several years. Many missing features was introduced and community around framework grows. The next step is a Multi-platform App UI which is a modern UI framework build on top of .NET platform.
One of key benefits of it are support for patterns like MVVM (Model-View-ViewModel) or MVU (Model-View-Update). So far MAUI is still a song of future with a release date in November 2021.
Windows have finally cool and modern Terminal with a lot of great features. Me personally the one is multiple tabs support and integration with WSL. If want to know more or maybe customize your terminal go to great series by Scott Hanselman
Windows Subsystem for Linux is a Linux kernel in Windows which greatly improve developer productivity on Windows.
Whole previous year I work mainly on macOS because I want a native Linux environment for .NET Core development but now Windows with WSL 2.0 is event cooler.
WSL 2 gives us many improvements like:
Together with Visual Studio 2019 16.6 it produces great developer experience for every .NET developer.
If want knows more I also directs you to Scoot blog (https://www.hanselman.com/blog/HowToSetUpDockerWithinWindowsSystemForLinuxWSL2OnWindows10.aspx)
In current world of remote work Codespaces (previously known as Visual Studio Online) is a direction to simplify live of developer by provide cloud-hosted development environments.
Such an environment could by provisioned in minutes and removed when work is done. These environments can be accessed from Visual Studio Code, Visual Studio, or event directly from GitHub.
As you can see in this year Microsoft brings many improvements for developers. Personally, I will be carefully looking on evolution of Static Web Apps, Blazor and Visual Studio Codespaces.
What news from BUILD 2020 are most interesting for you please write down below in comments section?
Author: Maciej Gos, .Net Lead Developer w Altkom Software & Consulting[ratings]