Skip to content

Latest commit

 

History

History

AspNet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ASP.NET Sample

This sample shows how to create a generic host worker for a workflow and an ASP.NET web application that starts it.

To run, first see README.md for prerequisites. Then, start the worker by running the following in the Worker directory:

dotnet run

This will start the worker. Now to start the web application, run the following from the Web directory:

dotnet run

This will make a URL available that will run a workflow. Navigating to http://localhost:5000 will output "Hello, Temporal!". Navigating to http://localhost:5000?name=John will output "Hello, John!".