Solved

How to create a WEB application with visual studio 2008

Posted on 2010-08-27
8
391 Views
Last Modified: 2013-12-17
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
Comment
Question by:Jose Bredariol
  • 3
  • 3
  • 2
8 Comments
 
LVL 2

Accepted Solution

by:
SkydiverFL earned 50 total points
ID: 33545624
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
 
LVL 17

Assisted Solution

by:Zhaolai
Zhaolai earned 75 total points
ID: 33545650
In the Visual Studio IDE, click on File->New->Web Site, then choose ASP.NET Web Site from the template list.

0
 

Author Comment

by:Jose Bredariol
ID: 33545661
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 17

Assisted Solution

by:Zhaolai
Zhaolai earned 75 total points
ID: 33545697
That's right. There are far fewer controls for web applications than WinForms Apps.
0
 
LVL 2

Assisted Solution

by:SkydiverFL
SkydiverFL earned 50 total points
ID: 33545731
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
 

Author Comment

by:Jose Bredariol
ID: 33545800
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
 
LVL 17

Assisted Solution

by:Zhaolai
Zhaolai earned 75 total points
ID: 33545812
Not in the same application. It's either web app or WinForms app, not both.
0
 

Author Closing Comment

by:Jose Bredariol
ID: 33545829
Thnaks all
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question