dev311 matt winkler – technical evangelist wf
Discuss the technologies that make up the.NET Framework 3.0 Show how you can build end-to-end applications using the Microsoft.NET Framework 3.0 Introduce DinnerNow, a sample application built using the.NET Framework 3.0 Integrate the different technologies
What is DinnerNow.NET? What does it look like? How was it put together?
matt winkler – technical evangelist wf
.NET Framework 3.0 Windows Presentation Foundation (WPF ) Windows Workflow Foundation (WF) Windows Communication Foundation (WCF) Windows CardSpace Microsoft ASP.NET AJAX Windows PowerShell
Declarative programming model Easily utilize power of the PC Unified approach to user interface, documents and media
Build richer, more interactive web experiences Integrated programming model Cross-browser, standards-based Easier to design and debug
Programming model to build workflow-enabled applications Single workflow technology What does it do? Enable long-running process Flexible process definition and execution Graphical representation of process Extensible model for hosting and customization
Unified programming model Contract driven Config-based Allows communication via: WS-* protocols Message Queuing (MSMQ).NET Remoting Socket-based communication POX Basic, ASMX Web services
CardSpace is the Identity Selector Easier Helps eliminate usernames and passwords Simplifies use of strong credentials Safer Helps protect users from many forms of phishing & fraud attack Support for two-factor authentication Communicates using the WS-* protocols Broad industry support IBM, Novell, Firefox, Sun, CA, BMC, Ping Identity and Oracle
Next-generation scripting language and shell Easy to learn, adopt, automate and extend Built upon.NET Framework Work with COM, WMI,.NET, XML Extend via scripts, functions, cmdlets & providers Hosted in other applications example: MMC 3.0 – unified management console for IT Pros
Appetizer ASP.NET + AJAX + RSS + WCF Secure, safe, identity-enabled Web site Entrees WCF + WPF WCF + WF Dessert Next-generation administration tools Operations management
Ingredients ASP.NET ASP.NET AJAX.NET Framework 3.0 WCF RSS Toolkit Directions 1. AJAX-ify the site (UpdatePanel) 2. Identify queries for syndication 3. Build feed using types within the RSS Toolkit 4. Configure WCF endpoint to return the POX If cooking with Orcas, AJAX and RSS can be done with WCF via config
Ingredients ASP.NET Windows CardSpace.NET Framework 3.0 Directions 1. Take 1 standard ASP.NET Website 2. Replace/Complement Forms Login with CardSpace Control 3. Use standard ASP.NET Profile to store user data
Ingredients WPF Application (in full trust today) Freshly diced WCF client Directions 1. Extend app.config to contain WCF client information 2. Wire up WCF client in WPF code * Optional: Advanced chefs may prefer to use the WPF asynch pattern in order to keep a flexible and responsive user interface
Ingredients WCF ServiceHost WF Runtime Directions To Consume 1. Wrap WCF Proxy calls into a custom WF activity 2. Place configuration in app.config To Expose 1. Create reference to the workflow runtime 2. Instantiating operations call WorkflowRuntime.CreateWorkflow() 3. Operations correlate inbound message ExternalDataExchange to raise events to WF If cooking with NETFX 3.5, use the Send and Receive activities, and WorkflowServiceHost
“A consistent management GUI layered over a highly flexible scriptable automation layer” Ingredients Windows PowerShell Microsoft Management Console 3.0 Directions 1. Build Windows PowerShell cmdlets that implement the administration logic 2. Create a MMC console to host the PowerShell cmdlets
Windows PowerShell Engine Custom Application Microsoft Management Console 3.0 PSObjectPSObject Windows PowerShell Cmdlets Command Line GUI Layered Over Windows Forms Early Bound Objects Your Application To Manage
Get the bits (framework, SDK, tools)frameworkSDKtools Learn the technologies ( ) Use the technologies Great tastes that taste better together!
Technical Communities, Webcasts, Blogs, Chats & User Groups Microsoft Developer Network (MSDN) & TechNet Trial Software and Virtual Labs Microsoft Learning and Certification Framework 3.0 Community Site Framework Developer Center
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.