Building Enterprise Applications Using Visual Studio® Building Enterprise Applications Using Visual Studio® .NET Enterprise Architect TechEd 2002
Agenda Overview Enterprise software development process Enterprise architect tools Provide architectural guidance Communicate application architecture Capture business/data requirements Ensure application scalability Team development TechEd 2002
Overview Enterprise development is systematic Collaborative work environment Support for all roles essential Standards help – e.g., UML, XML, etc. Architectural guidance and reusable assets essential TechEd 2002
Enterprise Software Development Process Envisioning Requirements gathering, product vision Planning Architectural/technology decisions Developing Software/database design Implementation Testing Documentation Stabilizing Deployment and maintenance TechEd 2002
Provide Architectural Guidance Enterprise templates IT development projects are getting more complex, larger, and more critical A poor application architecture can make any platform perform poorly A good architecture only works if people follow the rules when implementing it Good help is hard to find (and expensive!) “Best practices” are useless if no one follows them TechEd 2002
Enterprise Templates What is it? Things to Exclude Enterprise Template Policy (TDL) Application Structure (projects, code, etc.) Guidance (context & html) Things to Include TechEd 2002
Enterprise Templates Features and the Visual Studio .NET IDE Toolbox & Menu Constraints Initial Project Structure Constrain Additions Property Constraints Policy Task List Reminders Dynamic Guidance TechEd 2002
Enterprise Templates Add “best practices” to frameworks Organize structure for complex projects Supply pre-built common implementation Simplify IDE for newer developers Help avoid common mistakes Predefine common property settings “Just in time” focused guidance TechEd 2002
demo Enterprise Templates TechEd 2002
Communicate Application Architecture Modeling using UML UML building blocks Elements Basic building blocks of a model Relationships Tie various “things” together Diagrams Show interesting collections of “things” TechEd 2002
Modeling Using UML Diagram types Structural Class Behavioral Use case, state chart, activity, sequence, collaboration Implementation Component, deployment TechEd 2002
Modeling Using UML Generating Code from UML design Generate code into multiple Visual Studio languages Perform semantic error checking on diagrams and code Reverse engineering Visual Studio projects into design Generating wide variety of customizable reports Publishing diagrams and models on the intranet Documenting your Visual Studio projects in the form of software architecture/designs TechEd 2002
demo UML Modeling TechEd 2002
Capture Business Requirements Data Modeling Conceptual, logical, and physical models Leverage business domain experts with Object Role Modeling Design and program enterprise databases Visually design schema, tables, views Visually develop stored procedures, SQL queries, user defined functions Full support for both SQL Server and Oracle TechEd 2002
Data Modeling Business rules-based database design Object Role Modeling (ORM) Conceptual database design using natural language facts and examples Logical and physical database models automatically built based on natural language facts ORM is Understandable Reliable Expressive Stable TechEd 2002
Data Modeling TechEd 2002
Data Modeling Create an ER diagram Tables window Database Properties window Stencils TechEd 2002
Data Modeling Reverse engineer database schema to create ER models Drag tables (or views) onto diagram page Modify code and attributes of the model Validate your logical and physical data Perform database/model synchronization Generate physical database from your data model using ‘Generate Database’ wizard TechEd 2002
demo Data Modeling TechEd 2002
Ensure Application Scalability Application Center Test Provide end-to-end performance testing of applications Use XML to store test properties and data Replicate tests and results with application Developers create tests Operations continues to use tests in production Common test framework throughout lifecycle TechEd 2002
Application Center Test Testing Web services and apps Creating tests Manually – Visual Basic Script, JScript, etc. Browser record Running tests Set test parameters View run-time reports Trace information at run-time Analyzing test results Tabular performance data Custom graphs TechEd 2002
demo Testing With ACT TechEd 2002
Version Control System Visual SourceSafe Team support Secure file sharing and coordination Version control Maintains audit trails for project files Software lifecycle management Project branching, merging, history Fully integrated with Visual Studio .NET TechEd 2002
Summary Provide architectural guidance Enterprise templates Communicate application architecture Software modeling Capture business requirements Data modeling Ensure application scalability Application center test Team development support Version control system TechEd 2002
For More Information… MSDN Web site Visual Studio Web site msdn.microsoft.com Visual Studio Web site msdn.microsoft.com/vstudio Object Role Modeling resource www.orm.net Application Center Test resource www.microsoft.com/applicationcenter TechEd 2002
Discussion TechEd 2002
© 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. TechEd 2002