aspnetcore
aspnetcore copied to clipboard
Map path on runtime
Hello, How can i map on runtime examle in controller
.Map("/test2", applicationBuilder =>
{
applicationBuilder.Run(context =>
{
return context.Response.WriteAsync("test2");
});
}
I have in my own class servicecollection but when i built servicecollection and called Map no result but in startup working ok.