Questions tagged by "web-api"


0
 bounty
2
answers
HttpContext.Current is null in the WebAPI project
10 years ago • lampego1@qrid
Environment: VS2013 .NET 4.5 WebAPI project I try to get a "MapPath" path for some dir, but in the WebAPI project "HttpContext.Current" is NULL How example: string path = HttpContext.Current.Server.MapPath("~/Some/Path"); Please. Help me!
1 from 1