public ComponentConfiguration GetConfiguration(string uid)
 {
     try
     {
         return(_componentRegistryService.ReadComponentConfiguration(uid));
     }
     catch (ComponentNotFoundException)
     {
         HttpContext.Response.StatusCode = (int)HttpStatusCode.NotFound;
         return(null);
     }
 }