0

In WepApi 6 we were making use of multiple configuration options by passing the config on the route:

RouteTable.Routes.MapServiceRoute<UserService>("1.0/User/", defaultWebApiConfiguration);
RouteTable.Routes.MapServiceRoute<SomeOtherService>("1.0/SomeOtherService/", largeFilesConfig);

Where things like "MaxBufferSize", "MaxReceivedMessageSize", and "TransferMode" were set set appropriately. How can I acheive the same effect using an ASP.NET hosted application?

1 Answer 1

1

You can't at the moment. You can create multiple hosts in self-host but in MVC hosted there currently is just one config.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.