Skip to content

Sample showing how to use scoped filters with MassTransit and ASP.NET Core

Notifications You must be signed in to change notification settings

MassTransit/Sample-ScopedFilters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scoped Filters

MassTransit supports scoped filters, allowing access to the same container scope as consumers as well as message producers, like those within ASP.NET controllers, etc.

This sample shows how to manage a scoped class, Token, and use it to pass values between an ASP.NET controller action and MassTransit send/publish middleware filters.

Simply open it up and run it, and add a header to the request (using Postman, CURL, whatever) called "Token" with any string value to get a response.

About

Sample showing how to use scoped filters with MassTransit and ASP.NET Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages