.NET 5 : 5 new features… and M1 ?
.NET 5 : 5 new features… and M1 ?

.NET 5 hit the developer world a few days ago. One of the most major evolutions in the framework’s history, it confirms Microsoft’s strategy in terms of open-source and cross-platform development.

In fact, most of the features of this new framework were either developed, enhanced or suggested by the passionate .NET community. This drives Microsoft into building better products, responding directly to their users needs.

With .NET 5, they unified .NET 4.6 and .NET Core into a single vision for .NET. Their goal is to use the same platform in order to build any kind of dynamic application.

Literally any kind. From mobile and desktop apps (Xamarin/WPF), to front-end web development (Blazor), including REST (ASP.NET), gRPC and web sockets (SignalR). Oh, and they also have machine learning (ML.NET) and quantic programming (Q#). …

Image for post
Image for post
dotnet-bot © .NET Foundation

Azure Web App Diagnostics are a set of tools provided by Microsoft which purpose is to provide logging capabilities for ASP.NET Apps deployed to Azure. The logs are typically stored in the filesystem of the Azure App Service.

While developing a Web App or an API, this can be very useful in order to debug it.

Prior to ASP.NET Core 2.1, logging on Azure was pretty straightforward. The logs wrote by an Microsoft.Extensions.Logging.ILogger were defaulted to be logged in a file accessible via Azure.

But starting with .NET 5 (and maybe .NET Core 3.1),

Image for post
Image for post
Vladimir Cauchemar and Clara Safari

Safari App Extensions is the new way of Apple to develop Safari Extensions along with Cocoa Mac apps. Integrated into the App Extensions environment, it was a logical step to harmonize the ways to extend your Mac apps’ functionalities.

It came with a promising and innovative tech stack for a browser extension: a Swift/Javascript combination rather than a full Javascript experience.

With this in mind, I was pretty excited. I mean: develop for the web with Swift ? This is the best news since the release of Vapor !… Right ?

Or so I thought. I decided to give it a shot, and I discovered how unstable the development experience was. …

Image for post
Image for post

AppleScript is a scripting language for Apple platforms that allows interactions with macOS apps you use every day. With its human-readable syntax, it is a useful language for inter-process communication on macOS. You can, for example, open a tab on Safari, make it browse a certain URL, or even (I believe) display stuff on the Touch Bar.

AppleEvents is a system in macOS that allows inter-process communication with AppleScripts to work properly.

Good thing is that Cocoa/AppKit apps you build yourself can run an AppleScript with a simple Cocoa class. Before macOS Catalina, just a call to NSAppleScript.executeAndReturnError

Image for post
Image for post
Photo by Hello I'm Nik 🎞 on Unsplash

Hugo is that new hot static site generator written with Go that makes being a webmaster fun again. If you don’t know it yet, you should check it out. I might be writing an article about that anytime soon.

Heroku is certainly not the place of choice to host static websites. In fact, it is meant to be a powerful cloud hosting service for web apps of all sizes.

But let’s say the truth: it is easy to learn and configure. And its free plan has a wide-range of advantages for hobbyists like me. It is also insanely easy to deploy static websites with just a little trick that involves a simple index.php


Chris J.

Passionnate Software Engineer. Back-end and cloud specialist. iOS & Cocoa Engineering enthusiast. Also I’m a teapot.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store