raspsu1

raspsu1

  • NA
  • 9
  • 0

2 ASP.NET Questions

Sep 22 2003 11:42 AM
1) 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) 2) When building a "Windows Application" using C# you can use the command "MessageBox.Show("");" to display a pop-up message box with a simple ok button. Is there a simple command when creating an "ASP.NET Web application" to come out with the same result? I tried using the "MessageBox.Show("");" route and that apparently doesn't work in ASP.NET. Thanks in advance for your help.

Answers (6)