 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

May 12th, 2010, 02:20 AM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Noob Question
I'm working my way through ASP.NET 4 in C# & VB. The book makes a point of saying I should avoid creating a "Web Application Project". Rather, I should create an "ASP.NET Empty Website." However, I am using VS2010 Pro and not VS2010 Express and it doesn't offer me the choice of creating an ASP.NET Empty Web Site. The closest to that choice that I see is an "ASP.NET Web Application". Is that going to create a problem? Should I download VS2010 Express and not use VS2010 Studio Pro?
Thanx in advance.
BTW, great book.
|
|

May 12th, 2010, 02:46 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi DaLarry,
Are you sure you're using File | New Web Site rather than File | New Project?
VS 2010 should work fine, as that's what I am using here as well.
Cheers,
Imar
---------------------------------------------------------------------------------------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter.
Everyone is unique, except for me.
Author of Beginning ASP.NET 4 : in C# and VB, Beginning ASP.NET 3.5 : in C# and VB, and ASP.NET 2.0 Instant Results.
While typing this post, I was listening to: Zebra by Beach House (From the album: Teen Dream) What's This?
|
|

May 12th, 2010, 02:14 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Noob Question
Absolutely. Take look at this screen grab. Perhaps I didn't set up VS2010 Pro correctly or I'm missing something.
|
|

May 12th, 2010, 05:04 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
That's an odd picture. The dialog is called New Web Site, yet the items that are listed are web applications. Looks like your templates folder is messed up. My dialog is shown in the image I attached to this post.
Did you upgrade from a previous version?
Take a look in Tools | Options Prrojects and Solutions. You see the paths for your projeect locations there. Do you see anything odd there or in the Windows folders?
Also, try rerunning setup. VWD is an optional component, so maybe it didn't get installed?
Imar
|
|

May 12th, 2010, 08:55 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Re: Noob Question
I've got VS2K8 Pro installed alongside VS2010 Pro. I don't see those options in VS2K8 Pro either. In the words of Yul Brynner, "Is a puzzlement!" I'll try rerunning install but the Visual Studio Pro 2010 takes about a day and half! Before I do that I'll download and run VWD Express 2010 and see what happens. I'm bummed because I really want to learn this stuff and your book is a blessing. Oh, well. I'll let you know how it turns out.
|
|

May 12th, 2010, 09:26 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Re: Noob Question: Resolved
I figured it out. Take a look at this link. There are duplicate entries on the "New Web Site" "Installed Templates" flyout menu for VS2010 Pro for Visual Basic and Visual C#. The top two entries present Web Application Options. The bottom two give the bare website options we're looking for. It is the exact same problem in Visual Web Developer Express. It strikes me that Microsoft could have organized it a little more elegantly. Maybe I'll post in an MS News Group as a bug.
Thanx. Now I can get back to work 
Last edited by DaLarry; May 12th, 2010 at 09:28 PM..
|
|

May 13th, 2010, 03:53 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
It strikes me that Microsoft could have organized it a little more elegantly. Maybe I'll post in an MS News Group as a bug.
|
I don't think this is disorganised in Visual Studio, but in your templates folder. have never seen a New Site dialog like that.
Take another look under Tools | Options and then look at the Prrojects and Solutions node (you may need to check the Show All Settings option first). Then look at the template paths. My guess is that under the project templates folder you have duplicate entries. Alternatively something is mixed up in the main folder location here: %your program files folder%\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\Web\VisualBasic\ 1033
Finally, try resetting all your settings as explained at the end of Chapter 1. Maybe VS is confused by previous settings.
Anyway, glad to hear you got it resolved and that you can now continue. Hsve fun!
Cheers,
Imar
|
|

May 13th, 2010, 01:43 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Re: Noob Question
I looked in all those places and didn't see any obvious problem to my untutored eye. I am on something of a "roll" working through your book. Since I have a way to make it work for now, I'll just plow ahead until I am forced to resolve it. Thanx for your help.
|
|

May 13th, 2010, 05:48 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yes, that makes a lot of sense. After all, it works as advertised now....
Good luck and have fun with the rest of the book.
Cheers,
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|
 |
|