Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
CommandQuery.Sample.AWSLambda.Tests
CommandQuery.Sample.AWSLambda
CommandQuery.Sample.AspNet.WebApi.Tests
CommandQuery.Sample.AspNet.WebApi
CommandQuery.Sample.AspNetCore.Tests
CommandQuery.Sample.AspNetCore
CommandQuery.Sample.AzureFunctions.Vs1.Tests
CommandQuery.Sample.AzureFunctions.Vs1
CommandQuery.Sample.AzureFunctions.Vs2.Tests
CommandQuery.Sample.AzureFunctions.Vs2
CommandQuery.Sample.AzureFunctions.VsCode1
CommandQuery.Sample.AzureFunctions.VsCode2
CommandQuery.Sample.Client
CommandQuery.Sample.Contracts
CommandQuery.Sample.Handlers
CommandQuery.Sample.AWSLambda.postman_collection.json
CommandQuery.Sample.AspNet.WebApi.postman_collection.json
CommandQuery.Sample.AspNetCore.postman_collection.json
CommandQuery.Sample.AzureFunctions.postman_collection.json
README.md

README.md

CommandQuery Sample Code

This code has been written with Visual Studio 2017 and Visual Studio Code.

The unit tests are using NUnit.

Manual testing can be done with Postman. Import the collections in this folder to get started.

Command + Query + Handlers

Sample code:

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

ASP.NET Web API 2

Sample code:

  • CommandQuery.Sample.AspNet.WebApi
  • CommandQuery.Sample.AspNet.WebApi.Tests

Postman collection:

  • CommandQuery.Sample.AspNet.WebApi.postman_collection.json

ASP.NET Core

Sample code:

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

Postman collection:

  • CommandQuery.Sample.AspNetCore.postman_collection.json

AWS Lambda

Sample code:

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

Postman collection:

  • CommandQuery.Sample.AWSLambda.postman_collection.json

Azure Functions

Functions can be created in both Visual Studio and Visual Studio Code, and run on both .NET Framework and .NET Core

Sample code:

  • CommandQuery.Sample.AzureFunctions.Vs1
    • Visual Studio with v1 (.NET Framework) runtime
  • CommandQuery.Sample.AzureFunctions.Vs1.Tests
  • CommandQuery.Sample.AzureFunctions.Vs2
    • Visual Studio with v2 (.NET Core) runtime
  • CommandQuery.Sample.AzureFunctions.Vs2.Tests
  • CommandQuery.Sample.AzureFunctions.VsCode1
    • Visual Studio Code with ~1 (.NET Framework) runtime
  • CommandQuery.Sample.AzureFunctions.VsCode2
    • Visual Studio Code with beta (.NET Core) runtime

Postman collection:

  • CommandQuery.Sample.AzureFunctions.postman_collection.json
You can’t perform that action at this time.