Hello guys i am trying to create a folder using c# mvc3. I have the following code in my controller
string path = Path.Combine("~/Content/albums", album.title.Replace(" ", ""));
Directory.CreateDirectory(path);
but it does not seem to create a folder. I have tried using directory without relative paths and it works
Directory.CreateDirectory("c:/test");
Thank you