Updated: 14 May 2023
[c
move to previous hunk.
]c
move to next hunk.
<leader>hp
preview hunk.
<leader>hs
stage hunk.
<leader>hu
undo hunk.
Freelance software engineer United Kingdom
Updated: 14 May 2023
[c
move to previous hunk.
]c
move to next hunk.
<leader>hp
preview hunk.
<leader>hs
stage hunk.
<leader>hu
undo hunk.
Updated: 30 June 2023
Add a package
dotnet add package System.Data.OleDb --version 8.0.0-preview.5.23280.8
Remove package reference from a project file.
dotnet remove package System.Data.OleDb
Lists the package references for a project or solution.
dotnet list package
Updated: 24 January 2023
Try .NET In-Browser and enter focus mode.
Updated: 29 January 2023
.NET is an open source developer platform (i.e. the Languages & Libraries) for building different types of apps. The supported languages are C#, Visual Basic and F#.
Target platforms are:
https://docs.microsoft.com/dotnet
https://aka.ms/dotnethelloworld
A container which offers built-in services:
.NET 6 offers Generic DefaultHost
which can be configured for the application use cases.
A service which performs work in the background. Any reference type object which implements IHostedService
is a background / hosted / worker service.
Class dependencies can be registered in a service container.
.NET provides a built-in service container, IServiceProvider
. Services are typically registered at the app’s start-up and appended to an IServiceCollection
. Once all services are added BuildServiceProvider
is used to create the service container.
Dependency Injection injects the service into the constructor of the class where it’s needed. The framework takes on the responsibility of creating an instance of the dependency and disposing of it when it’s no longer needed.
Updated: 10 January 2023
Updated: 10 January 2023
Create an argbash template file
argbash-init --pos positional-arg --opt optional-arg minimal.m4
Use the template file to create a script
argbash minimal.m4 -o my-script.sh
Re-generate script after editing Argbash section
argbash my-script.sh -o my-script.sh
Updated: 29 December 2022
Updated: 22 December 2022