im doing my first asp.net MVC project here,
i need to be able to create a folder for a new user im registering. so i want it to be that when i register a user lets say name is david, a folder named david is also created. purpose is that later i want to save contents for each user.
is there any good tutorial on how to do this? coz i dont have a clue!
i want to learn it.
See
System.IO.Directory.CreateDirectoryA quick note: do not create the folder within your web site structure since this will recycle the app domain. So you need to use some other path as the root and just give the user under which the site is running the relevant permissions.
Determining the correct user can be done in a couple of ways. A quick Internet search for your environment should do the trick.
HTH