John Stallo - The Visual Studio 2005 Class Designer (1 of 3)
- Posted: Mar 30, 2005 at 10:50 AM
- 106,290 Views
- 31 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
If the synchrony between Class Designer and Code is truly harmonious, this could indeed be a powerful step in the direction of 'codeless' rapid prototyping, especially when refactoring the entire architecture.
It's great to see generic support as well and as the static case becomes complete one naturally wonders about visualizing the runtime, particularly as the static boxes shift and morph due to late-binding.
Could the next stage be a Class Visualizer Animation thats provides a snapshot of the object states during debug?
There were just soo many cool things to see here.
Ramesh.
Ramesh.
Outdated??? god I hope not. Updated... now that is a good thing agreed?
Where can I get this for my VS2005 Beta???
Yes your book is outdated, but be glad that it is!!! They added so many nice things in .net 2.0, start reading blogs (and channel9 of course!) to get you up to date again!
By the way, the 2003 version DOES HAVE windows forms, and so does the original 2002 version...
Beautiful.
I can just imagine how useful this would be in bringing people up to speed with a project - here, look at the class diagram *presto*...
*Edit* because I cant post again due to lock behaviour :-/
I notice when hovering over members, the tool tips showed more information - types and some form of comment. Is that attribute-based information, or xml-comment based? I guess the former if the whole thing is reflection-based?
The comments shown in the tooltip are the xml comments specified on the class, method, field etc. We don't use reflection to get the information. The diagrams are kept in sync with changes you make to the code instantenously - you can think of the class diagrams as another "view of your code". This requires parsing the source files and listening to events raised when code is edited.
Of course, you can also visualize types from referenced assemblies in the class diagrams as well (you don't need source code for that). That information is gathered from the IL.
So, the death of UML, anyone?
I don't know if this is the death of UML. It's very similar to the class diagrams of UML. What you guys are doing is GREAT! I like the designer, very useful.
We do provide easy support for zoom and pan. However, there won't be a zoom/pan window.
Ramesh.
"Show As Collection Association" directly addresses a fundamental issue with the representation of collections in class diagrams...that's very cool indeed.
I'll post the next one Friday morning and then see if I can't get the final one Saturday. Sorry for the delay.
Pan is supported on almost all MS apps, except Windows Forms.. Just hold scroll wheel/middle button down and pan around. However would classic drag be easier in this case, perhaps.
Or if in hurry just ++ the number in the filename
Hi John,
I see this as a very good feature in the new VS.Net 2005.
I would like to know how the VS.Net 2005 some of the below features
1.XMI interface (Import/export) of the class design
2.How do i develop a Model Driven Architecture using the Microsoft UIP-Application blocks atchitecture ( i think is a very good Distrubited architecture. This architecture is really catching up in Open source)
3.Deployment across teams.
(It would be really good to sync the same into VSS or to some source control so that the Project Architect can guide designers about the changes based on the requirements)
4.UML or industry Standards in Middle tier designs
5.Enable Migration into Microsoft languages (Some thing like J2EE into Microsoft .Net)
Regards
Raghu
I work with John. I can answer some of the questions and will try to find answers for others.
Ramesh.
Ramesh.
Raghu,
Here below is the info I was able to get on migration tools from J2EE to .Net.
Hope this helps,
Ramesh.
The main tool we have to support this is the Java Language Conversion Assistant, which converts J2SE 1.4 and J2EE 1.3 code to C#:
http://msdn.microsoft.com/vstudio/downloads/tools/jlca/30Beta/
This is a Visual Studio plugin, and is a free download.
J# is also something that can assist in porting existing Java code… this is limited to J2SE, and only up to JDK 1.1.4, but several Java ISVs have still found it useful to port ‘business logic’:
http://msdn.microsoft.com/vstudio/java/migrate/visualj/default.aspx
Also, we now have a complete ‘Java to .NET Migration’ hands on workshop that is available online, which contains a lot of key content regarding J2EE to .NET architecture mapping (to help facilitate re-writing), and also has labs that cover the JLCA, J#, and other migration topics and tools… It can be run by anyone (free, requires registration), and even includes a virtual hosting of VPC image that includes Visual Studio, JLCA, sample lab files, etc… this can all be run through the browser without downloading anything locally. This is a great resource for any J2SE/J2EE folks getting introduced to .NET, writing new apps, migrating existing apps, etc:
http://msdn.microsoft.com/vstudio/java/migrate/workshop
Finally, there is the ‘MSDN Resource Center for Java Developers’, that references all this content, and additional aspects including J2EE to .NET interoperability, general .NET topics, etc…
http://msdn.microsoft.com/vstudio/java/
I somewhat know this information as i was the part of the MS JVM maintenance (from the partner company) until recently after i moved out of the Microsoft account in my company and had worked with various groups of the tools for microsoft at Redmond.
Well the Java Language Conversion Assistant cannot completely convert the J2EE code into the C# equilent 100% and needs lot of tweaking of the code generated (i dont want to go into figures).
What i was asking on this specific conversion was that if i had a j2EE Design diagram lets suppose in Rose/MagicDraw UML, they have a feature of XMI(Xml interchange) so that the design is portable across the design tools.
If the said existing design in J2EE needs to be ported into a C# equilent then what features will the VSTS support?
I came across this cool architecture as MDA(Model Driven Architecture) which does an end to end design starting from the View until the model involving various tiers in the application.
I suppose the MS UIP application blocks also does something similar and it would be really great to integrate the MS UIP into the VSTS so that there can be a standard of MS UIP in Application development using n-tier architecture.
Regards
Raghu
(raghu.akkaraju@gmail.com)
An addition to the above questions.
How is Sql Server integrated with the VSTS?
I can have various DB objects in my database and i need to get the relationships among various DB objects as i want to write a wrappers over each DB Entity which can be accessed as class instances. In this case i need the VSTS to help me generate the classes from the DB objects(Tables/Views).
how this scenario is captured in VSTS ?
Regards
Raghu
I suggest you post your questions in one of the Team Systems Newsgroups (http://lab.msdn.microsoft.com/teamsystem/community/newsgroups/default.aspx) or blogs http://lab.msdn.microsoft.com/teamsystem/community/blogs/default.aspx).
Thanks,
Ramesh.
Thanks for posting. Here are some answers to your questions.
1. We are working on a solution for importing UML models exported by other tools. XMI will probably be part of the solution. However, there are some issues with it.
2. We agree that UIP is an excellent architecture for application front ends.
Our approach to model driven development is called Software Factories. You can read about it at http://msdn.microsoft.com/architecture/overview/softwarefactories/.
Differences between SFs and MDA are summarized on my blog, and by my post on the Server Side at http://www.theserverside.net/news/thread.tss?thread_id=30082.
In a nutshell, you can think of SFs as MDA and more. What we have in common is the idea of generating code and less abstract models from more abstract models. The differences are in the "more", which deals with all of things that we think are critically important to making model driven development a practical reality, such as integrating code and models effectively, partitioning models into files that work well in configuration management scenarios, and so on.
As for using Software Factories for UIP, we have the pieces of the solution, but we can't yet offer you a way to pull them together. You can build a UIP designer using the DSL tools (http://labs.msdn.microsoft.com/teamsystem/workshop/dsltools/). You can use the UIP block from PAG, as you've already discovered. You might also write some templates and wizards that create a UIP project in an existing solution and then provide additional short cuts in building the pieces you need to work with the application block.
Of course, putting all of these pieces together to provide integrated guidance to your developers is what Software Factories are all about. We're working on tools that will help you combine pieces of guidance into packages and automate their installation and deployment. We'll have more to say about that later.
3. Not sure I follow your question here.
4. Great question. We have technologies that automate the construction of the UI and the database, but the middle tiers remain untamed territory. We're actively working on technology for modeling service oriented architectures, where the middle tier becomes the focal point of the system, and the UI and database become peripheral parts. The Application Designer and Systems Designer in VS 2005 are down payments on our long term solution in this space.
5. Regarding Java to .NET Migration, we have developed an online workshop is designed to help Java developers become acquainted with the Microsoft platform by using their Java skill set as a frame of reference for learning Microsoft .NET development.
This course can be completed for free, online, and at your own pace. It consists of video presentations, downloadable class notes, and hands-on labs which are supported by the MSDN Virtual Labs infrastructure. Topics include skills mappings (i.e. "I know how to use RMI – how does .NET Remoting work?") as well as code migration (i.e. "I have a piece of Java code I want to migrate to the .NET Framework – how do I use J# or the JLCA to move it over?").
To access this workshop, visit: http://msdn.microsoft.com/vstudio/java/migrate/workshop.
Cheers,
Jack Greeenfield | Architect | Enterprise Tools | Visual Studio
Hi,
I have just downloaded the ModelingPowerToys.zip.
While I try to install it, I only can see the *.dll file and the visual studio 2005 does not have the add in manager GUI as visual studio 2003. how can I install it properly.
Thanks,
/CC.
Remove this comment
Remove this thread
close