dotnetcore tags
.NET Conf 2023 Review
This year I watched a bunch of the sessions from .NET Conf, both live streams and in the days following. I’ve collated my top recommendations and my reviews and thoughts on others that may be of interest to some Developers in the Microsoft ecosystem. Without any further ado, we’ll crack into the must-watch …
Nullable and notnull Serialisation Properties
The C# 8 feature Nullable has been well received by myself and others into our workflows and has improved code bases immensely. However, there is one niggly workaround that I’m not a fan of, and that is = default!; problem definition // This class is used to serialise/deserialise a payload from a server public …
Looking forward to dotnet in 2019
It’s a new year, and we already have a bunch of dotnet releases to look forward to, thanks to the open development processes that Microsoft is using these days with dotnet. The three big releases I am looking forward to are C# 8 and .Net Core 3.0, and a NetStandard2.1. (Not to mention there is a .Net Framework …
Speciality NuGet Packing on .Net Core
I recently wrote about NuGet packing on linux specifically, and want to continue the theme with other things you can do with NuGet packaging. As a quick recap you can use a .Net Core *.csproj as a wrapper around a *.nuspec file and use dotnet pack to pack it, cross-platform, without needing nuget.exe. <Project …
NuGet Packing on Linux
For anyone who has been cutting-edge with .Net for a while will know that the nuget.exe runs under mono. And that you can use nuget.exe to package *.nuspec files into *.nupkg files. Anyone who has been doing dotnet cross-platform will also know that you can use dotnet pack on both Windows and Linux to package your …
HostBuild your dotnet Consoles like you WebHostBuild your web apps.
I wrote a while back on getting your Windows Services building with .Net Core which is a nice way to use the new SDK pipeline but still host on Windows without much fuss. But what If you like the approach but want to run on Linux? Well after some stumbling around in the dotnet core docs, I found information about …
Retry Policies with Polly
I originally set out to write about Polly. Then I started reading their documentation. I quickly realised that I couldn’t write anything as detailed and accurate as they already had available. So instead, I’m going to give more of a super high level, with links to relevant reading. You can find their …
.Net on Docker - What's in my Dockerfile? Tips and Tricks
I’ve started getting into building Docker Containers as deployment packages. These are some learnings that I want to share, hopefully helping countless others with a better build, test and debug cycle with .Net on Docker with Visual Studio. Start with the defaults Use the built-in tools in Visual Studio to …
Clean Startup in your AspNetCore
I want to talk about this point made about Keeping a Clean Startup.cs in Asp.Net Core by K. Scott Alan. Mostly I want to agree and elaborate on it. (Warning! I used the British English customised below. If this doesn’t match your sensibilities, just use customize instead.) The Idea The basic idea is that we have …
A Windows Service using netcoreapp on dotnet
I wrote Building a Windows Service with .Net Core and had a bit of flack because I was only using .Net core to build a .Net 4.5.2 application. Technically the title is still valid, it was a windows service, and I built it using .Net Core tools. But since people came looking for the answer to actually hosting a …
.Net Core SDK 2.* Series - Self-contained Applications
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started What’s in the box Using Multiple Projects Testing NuGet Multi-targeting Publishing Portable Applications Self-contained Applications <=(We are here) (At the time of writing, 2.1.4. I use windows, …
.Net Core SDK 2.* Series - Publishing Portable Applications
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started What’s in the box Using Multiple Projects Testing NuGet Multi-targeting Publishing Portable Applications <=(We are here) Self-contained Applications (At the time of writing, 2.1.4. I use windows, …
.Net Core SDK 2.* Series - Multi-targeting
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started What’s in the box Using Multiple Projects Testing NuGet Multi-targeting <=(We are here) Publishing Portable Applications Self-contained Applications (At the time of writing, 2.1.4. I use windows, …
.Net Core SDK 2.* Series - NuGet
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started What’s in the box Using Multiple Projects Testing NuGet <=(We are here) Multi-targeting Publishing Portable Applications Self-contained Applications (At the time of writing, 2.1.4. I use windows, …
.Net Core SDK 2.* Series - Testing
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started What’s in the box Using Multiple Projects Testing <=(We are here) NuGet Multi-targeting Publishing Portable Applications Self-contained Applications (At the time of writing, 2.1.4. I use windows, …
.Net Core SDK 2.* Series - Using Multiple Projects
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started What’s in the box Using Multiple Projects <=(We are here) Testing NuGet Multi-targeting Publishing Portable Applications Self-contained Applications (At the time of writing, 2.1.4. I use windows, …
.Net Core SDK 2.* Series - What's in the box
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started What’s in the box <=(We are here) Using Multiple Projects Testing NuGet Multi-targeting Publishing Portable Applications Self-contained Applications (At the time of writing, 2.1.4. I use windows, …
.Net Core Series - Self-contained Applications
This is a series on the .Net Core 1.0 bits. Looking for .Net Core 2 Series? Getting Started What’s in the box Using Multiple Projects Testing NuGet Multi-targeting Publishing Portable Applications Self-contained Applications <=(We are here) This was meant to be an article on Self-contained applications in .Net …
Subcutaneous Testing against React + .Net Applications with Storyteller - A Reply
A week or two ago Jeremy Miller posted an article Subcutaneous Testing against React + .Net Applications. It outlined some early R&D on the new Storyteller.Redux, which allows you to run Storyteller tests against Redux stores using WebSockets. While he had a proven way of communicating between React/Redux and …
.Net Core SDK 2.* Series - Getting Started
This is a series on the latest 2.* .Net Core bits, Following on from the original .Net Core Series Getting Started <=(We are here) What’s in the box Using Multiple Projects Testing NuGet Multi-targeting Publishing Portable Applications Self-contained Applications (At the time of writing, 2.0.3. I use windows, …