StockQuoteSample attempts to access HTTP request object during app startup
berezovskyi opened this issue · comments
In OSLC4Net.StockQuoteSample.WebApiConfig#Register
context.Request
is being accessed.
.NET throws an exception:
System.Web.HttpException: Request is not available in this context
Which is reasonable as the method is called outside an HTTP request.