I am creating xml file using WCF services.I need to save the xml file in a temperory path.For that,I am using
Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory) + "\\Temp\\";
sr = File.AppendText(strFileName);
But I cannot write file using sream write....I am getting error."Resource not found"..ie:xml not saving...How to solve it??