Compiling and Running an ApplicationĀ 

The process for compiling and debugging ASP.NET mobile Web applications is similar to the methods used to produce ASP.NET Web application projects. For details, see Web Applications and Web Services.

There are three ways to run or browse a mobile Web application project in Visual Studio:

  • Click Build Solution on the Build menu to compile and post the project to the server for running. The debugger, browser, or browsers do not start. You can then browse the application with a supported emulator or browser. For more information, see Working with Emulators and Browsers.

  • Click Start Without Debugging on the Debug menu to compile and post the project. The default browser launches.

  • Click Start on the Debug menu to run the build process, load the debugger, and open the browser to view the content.

You can also compile and run your project by clicking the Start button on the Standard toolbar.

Browsers and Emulators

You can use Microsoft Internet Explorer or any other supported browser to view your form. Change the default browser within the integrated development environment (IDE) by using the Browse With dialog box (on the File menu click Browse With). You can also use this dialog box to select a device emulator.

Many mobile device manufacturers provide emulators that allow you to test your newly built mobile Web application. This emulator software allows you to view your mobile Web application as it would appear on the hardware devices that you target. For details, refer to Working with Emulators and Browsers.

See Also

Concepts

Working with Environment Tools
Working with Emulators and Browsers

Other Resources

Debugging Basics