I have been using C# to develop .aspx web application. As most know, the default location to build these application in MS Visual Studio is in the wwwroot directory.

When using C#.NET, each program builds into it's own namespace/directory. There are also many files created by Visual Studio that are associated with these applications.

Now, when it is time for me to send the files from my wwwroot directory to my webpages server, which files do I need to send over? I do not run the server on my machine. I send them to an outside server but build the application on my local machine.

Do I need to send the entire namespace? Or are there particular files in the namespace that need to be sent to the server so that the .aspx page my run properly (ie. .aspx.cs and other related files)

Any help with this topic would be greatly appreciated.