How would I build the location Uri for create request in my service? Where do I get the base Uri to use.
public HttpResponseMessage Create(string name)
// build location string
var baseUri = ????
var resourceUri = new Uri(baseUri, "resource/name");
return new CreatedMessage(resourceUri); // returns httpstatuscode Created and given uri as the location for the created resource
I'm running my service inside Azure.