server.mappath

No se puede usar el servidor.MapPath

¿Qué debo hacer para que Server.MapPath funcione? Tengo using System.Web; ¿Qué más? Cuando escribo Server no hay opción de resultado rápido (intelli-sense) para Server. Alguna ayuda?

Usando el Servidor.MapPath en MVC3

Tengo el código string xsltPath = System.Web.HttpContext.Current.Server.MapPath(@"App_Data") + "\\" + TransformFileName De ... ServiceController, SERVICENAME? Quiero la ruta a App_Data que está en C:\inetpub\wwwroot\websiteName\App_Data\FileName.xsl