Click Here to Install Silverlight*
IndiaChange|All Microsoft Sites
Microsoft
Communities 
 
Chat Transcript
 
Chat Topic : Visual Studio 2005 (Whidbey): IDE Enhancements
Chat Expert : Arun [MVP]
January 19, 2005
 
 
subhashini (Moderator):
Hi all. A very good evening to all of you .
subhashini (Moderator):
Thank you all for joining the chat and taking time out of your hectic schedules.
subhashini (Moderator):
The weekly chat details are given at <http://www.microsoft.com/india/communities/chat/default.aspx> The chat archives can be found at <http://www.microsoft.com/india/communities/chat/Transcripts.aspx>
subhashini (Moderator):
Welcome to today’s Webchat on Visual Studio 2005 (Whidbey): IDE Enhancements:
subhashini (Moderator):
Today we have with us Gnana Arun Ganesh G (MVP) as the chat expert.
subhashini (Moderator):
G. Gnana Arun Ganesh, a Microsoft XML Web Services MVP is a .NET Developer, Author, Editor and Reviewer, who has been working with Microsoft .NET Technologies since its initial beta version. Currently he is working for Accenture-Microsoft Engagement. As a .NET author, he has published more than 60 articles on .NET technology in various top .NET Web sites, such as eXPerienceDotNet, MSDNAA (MSDN Academic Alliance), Developersdex, etc and conducted various .NET sessions in colleges. Co-author of the Prentice Hall PTR book, .NET Security and Cryptography, part of The Integrated .NET Series from Object Innovations. As an Active member of Prentice Hall’s technical review panel, he has performed many technical reviews, beginning with C# How to Program, written by Harvey and Paul Deitel. He is also one of the Managers of MUGH (Microsoft User Group, Hyd) and One of the authors of ObjectInnovations.com, which offers training course materials in fundamental software technologies. He was the author and site personality of .NET Reference Guide, hosting by InformIT.
subhashini (Moderator): .NET Blog: <http://arun.mvpblog.com/>
VS 2005 Blog:<http://spaces.msn.com/members/arun>
Web services and XBOX Blog: <http://weblogs.asp.net/arunganesh>
.NET Web Site: www.arunmicrosystems.netfirms.com <http://www.arunmicrosystems.netfirms.com/>
UG Site: www.mugh.net <http://www.mugh.net/>
subhashini (Moderator):
Chat Procedures:
This chat will last for one hour. During this hour, our Experts will respond to as many questions as they can. Please understand that there may be some questions we cannot respond to due to lack of information or because the information is not yet public. We encourage you to submit questions for our Experts. We ask that you stay on topic for the duration of the chat. This helps the Guests and Experts follow the conversation more easily. We invite you to ask off topic questions after this chat is over.
subhashini (Moderator):
So let me welcome Arun to take over and begin the webchat.
subhashini (Moderator):
Hi all of you once gain
Arun[MVP] (Expert):
Great
Arun[MVP] (Expert):
Hi All, Welcome to today’s community chat session on Microsoft Visual Studio 2005 IDE Enhancements
Arun[MVP] (Expert):
The following Topics would be covered in Today’s chat.
Arun[MVP] (Expert):
1. An overview of Whidbey and why the name Whidbey?
2. Various VS 2005 IDE enhancements like ,
a. ClickOnce à A new application deployment technology for windows applications,
b. Code Snippet Inserter à Code generation technique introduced with VS 2005.
c. Refactoring à Ways to improve the design of existing code by using Refactoring.
Arun[MVP] (Expert):
a. Enhancements in Debuggingà New features in Debugging like
i. Edit and Continue,
ii. Visaulizers,
iii. Trace Points….
b. And Finally, Other new features like
i. Smart Tags
ii. Exception Helper
iii. Import/Export IDE Settings etc……
Arun[MVP] (Expert):
We will have 30 mins for brief and 30 mins for Q & A.
Arun[MVP] (Expert):
I will also give links to my relevant Blogs for more clarifications…..
The complete list will be at: <http://spaces.msn.com/members/arun>
Arun[MVP] (Expert):
And I will answer all Questions in the second half of this chat.
Arun[MVP] (Expert):
Okay… Let us start….
Arun[MVP] (Expert):
Well, VS 2005 is the next generation set of tools and platform to help you deliver powerful applications and solutions faster than ever.
Arun[MVP] (Expert):
Before entering into the details:
Arun[MVP] (Expert):
Why the name Whidbey for VS 2005?
Arun[MVP] (Expert):
My Blog: <http://arun.mvpblog.com/2004/08/why-name-whidbey-for-vs-2005.html>
Arun[MVP] (Expert):
The versions of Visual Studio stand for cities/islands in the Northwest that are near to Redmond, WA.
Arun[MVP] (Expert):
Codenamed - Whidbey - Visual Studio 2005 - Whidbey is an island north of Seattle, which is nearer to Everett.
Arun[MVP] (Expert):
Note that: In this chat we are covering only IDE Enhancements. We are not covering other topics like .NET Framework enhancements, language enhancements or ASP.NET 2.0.
Arun[MVP] (Expert):
Let us start with ClickOnce deployment.
Arun[MVP] (Expert):
My Blog: <http://arun.mvpblog.com/2004/07/clickonce-new-application-deployment.html>
Arun[MVP] (Expert):
Check this picture: <http://one.aspxconnection.com/arun/img/clickonce1.JPG>
Arun[MVP] (Expert):
In the picture, the circle to the left displays the various features of Windows Applications and the circle to the right displays the various features of Web Applications.
Arun[MVP] (Expert):
Windows Applications, have their own advantages like rich user experience, developer productivity and good response ……
Arun[MVP] (Expert):
But when it comes to deploying the application, DLL Hell is a nightmare and it becomes tough to deploy…..
Arun[MVP] (Expert):
Well, the obvious reasons to go for web applications are
Broad Reach, Ease Change Management and Ease Deployment...
Arun[MVP] (Expert):
On the other hand, as much as people love the Web, it also has some disadvantages like network dependency (round trips), poor user experience (Think about drag and drop etc…)….
Arun[MVP] (Expert):
In today’s world we are unable to combine the best features of Windows and Web Applications…
Arun[MVP] (Expert):
Can we marry the easy distribution of web applications with the rich client experience of windows applications?
Arun[MVP] (Expert):
Well, we can…..
Arun[MVP] (Expert):
refer the following link
Arun[MVP] (Expert):
<http://one.aspxconnection.com/arun/img/clickonce2.JPG> : Check the picture
Arun[MVP] (Expert):
ClickOnce provides a new deployment technology that gives you the best of a rich Windows-based application user experience and the deployment and maintenance benefits of Web applications.
Arun[MVP] (Expert):
<http://one.aspxconnection.com/arun/img/clickonce3.JPG> : Check the picture
Arun[MVP] (Expert):
“ClickOnce” is the Codename for a Deployment Technology that ships in the .NET Framework 2.0 for Windows Forms based App.
Arun[MVP] (Expert):
ClickOnce is a deployment technology that enables self-updating Windows applications that can be installed and run with minimal user interaction.
Arun[MVP] (Expert):
Supported Operating System - Windows 98 & Up except NT 4.
Arun[MVP] (Expert):
sure. I will do that
Arun[MVP] (Expert):
It allows a user to download and execute a rich client application over the Web, off a network file share, or from local media, and the app can subsequently be run offline.
Arun[MVP] (Expert):
It is an evolution of HREFing .EXEs and the Updater Application Block (UAB) -- Versions 1.0 and 1.1 of the .NET Framework.
Arun[MVP] (Expert):
In the above techniques, we have disadvantages like: Security restrictions. And updates are not transacted - Requires Substantial App change - BITS - Windows 2000 or later required - Run as Fully Trusted……
Arun[MVP] (Expert):
The UAB is clearly an interim measure while Microsoft develops a definitive solution. This solution is ClickOnce.
Arun[MVP] (Expert):
Applications are completely self-contained & install per-user, meaning no-admin rights are required. You don’t have to worry about a “ClickOnce” application breaking other applications.
Arun[MVP] (Expert):
Check this article for more clarifications:
Arun[MVP] (Expert):
http://msdn.microsoft.com/vstudio/using/Columns/default.aspx?pull=/library/en-us/dnreal/html/realworld12012004.asp
Arun[MVP] (Expert):
Next: Insert snippets
Arun[MVP] (Expert):
My Blog: http://arun.mvpblog.com/2004/07/insert-snippets-visual-studio-2005.html
Arun[MVP] (Expert):
The Visual Studio .NET Code Editor provides a Code Snippet Inserter that allows you, in a few mouse clicks, to select ready-made blocks of code and insert them into the active document.
Arun[MVP] (Expert):
• Visual Basic - Right-click at the desired location in the Code Editor to display the Shortcut menu, and select Insert Snippet.
• Visual C# - From the IntelliSense menu, select Insert Expansion.
• Visual J# - From the Refactor menu, select Insert Expansion.
• Visual C++ - The Code Snippet Inserter is not available.
Arun[MVP] (Expert):
U may ask me ; How to insert Custom Code Snippets
Arun[MVP] (Expert):
C:\Program Files\Microsoft Visual Studio 8\VC#\Expansions\1033\Expansions Go to this link and you can view some XML files; there you can add your own custom code.
Arun[MVP] (Expert): <?xml version="1.0" encoding="utf-8" ?>
<CodeSnippet Format="1.0.0">
<Header>
<Title>Web Method</Title>
<Shortcut>WM</Shortcut>
<Description>Expansion snippet to generate a new Web Method</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal default="true">
<ID>retval</ID>
<ToolTip>return value</ToolTip>
Arun[MVP] (Expert):
<Default>void</Default>
</Literal>
<Literal>
<ID>methodname</ID>
<ToolTip>MethodName</ToolTip>
<Default>MyWebMethod</Default>
</Literal>
<Literal>
<ID>desc</ID>
<ToolTip>Description of Web Method</ToolTip>
<Default>This is my Web Method - Arun Ganesh</Default>
</Literal>
</Declarations>
<Code Language="csharp" Format="CData">
<![CDATA[
Arun[MVP] (Expert):
[WebMethod(Description = "$desc$")]
public $retval$ $methodname$()
{
$end$
}
]]>
</Code>
</Snippet>
</CodeSnippet>
Arun[MVP] (Expert):
if you add this XML file to this path
Arun[MVP] (Expert):
that's it in the IDE ; you can see this code
Arun[MVP] (Expert):
awsome right?!
Arun[MVP] (Expert):
There is a temporary editor that a member of the C# team wrote to create snippets. You can find it at http://blogs.msdn.com/gusperez/articles/93681.aspx
Arun[MVP] (Expert):
Check my blog for the screen shots :)
Arun[MVP] (Expert):
Next: Refactoring -- Improve the Design of Existing Code
Arun[MVP] (Expert):
Significant part of any engineer’s day - Spent reworking existing code - Make it Better!!!
Arun[MVP] (Expert):
Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior.
Arun[MVP] (Expert):
Refactoring enables developers to automate many of the common tasks when restructuring code. For more information on refactoring, please visit <http://www.refactoring.com/>.
Arun[MVP] (Expert):
For more info: My Blog: http://arun.mvpblog.com/2004/07/visual-studio-2005-improve-design-of.html
Arun[MVP] (Expert):
Next: What’s new in Debugging
Arun[MVP] (Expert):
Edit and Continue
Arun[MVP] (Expert):
It is a cool and time-saving feature coming back again from VB. With this feature, you can edit the code during break mode (debugging session) and resume the execution of the program with out recompile your program.
Arun[MVP] (Expert):
Initially it is for VB.NET alone. Now in C# also we have Edit & Continue support.
Arun[MVP] (Expert):
For more info: check this blog:
http://blogs.msdn.com/somasegar/archive/2004/10/15/242853.aspx
Somasegar's WebLog
Arun[MVP] (Expert):
Next: Visualizers and TracePoints…..
Arun[MVP] (Expert):
A tracepoint is a kind of breakpoint where it won't break or stop!!!
Mmmm. What it means? It means when a tracepoint is hit, the debugger performs the specified tracepoint action like printing a message (including text, variables, stack traces etc).
Arun[MVP] (Expert):
Visualizers in Visual Studio 2005 are part of the Visual Studio debugger user interface. A visualizer is a dialog box that displays a variable or object in a meaningful way that is appropriate to its data type.
Arun[MVP] (Expert):
You can see the Visualizers by clicking the magnifying glass icon near a DataTip, in a Watch window, in the Autos window, or in the Locals window.
Arun[MVP] (Expert):
For more info: My Blog: http://arun.mvpblog.com/2004/07/visualizers-facilitates-customized.html
Arun[MVP] (Expert):
and screen shots
Arun[MVP] (Expert):
Other cool Enhancements are straight forward like:
Arun[MVP] (Expert):
Exception Helper - VS 2005 - In whidbey, if an exception error occurs in your code, it shows an exception handler bubble, which provides useful information like troubleshooting tips, standard info on the exception and some tips on how to avoid that exception from occurring again.
Arun[MVP] (Expert):
http://arun.mvpblog.com/2004/08/exception-helper-vs-2005.html
Arun[MVP] (Expert):
Smart Tags in Whidbey -- Similar to Office XP, in Whidbey you can see smart tags in many places (Both in Designers and in Code Editor), which helps you in do your comon tasks with out moving to different menus.
Arun[MVP] (Expert):
Import/Export Settings -- you can export the settings you use in the IDE to a file (*.vssettings) using the Import/Export Settings dialog box. Later you can import that file on other computers.
Arun[MVP] (Expert):
http://arun.mvpblog.com/2004/07/importexport-settings.html
Arun[MVP] (Expert):
Whidbey's Docking feature -- In Whidbey when you try to move an window, you can notice a demand with four arrows.
Those arrows assist you in which side the window will dock.
Arun[MVP] (Expert):
http://arun.mvpblog.com/2004/07/whidbeys-docking-feature.html
Arun[MVP] (Expert):
For more info: check my blog: http://spaces.msn.com/members/arun and http://arun.mvpblog.com
Arun[MVP] (Expert):
okay. Now let me jump into the Q/A session.
Arun[MVP] (Expert):
Q: what is so special about clickonce deployment? we had the *.msi earlier?
A:
When I have to use ClickOnce and MSI….?
Choosing a Deployment Strategy :http://msdn2.microsoft.com/library/e2444w33.aspx
Arun[MVP] (Expert):
Q: Regarding the IDE is there anything radically different from VS.NET 2003?
A:
Yes... That's what I covered... :)
Arun[MVP] (Expert):
Q: what is so special about clickonce deployment? we had the *.msi earlier?
A:
“ClickOnce” & MSI are separate but, complimentary application installer technologies. “ClickOnce” is targeted at web based per-user deployments. This has a lot of benefits, but also means you can’t do anything & everything at install time. If your application needs to do something such as install per-machine applications or installing shared components, MSI is the right technology to use.
Arun[MVP] (Expert):
Q: Hi Arun What about the policy exception in clickonce comes and how mage.exe this solves the same?
A:
The .NET Framework SDK includes a tool named MAGE (Manifest Editor & Generator) that provides both a UI (mageui.exe) & cmd line (mage.exe) interface for creating & manipulating the xml manifests that drive “ClickOnce”. Another option is to use the manifest generation MSbuild tasks included in the .NET Framework (this is what VS uses to generate manifests). Hope this helps you.
Arun[MVP] (Expert):
Q: Arun, ur blog says "the VB team is NOT going to be able to implement Refactoring in Visual Studio 2005"
A:
Yes.
Arun[MVP] (Expert):
Q: where can I submit suggestions for "desirable features" for Visual Studio 2005?
A:
MSDN Product Feed back Center: http://lab.msdn.microsoft.com/productfeedback/
Arun[MVP] (Expert):
Q: Arun, can you tell some thing, how do we automate click-once deployment?
A:
You can also use the System.Deployment APIs to trigger updates in your application.
Arun[MVP] (Expert):
Q: isnt clickonce and no touch deployment same?
A:
“ClickOnce” is the successor to the V1 No-Touch deployment technology. “ClickOnce” builds upon V1 & addresses the key limitations & issues with the V1 technology. The V1 No-Touch deployment technology is still supported in V2 of the .NET Framework. However, you would be best served by moving to “ClickOnce”.
Arun[MVP] (Expert):
Q: What is VS Team system? I would like to know more about it
A:
http://lab.msdn.microsoft.com/vs2005/teamsystem/
Arun[MVP] (Expert):
Q: VS.net doesnt have anything built into the IDE to do custom snippets?
A:
right now no; There is a temporary editor that a member of the C# team wrote to create snippets. You can find it at <http://blogs.msdn.com/gusperez/articles/93681.aspx>
Arun[MVP] (Expert):
Q: how does the Whidbey provide the visual inheritance to the web forms?
A:
I think; This feature is not available. I am not sure :)
Arun[MVP] (Expert):
Q: HI Arun, Is there any new features like script callback
A:
I am not sure. I will get back to u. My email id: arunganesh@gmail.com :)
Arun[MVP] (Expert):
Q: Is there any significant modification in the design time behaviour of Whidbey?
A:
Yes like: smart Tags, Docking, Control alignment... many
Arun[MVP] (Expert):
Q: Can you provide me the link where I can read about Whidbey?
A:
Visual Studio 2005 Beta Home -- http://lab.msdn.microsoft.com/vs2005/
Arun[MVP] (Expert):
Q: Will this VS 2005 will allow us to attach multiple debuggers
A:
Please elaborate. :)
Arun[MVP] (Expert):
Q: Clickonce removes the freedom to install picking and choosing part of the installed package
A:
For This you can use system.deployment API
Arun[MVP] (Expert):
Q: can you provide some screenshot(s) of the output?
A:
Check my blog for screen shots. :)
Arun[MVP] (Expert):
Q: Is it possible in Visual Studio 2005? Inside the method body - #Region ....... #End Region
A:
I think; u are asking about the code generation. Yes. You can -
Arun[MVP] (Expert):
Q: Arun, to persist user data between IDE sessions (when the session is closed and re-opened) we have Globals object provided by VS.NET. How does it retain info, how does it retain values? some thing to do with garbage collection - Large objects ?
A:
VS.NET just hibernates the memory snap shot that it hold at that time to retain the previous state
when u open it , it will retain the same memory snapshot
Arun[MVP] (Expert):
Q: custom control development (design time support) in VB.NET is provided in compact framework?
A:
I think; No
Arun[MVP] (Expert):
Q: It looks to be quite difficult in present VS.NET to create Extensible Projects. Anything was done to improve that.
A:
you can check VS.NET extensibility here http://msdn.microsoft.com/vstudio/extend/vseoverview/
Arun[MVP] (Expert):
Q: Arun, is VS2005 manages multiple solutions?
A:
VS 200 supports multiple projects
Arun[MVP] (Expert):
Q: It looks to be quite difficult in present VS.NET to create Extensible Projects. Anything was done to improve that.
A:
read Dr. Ex's Blog here http://msdn.microsoft.com/vstudio/extend/drex/default.aspx to learn more on VS.NET Extensibility
subhashini (Moderator):
We have the last 7 mins left for the chat to conclude. hence request all of you , to mail arun for any further queries.
Arun[MVP] (Expert):
Q: When Microsoft is going to release VS .NET 2005?
A:
http://lab.msdn.microsoft.com/vs2005/productinfo/faq/default.aspx The Visual Studio 2005 family of products will likely be released in the first half of 2005. Microsoft will continue to release Community Technology Previews (CTPs) and beta releases of the Visual Studio 2005 family of products until then.
Arun[MVP] (Expert):
Q: When is vs.net 2005 production version scheduled to be made available
A:
answered
subhashini (Moderator):
You can post your queries to arun at v-gnanag@microsoft.com & arun@mvps.org
Arun[MVP] (Expert):
Raghav: Can we edit the application in debug mode for VB.NET applications in Whidbey?
YES we can .
its called Edit - and - Continue
Arun[MVP] (Expert):
Q: Hi Arun. Does Whidbey didn't support gridlayout as the style attribute is missing for controls in asp.net2.0.Is it error with installation?
A:
right now. I have no idea. I will get back to you. :)
Arun[MVP] (Expert):
Q: What are the features of VS.NET 2003 that are not supported in Whidbey as far as IDE is concerned ??
A:
everything will be there + additional features :) no feature was discontinued
Arun[MVP] (Expert):
Q: it was very nice session from you arun we look forward for some more in the future
A:
Thanks, Sure.... Fire all your questions to my blog. I will get back to you as much I can. :)
subhashini (Moderator):
It was a pleasure to have you all
subhashini (Moderator):
participating in the webchat
subhashini (Moderator):
Thanks Arun for such an informative webchat.
subhashini (Moderator):
You can find the chat transcripts at http://www.microsoft.com/india/communities/chat/Transcripts.aspx
subhashini (Moderator):
The next webchat is scheduled on Feb. 2'nd
subhashini (Moderator):
Please make a note that we do not have any webchat scheduled on Jan 26, on account of Republic Day celebrations
subhashini (Moderator):
Bookmark the url http://www.microsoft.com/india/communities/chat/default.aspx for forthcoming webchats
Arun[MVP] (Expert):
I have few references to share with all of you as we reached the end
subhashini (Moderator):
Thanks all of you and have a lovely evening.
Arun[MVP] (Expert):
Visual Studio 2005 Beta Home -- http://lab.msdn.microsoft.com/vs2005/ Visual Studio 2005 Prerelease Software -- http://lab.msdn.microsoft.com/vs2005/get/default.aspx System Reqs: http://lab.msdn.microsoft.com/vs2005/get/currentreadme/ MSDN Product Feed back Center: http://lab.msdn.microsoft.com/productfeedback/ Visual Studio 2005 Product Line -- http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx Visual Studio 2005 Beta Documentation -- http://msdn2.microsoft.com
Arun[MVP] (Expert):
Navigate the .NET Framework and Your Projects with "My" -- http://msdn.microsoft.com/vbasic/default.aspx? pull=/msdnmag/issues/04/05/visualbasic2005/default.aspx Use the Visual Studio 2005 Bootstrapper to Kick-Start Your Installation -- http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/ Refactoring in Visual Studio 2005 --
http://www.c-sharpcorner.com/Code/2004/June/Refactoring.asp Microsoft Developer Tools Roadmap -- http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx Click once: http://msdn.microsoft.com/vstudio/using/Columns/default.aspx? pull=/library/en-us/dnreal/html/realworld12012004.asp
Arun[MVP] (Expert):
Fire all your questions to my blog. I will answer it.
Arun[MVP] (Expert):
.NET Blog: http://arun.mvpblog.com
VS 2005 Blog:http://spaces.msn.com/members/arun
Web services and XBOX Blog: http://weblogs.asp.net/arunganesh
.NET Web Site: www.arunmicrosystems.netfirms.com
UG Site: www.mugh.net
Arun[MVP] (Expert):
Thanks a lot . Friends. Let us meet - Blog. :)
subhashini (Moderator):
Thanks again to all of you
 
     

©2009 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy Statement