Skip to content

About

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

Resources

Stars

12 stars

Watchers

2 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages