Can I use Visual Studio 2010 Architectural features to enforce design on code, without feature packs?

I am studying Visual Studio 2010’s architectural tools for application lifecycle management.

After we have sketched some modeling diagrams, we wonder now how should be the natural workflow to convert that to architecture-compliant code.

We noticed that UML Explorer tab keeps track of entities created in class diagrams, sequence diagrams and component diagrams, but not so with layer diagrams and activity diagrams.

The main problem is: when the modeling is ready, how would be the expected way to convert it to a compliant code? Possible paths could be:

  • “you have to manually keep track of everything”;
  • “you can use feature X and/or technique Y”;
  • “There’s no way to do that without the Modeling Feature Pack”;

As far as I have researched until now, everything suggests that the Feature Pack is needed, but I wonder what would be the point to have those standard modeling projects if the greatest advantages of modeling (tracking and validating development code) cannot be performed…

UPDATE: This blog post shows how to use Layers Diagram of a modeling project (via Validation flag on modeling project’s properties tab) to RAISE BUILD ERRORS in case a layer dependency (which can be manually created) is violated. That seems promising, and I wonder which more of these hidden features the “non-feature-packed” Visual Studio 2010 might have.

Thanks for any help

1

As you have discovered, the layer validation, for C# at least, was present out of the box with Visual Studio Premium and Ultimate.

You also get the ability to generate Dependency Graphs, and Sequence Diagrams from your code, as well as the old-school class diagram view that has been around since VS2005 (possibly 2008, I’m not sure). I don’t believe there is any code generation from models, though.

Whilst you can draw UML static structure diagrams, you can’t generate them from code without the feature pack.

With the feature pack you can do Code-to-UML, and UML-to-Code (for C#, at least). The feature pack also extends the visualisation features that were out-of-the-box for C# so that they can handle C/C++, and also extends the layer diagram features to C++.

In answer to your question about what the point would be:
Microsoft often ship to fairly hard (as in, must not be missed) deadlines, and so sometimes features don’t make the cut for quality reasons. These are often shipped as feature packs, service packs, etc. I believe they always intended the functionality to work the way it does with the feature pack, it just wasn’t ready for the target ship-date.

The links to the documentation for the out-of the box features is:
http://msdn.microsoft.com/en-us/library/57b85fsc(v=vs.100).aspx

I presume you have the link to the feature pack docs, but for future readers:
http://msdn.microsoft.com/en-us/library/dd460723(v=vs.100).aspx

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật