Skip to content

Files

Latest commit

 

History

History

samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CommandQuery Sample Code

This code has been written with Visual Studio 2022.

The unit tests are using NUnit.

Try out the sample projects via the Postman Workspace:

Run in Postman

Or via the .http files in Visual Studio:

  • Open the CommandQuery.Samples.sln
  • Open a .http file in the HttpFiles folder
  • Select en environment in the HTTP Environments (F6) dropdown:
    • AspNetCore | AWSLambda | AzureFunctions | GoogleCloudFunctions | http://localhost:7071
  • Click the Send request link

Visual Studio - HttpFiles

Command + Query + Handlers

Sample code:

  • CommandQuery.Sample.Contracts
  • CommandQuery.Sample.Handlers

ASP.NET Core

Sample code:

  • CommandQuery.Sample.AspNetCore
  • CommandQuery.Sample.AspNetCore.Tests

AWS Lambda

Sample code:

  • CommandQuery.Sample.AWSLambda
  • CommandQuery.Sample.AWSLambda.Tests

Azure Functions

Sample code:

  • CommandQuery.Sample.AzureFunctions
  • CommandQuery.Sample.AzureFunctions.Tests

Google Cloud Functions

Sample code:

  • CommandQuery.Sample.GoogleCloudFunctions
  • CommandQuery.Sample.GoogleCloudFunctions.Tests

Client

Sample code:

  • CommandQuery.Sample.Client