• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • Last Modified:

How to create a WEB application with visual studio 2008

How to create a web application with visual studio 2008. I have to select C# and WEB and any tamplate for every form I´m creating ? Or can I select C# and Windows  for some forms ?
0
Jose Bredariol
Asked:
Jose Bredariol
  • 3
  • 3
  • 2
5 Solutions
 
SkydiverFLCommented:
You should be able to just select File \ New Project from the menu.  Then, under "Visual C#" select Web (expand the list on the left").  On the right, select "ASP.NET Web Application".
0
 
ZhaolaiCommented:
In the Visual Studio IDE, click on File->New->Web Site, then choose ASP.NET Web Site from the template list.

0
 
Jose BredariolPMPAuthor Commented:
OK, but When I did that a lot of toolbox components desapears (for sample containers). I can´t develop a web application using all components i have on windows forms ?
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
ZhaolaiCommented:
That's right. There are far fewer controls for web applications than WinForms Apps.
0
 
SkydiverFLCommented:
The controls may look like they are the same, but that's all.  The Windows controls and Web controls are in two totally separate namespaces.  That is why your files will reference System.Windows in a Windows app and System.Web in a web app.
0
 
Jose BredariolPMPAuthor Commented:
So, there´s no way I can develop for windows and web at the same time, only If i choose web and anyone of asp.net  templates..
0
 
ZhaolaiCommented:
Not in the same application. It's either web app or WinForms app, not both.
0
 
Jose BredariolPMPAuthor Commented:
Thnaks all
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now