jamesmh / high-performance-dotnet-cron-jobs

Sample code for building high performance CRON jobs with .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

High-Performance DotNet CRON Jobs

This is code to go along with an article I wrote on my blog. Each separate .NET project loosely represents one step in the progression of basic->advanced ways to build a CRON job system.

Here are the instructions for getting this working on your machine:

Databases

Make sure you have Docker installed.

Run docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=P@assword" -p 1433:1433 --name sql1 --hostname sql1 -d mcr.microsoft.com/mssql/server:2022-latest

That will install and run an SQLServer docker image/container.

I used this .backpac of the WideWorldImporters sample database.. You can import this .bacpack using Azure Data Studio, SQL Management Studio, DataGrip, etc.

Code

Clone the repo, make sure the SQLServer docker container is running, and run each project's docker file!

To run each project, run the following command from it's root: docker-compose up --build --remove-orphans --force-recreate

About

Sample code for building high performance CRON jobs with .NET


Languages

Language:C# 94.6%Language:Dockerfile 5.4%