After much searching and looking extensively, I have a question that is undoubtedly dumb but I'm just missing something easy. I just published my first website and obviously had to make a few changes. I'm using a writer class, before it was just writing to a path on my computer, but that's obviously not an option now, what I'm trying is this:
using (StreamWriter writer = new StreamWriter(@"~\Files\test.txt"))
I just want this to write this to the Files folder in my project. What's the syntax? I'm also using dotnetzip and having the same issue trying a different syntax:
zip.AddFile("Files/test.txt");
What's the way to do this? Thanks!