The Design-Time Developer

I finished my homework!

Thanks to some very enthusiastic audience members at my Honolulu MSDN Event last Wednesday, I actually left the event with more questions than answers... 3 to be exact.  Just as I was offering everyone else the opportunity to do a little extra-curricular work to reinforce their learning from the three sessions I presented, I opened myself up to questions and took 3 home to find quality answers beyond the scope of my knowledge at that moment.

Q. How can you implement drag and drop capabilities for a custom control?
A. Oh, if only I had a little more time on Wednesday's event.  After exploring in Visual Studio .NET 2003's Object Browser, I quickly found the answer to this one.  The basic System.Windows.Forms.UserControl exposes all of the drag and drop events and property that we explored in the first session of the day.  UserControl is inheriting these events and property details from the most basic of controls, System.Windows.Forms.Control.  By utilizing either the Control class or the UserControl class (or any other control type, for that matter), you should automatically have the functionality built in to support drag and drop capabilities.

Q. Where is the information stored for ASP.NET Tracing?
A. First thing to note is that ASP.NET Tracing is distinct from .NET Tracing and utilizes a TraceContext object.  The articles I found provided limited insight into this class, so my suspicion is that the data stored in this class is located in a local object that is available as part of the active session and once the session is finished, the data disappears.  If anyone can shed additional light on this one, please add your comments.

Q. How can I define project or system dependencies within Visual Studio Team System?
A. After spending a bit of time exploring the expansive functionality within the upcoming Visual Studio Team System, I discovered that there are many places within the modeling tools (Logical Datacenter Designer, Application Connection Designer, etc.) to define different settings, constraints or dependencies.  You can even define your own "user-defined settings" for your servers, zones and applications.  This answer has a hands-on section: visit http://labs.msdn.microsoft.com/vs2005/ to download the latest beta bits and play around with Visual Studio 2005 and Team System in the privacy of your own home :-)  Once you've had a chance to explore, let me know what you think.

Happy coding,
Jacob

Published Monday, March 21, 2005 5:31 PM by jacobcy
Filed under:

Comments

 

Dave Bost said:

April 3, 2005 10:43 AM
 

The Design Time Developer I finished my homework | debt solutions said:

June 19, 2009 2:07 PM
New Comments to this post are disabled

This Blog

Syndication

News

This is the blog of Jacob Cynamon, Microsoft developer community champion (DCC) for Illinois, Indiana, and Wisconsin.


All postings on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer.

Developer Events

Other Microsoft Events TechNet Briefings
[IT Pros]


Connections
[Small/Mid-Sized Business Owners]


TS2 Seminars
[MS Partners]


MBS
[Business Professionals]


Stay up-to-date on developer happenings
Localized MSDN Flash Newsletter

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker