Esempio n. 1
0
        public System.IO.Stream Get(string path)
        {
            string result = mFrontCtrl.Process(path);

            byte[] resultBytes = Encoding.UTF8.GetBytes(result);
            WebOperationContext.Current.OutgoingResponse.ContentType = "text/html";
            return(new MemoryStream(resultBytes));
        }