- C# Tutorials
- Introduction .Net Framework
- Introduction ASP.Net
- Console Application
- C# Namespaces Console Application
- Constructor in C#
- Destructor in C#
- Console Application Example
- Start with Visual Studio
- Adding Web forms in ASP.Net
- Working with Web forms
- Run ASP.Net Website
- Change Browser for Run
- ASP.Net Server Side Control
- Set Properties of Control
- Write C# server side code
- Comment code in c#
- C# Data types
- C# Variable
Run asp.net website application visual studio 2010
We know that, how to create new website and how to add web forms in asp.net website application.
Run ASP.Net website application
After creating a new website application, we want to see the output of our newly created website. For check output of website we have to Run website or Debug the web application. The Debug and Run is main part of any website application. When we run the website at time all web forms are compiled and checking errors after successfully compiled we can see the output of the website in browser.
For Run Website = Press F5 Key OR Debug Menu -> Start Debugging
For Build website = Press Ctr + Shift + b
For Stop Debugging = Shift + F5 OR Debug Menu -> Stop Debugging
Start Debugging (F5 Key)
First build application using Ctr+Shift+b, if the message Build Succeeded displays then after run website using F5 key or Debug Menu Select Start Debugging button.
Stop Debugging (Shift + F5)
The website will run in browser, which is default set as run browser. After success full run website when we come back to normal programming mode we has to do Stop Debugging using Shift + F5 key or Debug menu select Stop Debugging option.
Here is the out put of Defaul.aspx page run in browser.
Next post we will learn how to change the browser for run website.