About 2 years ago, I wrote on how to run SQL Express in a Docker container using the Microsoft SQL Server for Linux Docker image.
Now, I find myself in need for the same on my M1 Mac. The original SQL Server for Linux image has not yet been ported to the ARM64 architecture. However, I found that there’s a new database technology, targeted for AI named Azure SQL Edge. This database has been Dockerised and ported to ARM64 and thus can run on Docker for M1 on your Mac.
TL;RD; This is how to run a Docker SQL instance…
I found myself in need of quickly converting my C# Console application into a Web application, primarily, I was asked to expose our Console app’s logic through an API with very little time to manage it.
This article will cover on how I eventually exposed our Console app on port 5005 of the localhost, our internal network, for bonus, I’ll throw in the containerised Docker version of the app, too!
Let’s start with a simple console app:
dotnet new console
I find myself often in need of extracting a certain method into an entirely new service. This new service now has the sole purpose of housing that method.
This is mostly the case when working with code that communicates with infrastructure (logging, files, network, API’s). This code is mostly static and does not require a whole new service implementation. But, nevertheless a new class needs to becreated to hold this functionality.
I started looking for the most concise form of writing that functionality, without the need of introducing a new service implementation class, an interface to a function, sort of…
In this short article, I’ll show you how to uninstall any previous dotnet versions on your M1 Mac and install the latest .NET 6.0.200 Preview release to date.
Microsoft released the official ARM64 macOS installer, please refer to this installer to install the .NET 6 Preview 3. You can continue reading to find out how to install the .NET SDK manually.
Earlier, I wrote about debugging .NET 5 apps on your M1 Mac using the Rosetta 2 translation on macOS Big Sur 11.2 Beta 2. Now, I’m going to show you how to install the latest .NET …
In this short article, I’ll show you how to install .NET 5 on your M1 Mac and demonstrate how to debug your apps using VS Code and VS For Mac.
With macOS Big Sur 11.2 Beta 2, Apple fixed some of the bugs related to debugging your .NET 5 apps on M1 Macs, this allows you to debug .NET applications using VS Code, VS for Mac and even JetBrains Rider through the Rosetta 2 x86-to-ARM translator.
First, your Mac needs to be enrolled into the Beta program. This requires registering your Apple ID and downloading a tool that gives you…
Over the past year, I’ve been working on maturing Prise. I can proudly say that the day has come to announce version 2.0 of Prise, A .NET Plugin Framework.
This time around, I’ve heard the community loud and clear 📢, Prise comes with the following new features:
Whilst still working on supporting .NET 5, Prise can presently be used in any .NET Core 2.1, 3.1 or NET 5 preview project.
I love writing, I love technology and I love writing about technology. That is why I started using Medium, I believe it is still one of the best ways to get your story heard and read.
I put a lot of thought and expertise in my articles, I mostly focus on getting the accompanied Github repository functional, because I believe code proves the idea. This is also the reason why there’s such a gap between articles, it takes a lot of time and effort getting the example to work.
After a while, I thought I could make some money via…
Whilst preparing Prise for .Net 5, I found myself testing lots of platforms in order to guarantee support (Pop OS, Windows 10, macOS) and had to install the latest release candidate on Pop! OS.
Since Pop! is based on Ubuntu, it had to figure out how the download URL is constructed from the original installer script:
Long story shot, paste the following commands in your terminal…
This downloads the .Net 5 RC1 DEB package to your Downloads folder:
curl https://dotnetcli.blob.core.windows.net/dotnet/release/install-preview/5.0.0-rc.1/dotnet-5.0.0-rc.1-deb.tar.gz -o ~/Downloads/dotnet-5.0.0-rc.1-deb.tar.gz
This will create a net5rc1 directory in your Downloads folder and extract the tar to…
Every time I join a new project, I try not to rely too much on external environments when building and running the software that I’m working on. Most of the time, a DEV or CI environment is overrated and unstable. My approach is to run all the components locally and remove the external dependencies.
I already wrote about running a local SQL Express Docker instance, you will find this article to have the same merit:
I’m thrilled to announce the latest stable version of Prise: 1.6.0
Prise’s main features include:
The example library has grown to 15 example applications using this latest version of Prise. …
Freelance Software Engineer