473,785 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adventures in Whidbey land...

Hi There

I just installed the PDC build of Whidbey onto Windows XP
using the 'Web Developer' profile when I installed and
was a little surprised to see that it is only ASP.NET
projects that I have available and now wishing I'd
chosen 'C# Developer' which probably displays all project
type ... how do I switch profiles in VS.NET Whidbey????

Secondly what happened to Microsoft telling us that code
behind was the right way to go (rightly so), because when
I created my first ASP.NET 2.0 'HelloWorld' application
the code behind has disappeared unless I select to add a
new file and select 'Web Form using Code Separation'.

Strange things are a foot in Whidbey Land!!!

- Doug
Nov 18 '05 #1
3 1205
Hello Doug,

Thanks for posting in the group.

Based on my understanding, now the questions are:
1) How to switch user settings in Whidbey?
2) How to use code behind easily in Whidbey IDE?
Please feel free to post here if I have misunderstood the problem.

For the first question, we could open Whidbey, go to Menu
Tools->Import/Export Settings...->Reset IDE Settings and then change IDE
style there.

For the second question, I created an ASP.NET project for testing on my
side. After creating project, it creates a simple aspx file for me. There
are three tabs for us: Design, Source, Server Code. I think the third tab
is what you need. VS Whidbey addes a new type of web form for us since many
developers feel there is no need to add one cs or vb file for each web
form. So we create a new template so that web developers could add
different style of web forms easily.

Does that answer your question? If you have any more concerns on it, please
feel free to post here.

Also, for VS.NET IDE related issues, we can post it in
microsoft.publi c.vsnet.IDE group.

Have a good day.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #2
Hi,

for the second question:

There should be option of choosing the WebForm from two types. "WebForm" and
"WebForm using code separation" (nickname code-beside) or something similar
(can't recall the names exactly now as I don't have the Whidbey IDE here at
work). If you choose the first one, the code goes inline with the aspx and
if you choose the second one, it goes to separate file like with code-behind
model.

BUT: With code-beside the difference is that it (code-beside class) is now
compiled to single class with the linked page, therefore the name
code-beside. In earlier version the dynamically compiled page class derived
from the code-behind class, which meant two different classes (obviously)
and again that event handlers etc couldn't be private. As the new model uses
new partial class feature in Whidbey, all this stuff can now be pushed to
the single class (which is separated to the dynamic page class file and the
code-beside class file if you use code-separation) and event handlers &
members can be private to the page and so on. And also it is now even more
question of personal preference, do you use inline code or code-beside (I'd
still use code-beside) as the IDe supports Intellisense etc for both models
equivally.

My explanation is bit messy so here's link to more quality information:
http://msdn.microsoft.com/asp.net/wh...ompilation.asp
(New Code Compilation Features in ASP.NET Whidbey)

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist


"Doug Holland" <do**********@p recisionobjects .com> wrote in message
news:08******** *************** *****@phx.gbl.. .
Hi There

I just installed the PDC build of Whidbey onto Windows XP
using the 'Web Developer' profile when I installed and
was a little surprised to see that it is only ASP.NET
projects that I have available and now wishing I'd
chosen 'C# Developer' which probably displays all project
type ... how do I switch profiles in VS.NET Whidbey????

Secondly what happened to Microsoft telling us that code
behind was the right way to go (rightly so), because when
I created my first ASP.NET 2.0 'HelloWorld' application
the code behind has disappeared unless I select to add a
new file and select 'Web Form using Code Separation'.

Strange things are a foot in Whidbey Land!!!

- Doug

Nov 18 '05 #3
Hi Teemu,

Great knowledge sharing and useful web link. :)

Thanks very much, Teemu.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1325
by: mt | last post by:
Where can I access the Page_Load event in Whidbey for a C# ASP.NET website? Since the partial class has been introduced, I'm not sure where I should be putting page load events. Thanks very much!
10
1774
by: rawCoder | last post by:
Is there any provision for creating winform applications that have dockable windows ( Like the VS.NET IDE ) in whidbey ? I just installed the beta and cant seem to find it. Am i asking for too much or just too tired ? P.S. Cudnt find whidbey newsgroup as well. Whats the name of it anyways ? Thanx rawCoder
7
1442
by: Fresh Air Rider | last post by:
Hi I understand that ASP.net 2.0 (Whidbey) is going to reduce coding by 70%. Surely this is going to de-skill or dumb down the developers task and open up the task to less qualified and trained staff. Tell me if I'm wrong.
7
1581
by: Genival Carvalho | last post by:
Hello friends... Inside my class how do to use explicit using Overloaded operator or use default ? Ex: Dim x as Integer = A + B ' Use default + operator Dim OV as integer = X + Z ' I will need use Overloaded + Operator ??? Thanks and sorry my bad English.
14
1435
by: dlangell | last post by:
I have NOT yet made the transition from VB 6 to VB.NET 2003. I know some of the general differences, but I'm not yet to the point where I would feel comfortable starting a new project in .NET. At any rate, I was going to get some books and begin learning more about it and try to make the jump, but then I see that Whidbey or VS.NET 2005 will be coming out in the next year or so. How different is this new release going to be from VB.NET 2003?...
0
1217
by: spamfurnace | last post by:
Will Whidbey have the features, of a girl i'd like to meet? Will Whidbey be easy to talk to, and rub my tired feet? Will Whidbey bats it eyes at me, and whisper "Baby, your so sweet". Will Whidbey have a body to die for, and look hot as hell wrapped only in a sheet. Will Whidbey have construction workers whistling at it if i tucked under my arm and walked it down the street. Will Whidbey make me feel like a man, and have all other IDE...
7
1563
by: VB Programmer | last post by:
I've lost the Data Sources tab (in Whidbey). How can I make it reappear? I need to "Add New Data Source..." Thanks!
5
2885
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1. I open a new project based on a windows form 2. I click on "data" and then "Add New Data Source" then I click on next within the wizard 3. I have 3 choices Database, Local Database, Web service and Object. 4. I choose Database, click next and get...
4
1658
by: stj911 | last post by:
http://counterpunch.org/rahni04072007.html Test Tube Zealots: The American Chemical Society Terminates the Membership of Chemists from Iran By DAVID N. RAHNI The American Chemical Society (ACS) has once again led the way, with its "zealot" interpretation of "embargo" by the Department of Treasury's Office of Foreign Asset Control, by terminating the
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10329
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10152
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.