Scrigroup - Documente si articole

Username / Parola inexistente      

Home Documente Upload Resurse Alte limbi doc  

AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

Visual Studio 2005 Team System for Architects

Visual studio

+ Font mai mare | - Font mai mic


Trimite pe Messenger
Managing the Ongoing Project
Microsoft Visual Studio 2005 Team System
Visual Studio 2005 Team System for Architects
Identify Software
Customizing Visual Studio 2005 Team System Using Process Templates
Tools for Testers
Testing in Visual Studio 2005
Introduction: Understanding Application Life-Cycle Pain Points

new1Visual Studio 2005 Team System for Architects

Visual Studio 2005 Team System identifies two separate architect roles: the infrastructure architect and the solution architect. On many teams, this might be one person. Architects can also have other roles in VSTS. They could be the project manager or one of the developers. Regardless of a team’s organization, either architect role in Visual Studio 2005 is served by one edition: Visual Studio 2005 Team Edition for Software Architects.

So, what is an architect? When it comes to architects of this type, there is no universally accepted definition. It can be hard to define, but here is one possible definition: An architect is someone who puts together the structure or structures of a system, whether it is a network, datacenter, or software system. One can argue whether this is universally true; however, architects must be experts in the areas of maintenance, performance, compatibility, and security because their guidance will affect each of these areas. In addition, architects must represent these systems using a notation that is easily understood by all users of the designs.

It can be seen how this is a vague definition and why it’s possible for many team members to be considered “architects” during the Software Development Life Cycle (SDLC). VSTS addresses this lack of clarity by providing explicit definitions, tasks and tools for performing system-design tasks.

Infrastructure Architect (IA)

Of the two architect types that VSTS identifies, the infrastructure architect, designs and documents the datacenter and network infrastructure. They understand and model the application’s logical datacenter, including its hardware, communication types, pathways, firewalls, and security constraints. Although not directly related to the software development effort, these models are critical to the success of an application, because it must be validated against these constraints to prove that it can be deployed to that environment. This concept is known as Design for Deployment.

The infrastructure architect will primarily use the Logical Datacenter Designer in VSTS to model the environment. Before commencing the design effort, the infrastructure architect should have a complete understanding of the datacenter environment, including some of these key points:

The types of application servers (Web, database, generic) in the datacenter

The versions of operating systems and .NET on each server

The firewalls or communication flow restrictions between the servers (HTTP, TDS, or generic)

The protocols allowed into and out of each server and zone

Any other constraints for each server and zone (including custom constraints)

Solution Architect

This architect type plays a larger role in VSTS. The will define the application’s connected systems as an array of connected Web services, Web applications, Microsoft Windows applications, and other external databases and components. Most of the tools in VSTS are for the solution architect’s use, including the Application Designer and System Designer , and more than likely, the Deployment Designer.

Before commencing the application design effort, the solution architect should have a complete understanding of the application architecture, including some of these key points:

The number and types of services (Web, database, or generic)

The versions of operating systems and .NET required to execute

The communication flow restrictions between the services (HTTP, TDS, or generic)

Any other settings for each service and zone (including custom settings)

The Distributed System Designers

The distributed system designers are a set of design tools in Visual Studio 2005 Team System for Software Architects that help reduce the complexity of developing and deploying service-oriented applications.

new2Application architects can visualize their service-oriented applications, and developers can work with the generated code while keeping the code changes synchronized with the visual design. Infrastructure architects can create logical abstractions of their datacenter and, prior to actual deployment, validate it against the constraints of the application or datacenter designed by the application architect. Reports generated from this validation help to document the deployment mapping.

There are four distributed system designers:

Logical Datacenter Designer.

This designer can be used to create diagrams of interconnected application hosts that represent the logical structure of a datacenter for the purpose of communicating important information to the developer about the target deployment environment.

Application Designer.

This designer allows developers and architects to define applications that will be configured into systems for deployment.

System Designer.

This designer can be used to compose applications into systems, for deployment and reusability.

new1Deployment Designer.

This designer is used to describe a deployment of a system to a logical datacenter by binding applications within the system to logical servers (application hosts) modeled in the logical datacenter diagram.

Logical datacenter diagrams and application diagrams can be created independently, by different users, and in any order. When starting a new software project, it might make sense, however, to begin with the logical datacenter diagram. Many organist ions would start with this diagram because, more than likely, that infrastructure will already exist or the company will already have Windows versions and policies in place.

DSI and SDM Revisited

Re-iterating previous information, the Dynamic Systems Initiative (DSI) and the System Definition Model (SDM) are important initiatives that will enable the product, as well as Microsoft products, to be dramatically simplified and automated, especially in regard to development, deployment, and ongoing operations and maintenance.

DSI is a broad Microsoft and industry initiative uniting hardware, software, and service vendors around a new software architecture based on the System Definition Model (SDM). This new architecture is becoming the focal point for how Microsoft is working to dramatically simplify and automate how our customers will develop, deploy, and operate applications and IT infrastructure. Support for the SDM will be delivered in Visual Studio, across the Windows Server System family, and in Microsoft’s own management tools.

SDM, which is part of DSI, is an Extensible Markup Language (XML) blueprint that spans the IT life cycle and unifies IT operational policies with the operational requirements of applications. It is relevant at both design time and run time. At design time, it will be exposed through Visual Studio 2005 to enable infrastructure architects to capture their policies in software and solution architects to describe application operational requirements. At run-time, in future releases it will be used to manage the application.

Here is an example of how an SDM document is formatted in Visual Studio:

<SystemDefinitionModel Name='MyDatacenter1'>

<SystemDefinition Name='MyDatacenter1' >

<SystemDefinition Name='IISWebServer1' >


<SystemDefinition Name='Zone1' >

<Subsystem Name='DatabaseServer1' >


<Containment Name='' ChildMember='DatabaseServer1' />




At deployment time, the SDM description of the application will enable the operating system to automatically deploy the complete application and dynamically allocate a set of distributed server, storage, and networking resources that the application requires. Throughout ongoing operations, the SDM also enables the operating system to easily grow and shrink the necessary resources that are associated with a particular application based on changing business needs. The distributed system designers are the first of many deliverables from Visual Studio in support for the DSI.


The distributed system designers will support constraining and validating the design against many different security models, both Microsoft and industry recognized, including Internet Information Server (IIS) and ASP.NET Security

In addition, for each host and service component relationship, VSTS has enabled pre-built constraints, such as ensuring that an application component requiring Windows authentication will deploy only to an IIS server that supports Windows authentication. Users can also author user defined constraints, as well as specify custom settings for the security requirements relevant to the organization. Simple and custom constraints can be validated by the distributed system designers.


new2A popular architecture choice today is one of a service-oriented architecture (SOA). These types of architectures are built on loosely coupled, autonomous service applications, communicating via well-defined messages and often across trust boundaries. In the future, Microsoft will be shipping a variety of technologies to make it easier to build and manage these types of systems and to extend the capabilities of the underlying platform. Until then, we can still implement solid SOA architectures by creating ASP.NET Web services.

What About UML?

Visual Studio 2005 Team System does not implement UML, and there will be no explicit integration between Visual Studio 2005 Team System and the Microsoft Visio UML diagrams. Organizations and users won’t be able to swap model information directly between the two tools. However, if UML models exist—such as use cases, sequence diagrams, or static structures—Visio can generate code for the model, and the Visual Studio 2005 Team System tools will be able to reverse-engineer that code into the SDM and class models.

The designers in VSTS are Domain Specific Language designers. They are diagram designers that synchronize the documentation with the underlying .NET artifacts automatically. From a productivity standpoint, this is very beneficial.

The existence of UML and UML-based tools, has not significantly changed the way developers build applications. Nor has it significantly contributed to developer productivity. Of those developers using UML, most take advantage of use case diagrams and class diagrams. Only a small percentage generate code from those diagrams.

new1This was one of the driving forces behind the model-driven development initiative for Visual Studio 2005 Team Edition for Software Architects. Microsoft really wanted to take tasks that developers and architects find difficult, and figure out ways that modeling tools could add value and help them. To be useful to developers, a model must have the same status as source code. It too must have a precise syntax, comprehensible semantics, and well-defined mappings to source code or other well-defined models. And it must be more than just documentation.

Take the Visual Studio 2005 Team Edition for Software Architects Application Designer, for example. It’s not just documentation, although it can serve that purpose. Rather it allows a developer (or architect) to focus on one aspect of her system – the connectivity between services in a service-based architecture. They can design this aspect of the system before building projects, WSDL files, code and schemas, or ask the tool to document connectivity between services if those artifacts already exist. Since connectivity information is scattered throughout many development artifacts, the holistic view such a diagram gives is fundamentally useful even though all the information it conveys could be deduced by careful scrutiny of the implementation artifacts. The Application Designer has a well-defined syntax (its DSL metamodel), and predictable, always-synchronized mappings to the various implementation artifacts. The underlying designer framework plays the role of a compiler for Application Designer diagrams, much like the role played by a traditional compiler with respect to source code files.

To summarize, Microsoft recommends using precisely defined DSLs and DSL-based tools for these tasks:

Precise abstractions from which code is generated

Precise abstractions that map to variation points in frameworks and components

Precise mappings between DSLs

Conceptual drawings that have precisely specifiable mappings to other DSLs or to code artifacts.

Custom Assemblies

The application designer is used for modeling the structure of the applications. This structure is made up of deployable units of functionality. The connections between these applications are made via communication protocols supported by the applications. If custom assemblies are part of the application, they’re simply deployed with the application and users won’t see them referenced on the diagram. Microsoft is considering adding a feature for a future release that will allow users to drill into the implementation of an application.

Other Languages

Visual Studio 2005 supports numerous languages—many more than Microsoft itself produces. With regard to Visual Studio 2005 Team System, Microsoft has targeted features toward what it believes is the audience most likely to use them in association with building Web services. In other words, the application diagram will support implementing Web services in Microsoft Visual Basic, and Microsoft Visual C#. From inside the class designer, which is a core development tool, Microsoft will support all .NET languages it provides, with the exception of C++ in this release.

Existing Code Libraries

Users can reuse any existing code or code libraries, as long as they are wrapped up as a Web service. They can then drag and drop a Web service application onto the design surface. For the initial version of VSTS, however, Microsoft will support only visual Web components, database connections, external Web services, and Windows client applications. Again, this does include any miscellaneous class libraries—they’ll just be outside the scope of the distributed system designers (e.g. they won’t be first class design elements on the design surfaces).

Existing Web Services, J2EE, BizTalk, and SQL Server 2005

Interaction with existing Web services can be modeled by adding an External Web Services to the application diagram. Users need to specify the location of the WSDL file that describes each Web service and then will be able to connect other applications to it. Connecting an application to an external Web service will result in a Web reference being generated in code. External Web service won’t automatically update if the underlying Web service ever changes, but they can be update from the diagram using the right-click menu on the application.

External Web services can be used to represent existing J2EE services. Users will need to have access to the J2EE service’s Web Service Description Language (WSDL) document. Microsoft BizTalk applications are also callable as Web services – this takes advantage of the fact that BizTalk 2004 can expose its orchestrations as ASP.NET Web services which provide the WSDL documentation, which is required by the application designer.

While there is no native support for SQL Server 2005 Web service access users can again use the same External Web Service mechanism to describe access to these services.

The Logical Datacenter Designer

new2The infrastructure architect’s primary task is to define the network and datacenter onto which the application will be deployed. Using Visual Studio, the architect will define the metadata and configuration requirements by using the logical datacenter designer. Specifically, this means defining the following characteristics:

Types of servers (application hosts)

Communication pathways between hosts (server endpoints)

Types of communication boundaries (zones)

Communication connection points (zone endpoints)

Types of services enabled

Configuration of application services

Adding or removing setting resources to logical servers and endpoints

new1Creating Diagrams

Logical datacenter diagrams are created independent of the application-development process. Infrastructure architects using Visual Studio 2005 Team System might not necessarily be doing any coding on the project itself. It is important to design these diagrams before the application development gets underway. This is because the application architecture must be vetted against the logical datacenter diagram to ensure that it will deploy. The more time spent accurately designing the network diagram, the more complete it will be for this and future application-development efforts.

There are various shapes that can be added to a diagram including:


Zones are the boundaries such as domains, demilitarized zones (DMZs), or other isolated security areas. Because zones can contain hosts, thus making them a high-level abstraction, zones form a logical container of hosts. They do not necessarily map to anything specific in the datacenter and serve only as a way to encapsulate portions of the datacenter, essentially hiding the servers, ports, and pathways while exposing only a single public port into the zone, out of the zone, or both. Zones form the basis for composition or for reusing components. Another common use for zones is to define communication boundaries and pathways, such as identifying separate local area network (LAN) segments, virtual private networks (VPNs), or even firewalls.

From a diagramming standpoint, architects should strive to design the datacenter using zones if at all possible. They force the hiding of sensitive servers and ports, only revealing a few public access points. Another example is a hardened database zone or an intranet Web portal zone. Both of these zone examples can contain embedded hosts and connection pathways internally, but what is exposed to the other clients and servers in the diagram is done through an external port on the zone.

Because zones are just containers, they can contain other zones. Organizations can use this capability to define a complicated datacenter in an easy-to-read way.

Endpoints (Ports)

Endpoints are the communication gateways into or out of the logical servers and zones, including both client- and server-side gateways (Web site, HTTP, database, and generic). When users initially drag and drop a zone onto the diagram, it has one inbound port (inward pointing arrow ) and one outbound port (outward pointing arrow). Typically, zones need at least one inbound port so they can be connected to a client, and an outbound port, which will allow architects to chain together many zones.

After defining the direction of the port, users can define the constraints on those ports. The first type of constraint is to specify what type of host or application can communicate with the port. This is where the real value of the logical datacenter diagram is set. By specifying the types of connections that can be made to and from these ports as well as any user-defined constraints (such as the security method, IP port number, etc.), users are actually specifying what traffic the zone can support. This detail is essential to ensure an environment that is secure but still capable of running the application. Port constraints affect only what passes into and out of the zone; it doesn’t affect what is restricted inside the zone.

Clients and Servers (Hosts)

Client and Servers (hosts) are the various application hosts (IISWeb, database, Windows, and generic). There are various datacenter elements which can be added to the diagram including:


A server hosting a database


A Web server that hosts ASP.NET Web applications


A desktop machine in the enterprise, representing an end-user client application


A server of an unspecified type in the datacenter, which can be extended to represent a custom server type


Figure 5-1

Logical datacenter designer toolbox

new1Connecting Endpoints

Once the users have added hosts to the diagram, they need to be connected to indicate which communication pathways exist. This can either be via the connection tool from the toolbox—by dragging and dropping it between the two ports (endpoints)—or by right-clicking one of the hosts, select Connect, and then choosing the corresponding host to connect it to. The various endpoint client types include:


A consumer of a database connection


A consumer of a nonspecific connection


The provider side of a nonspecific connection


The consumer side of an HTTP connection


The provider/server side of an HTTP connection


A communication endpoint on the edge of a zone

Figure 5-2 shows a zone containing an IIS Web server that has the properly configured and connected endpoints.


Figure 5-2

An example of a logical datacenter diagram containing a zone

Host Reuse

As organizations create and configure clients, servers, and zones, they might find that they want to reuse the same hosts on other diagrams. This makes sense, especially when they have a standard configuration for IIS Web servers, with a specific version of Windows, .NET, and security.

Visual Studio can save the reusable host as a logical datacenter designer prototype file (.lddprototype), and later, when editing a diagram, users can locate the new host under the Logical Servers section in the toolbox and drag it onto the design surface. It will have all the same settings and constraints that it was given initially, and can be changed to suit the new datacenter, if need be.


The Application Designer

The solution architect’s primary task is to define the application’s architecture, including its applications, services, and communication pathways. Using Visual Studio, the architect will define the metadata and configuration settings by using the Application Designer. Specifically, this means defining the following characteristics:

Types of applications (applications/consumers, services, or databases)

Communication pathways between applications (connections and endpoints)

Constraints and settings

The Application Designer’s focus is assisting in the development of SOA applications. This means that architects are primarily modeling ASP.NET Web services and the applications that consume them.

Creating Diagrams

Application diagrams (and system diagram) can be created before any coding has started. This allows solution architects, who may not be involved with the detailed implementation of a system to use Visual Studio 2005 Team System to work on the design ahead of time. Designing these diagrams before application development gets underway allows the application architecture to be vetted against the logical datacenter diagram to ensure that it will deploy; issues caught early with the architecture are easier and less costly to fix if coding has not yet started. And once a design has been validated the Application Designer will generate a skeleton implementation, with projects, code and configuration files that precisely match the design.

The various types of applications that can be added to diagrams include:

Applications, Services, and Databases

Applications can include Windows, Microsoft Office, ASP.NET Web applications, external databases and generic applications. This can also include ASP.NET Web service, BizTalk Web service, or external Web services. The Application Designer toolbox contains application prototypes that are used to design applications. Each of these prototypes describes a preconfigured version of a base application type. Dragging a prototype onto the design surface creates an application definition of the base type that is configured as described by the prototype. Application Designer ships with a standard set of prototypes or customer prototypes from an application or applications which have been added and configured on the design surface.

Users work with the Application Designer by dragging prototypes onto the design surface and connecting the resulting application definitions to define the connected system that they are constructing.

Figure 5-3

Application designer toolbox

new2Some of these base application types, such as ASP.NET applications and Windows applications, support round-trip developing with code, which means that the application design can be implemented (generated) as code, and that once implemented, changes made to code are reflected in the designer, while changes made in the designer are also reflected in code. This is a great development feature, especially when the architect and developer are two separate people—things can still stay in synch.

Users can also load additional application types and prototypes that might be supplied by Microsoft or third parties, or create own custom types and prototypes. This capability will be provided by the extensibility tools, which will eventually be made part of the software development kit (SDK).


Applications communicate through endpoints and can support a Web Application, Web Service or a generic endpoint. For two applications to be connected, there must be a provider endpoint at one end of the connection and a consumer endpoint at the other end. Users can add additional provider endpoints directly to applications that support them either by dragging them from the toolbox or by right clicking on an application and selecting Add New.

There are three application endpoint types, each of which has provider and consumer forms:


That describes a SOAP-based Web service endpoint.


That describes an http-based web content endpoint, at which files other than web services will be accessible.


That defines a connection to a database.


An endpoint of unspecified protocol.

Creating Reusable Application Prototypes

As users create and configure applications, they might find that they want to reuse the same or similar application definition in other solutions. Perhaps they have an standard configuration for an ASP.NET application or maybe a standard set of operations that all Web services should offer. If this is the case users can create their own “custom” prototypes in the toolbox from any application, group of applications, endpoint or group of endpoints that have already been configured on the design surface. Note that this form of reuse is based on propagating a copy of the application or endpoint specifications, and is very different to reusing an application implementation complete with code. An implemented application can be reused by including it in multiple systems. Systems are not intended to be used in other application diagrams but to serve as an efficient way to deploy many related applications together.

Implementing the Classes

The word implement, usually envisions the process of adding all the code to the class so that it’s complete, can be compiled, and can be used by the application. In other words, implementing a class means to construct it. Therefore, it would be safe to say that while the solution architect architects a Web service, it’s the developer who implements it.

In practice, it’s the architect who gets to use the “implement” feature in VSTS. They can right-click on a Windows application, Web application, Web service, or Office application and VSTS will generate the stub code. VSTS also supports an Implement All Applications feature, which will generate all the projects and template code for every respective application and service in the diagram. This code can then be checked-in to source control, and one or more task work items can be created, letting the developers know that there’s some starter code out there, ready to implement.

By default, the implementation provides a skeletal structure, or stub code that is generated – enough for the architect to take a cursory look, change a few namespaces, reference assemblies, add comments, and then send it on its way to the developers. Figure 5-5 shows the new project that gets created.

VSTS will also create a System Definition Model (.SDM) document and associate it with the newly created project. This document describes the ASP.NET Web application (or whatever application is implemented). This file is created from the detail that was previously stored in the application diagram – in effect the SDM document that describes the application has been copied from within the application diagram into a separate file in the root project of the application

Settings and Constraints

All application hosts and applications placed on the logical datacenter diagrams, application diagrams, and system diagrams can have settings and constraints. Constraints define requirements that must be satisfied during deployment – constraints can be set on an application which constrain the logical server on which it can be hosted, can be set on a logical server in which case they constrain the applications that can be deployed to that server. Individual elements in a logical datacenter diagram, for example, can be restricted in many ways to properly model the policies that exist in the datacenter. A constraint might require or restrict certain types of communication, might require specific security aspects, or might bar a certain application type altogether.

There are three primary types of constraints:


Based on the element being used

Example—IIS Servers intrinsically allow only certain file extension mappings. For example if the .soap script map were removed form the webserver, the web service bound to a web site would not be supported. A built in constraint (implicit constraint means there is no user interaction required to enable and fire the constraint). Other examples include securing of ASP.NET applications to be compatible with IIS Settings.


new2As defined by the designer

Example—a constraint controls whether or not an ASP.NET application can be hosted on a specific host. These are implemented as dialogs.


Created by authoring one or more settings to form a constraint

Example—Only ASP.NET Web services built by the user named Cory can be hosted on a specific host.

Logical server constraints can also advertise the capabilities of the server. Predefined constraints can be used to specify the operating system and the .NET Framework versions available on a server. A server can be constrained so that certain application types are not permitted to deploy. Other constraints might specify that a specific feature of an application is required, such as specifying that only the ASP.NET SqlProvider be used for Role and Membership in ASP.NET applications. All of this is important documentation, both for the team members as well as Visual Studio 2005 Team System’s designers.

new1The Settings and Constraints Editor is used to define various element attributes included in each diagram: logical datacenter, application, and system. This is the same editor used by all the distributed system designers in Visual Studio 2005 Team Architect. The Settings and Constraints Editor is normally docked below the bottom edge of the logical datacenter diagram. If it isn’t visible, it can be displayed from any diagram element’s context menu.

The System Designer

The System Designer is the third of the distributed system designers is arguably at the heart of the entire suite of tools. When users deploy a distributed application system they actually deploy a configuration of applications. The applications they deploy will need to be configured and connected in a carefully considered way that achieves both the functional goals of the system and is supported by the infrastructure. The important point is users actually deploy a configured use of the applications, and not the applications themselves. This is easier to think of perhaps if it can be imagined needing to deploy the same system into two datacenters where each requires a different configuration. Or the need to provide different customers with a slightly different configuration of the same basic functions. A system is a description of such a configuration. The application diagram, while at first glance seems to be at the heart of the design process, is in fact there to feed the system designer – it’s the surface on which architects define the applications and how they can be connected. On the system diagram architects describe how they should actually be connected. It’s the system diagram that represents the architectural view of the systems as they will look in the datacenter. And while the application diagram may well include applications that are an artifact of the development process – such as test harnesses or stubs of services for testing – these applications will be excluded from the system that is to be deployed.

Its also important to recognize that a system is not required to be a fully-self-contained business application. Systems can selectively expose the behavior of the applications they comprise and so are composable. Systems then can be created as reusable configurations. Systems can be composed of applications or other systems allowing the construction of architectures with nested sub-systems. And while in this first release the System Designer is better suited to bottom-up composition, it also supports a top-down design approach allowing the design oh high-level systems first and then progressively refine these to create the application building blocks.

The Deployment Designer

The Deployment Designer is the fourth and final architect designer. This designer will allow users to perform a trial deployment, which is to say that this is where they will validate the deployment of the application against a logical datacenter. During this process, settings and constraints will either fit together nicely or clash and generate error messages.

To create a deployment diagram, users must have a completed application diagram and at least one logical datacenter diagram completed as well.

Figure 5-4

Defining a trial deployment

new2Using the deployment designer is quite easy. Users just drag an application from the System View, which provides a list of all the applications in the application diagram, onto the logical datacenter, dropping it onto a host. Repeat this process until all the applications are bound. Figure 5-9 shows the deployment designer with two of the three applications bound to the public and private IIS server hosts, respectively. Only the wsReview ASP.NET Web service remains unbound.

The designer will provide visual feedback via tooltips that indicate the compatibility of the application on the logical server. This guides the user to appropriately bind the application to correct server. The feedback checks for compatible endpoints (communication capabilities), and hosting restrictions enabled by the LDD.


Figure 5-5

Binding applications to a host

Validating the Deployment

Much of the deployment validation is done as users are dragging and dropping applications from the System View window onto the logical datacenter designer surface. Right away, the simple communication rules are enforced. For example, if a users tries to drag an application that requires HTTP access onto a host that doesn’t support that type of endpoint, it won’t drop. Instead, they will get the “no drop” mouse pointer and a descriptive tooltip, which is the circle with the diagonal line through it. This occurs because communication can occur only between certain connected endpoints and is restricted to using only the same type of communication paths that are in the datacenter model.

Deeper constraint violations won’t be apparent until a validation is performed. Remember that much finer policies can be created using the Settings and Constraints Editor, in both the logical datacenter and application designers. Individual elements in the diagrams can be provided with constraints that further restrict the behavior and capabilities of applications deployed in the datacenter. These constraint violations won’t surface as they are dragged and dropped, but they will occur later when they are actually validated to the diagram.

Figure 5-6

Deployment errors and warnings

Generating a Deployment Report

In the initial version of Visual Studio 2005 Team System, the deployment report is an XML document, which can serve whatever purpose the team might have. It can be transformed or used as input for some other process. VSTS also generates an HTML report for reference containing the following information:

Inventory of all systems, including names and types

new2Resources for each of the systems, including assemblies, .exe’s, directories, resource files, endpoints, and web.config files

Server settings, including versions, domain controller, terminal server, IIS settings, application pools, .NET versions, and GAC settings

Embedded diagrams (optional)

The report serves as a simple bill of materials report for the deployment team. It enumerates all the servers and services. Beyond containing some simple graphics, the report is fairly static. Figure 5-7 shows an example of the report as it is in XML format. Figure 5-8 shows the same report as HTML, suitable for presentation and communication with ITPros and Architects.


Figure 5-7

Sample deployment report (XML)

Figure 5-8

Sample deployment report (HTML)

Both the XML and HTML documents are generated from the trial deployment created using the deployment designer. VSTS provides architects with some options when generating the report, such as including the diagrams, owners, binaries, source code, and other content files. When generated, all these files are copied to a specified folder, maintaining a structure of all the files.

Extending the Designers

With each of these designers, the important data that gets communicated is really about the configuration, constraints, and services required by the datacenter and the applications. With Microsoft’s extensibility SDK, and which will be made available in the VSIP SDK, users will be able to model just about anything that they need, including new hosts, caching equipment, etc. Existing servers or hosts—such as IIS, Windows, or SQL—can also be extended by adding new resources (settings that model a particular service or simply a group of settings that communicate specific configuration that a pre or post development process might leverage).


Politica de confidentialitate



Vizualizari: 460
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2022 . All rights reserved

Distribuie URL

Adauga cod HTML in site