Closed juho-hanhimaki closed 4 years ago
Someone care to take a look at this? @amanbha
@juho-hanhimaki sorry for the delay, I will take a look at it. Could you open an issue for this as well?
Thanks @juho-hanhimaki . I am merging this, it will be available in SDK released with SF 7.2.* runtime.
adding issue ref https://github.com/microsoft/service-fabric-aspnetcore/issues/87
Currently the
ServiceFabricMiddleware
is added to the request pipeline even whenurlSuffix
is empty. That is unnecessary since the middleware does nothing except calls the next middleware when theurlSuffix
is empty.Adding unnecessary middleware to the request pipeline brings no value, but it adds (minimal) extra processing to each request. This pull request changes the logic so that
ServiceFabricMiddleware
is used only when urlSuffix has non-null and non-empty value.