aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Map path on runtime

Open GVX111 opened this issue 11 years ago • 0 comments

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.

GVX111 avatar Oct 27 '15 23:10 GVX111