View
216
Download
3
Tags:
Embed Size (px)
Citation preview
.NET Framework 3.0 End-to-End: Putting the Pieces Together
dev311
matt winkler – technical evangelist wfhttp://blogs.msdn.com/mwinkle
Discuss the technologies that make up the .NET Framework 3.0
Objectives
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
Lap Around DinnerNow.NET
matt winkler – technical evangelist wfhttp://blogs.msdn.com/mwinkle
Ingredients
.NET Framework 3.0Windows Presentation Foundation (WPF )Windows Workflow Foundation (WF)Windows Communication Foundation (WCF)Windows CardSpace
Microsoft ASP.NET AJAX Windows PowerShell
Windows Presentation Foundation
Declarative programming modelEasily utilize power of the PCUnified approach to user interface, documents and media
ASP.NET AJAXBuild richer, more interactive web experiencesIntegrated programming modelCross-browser, standards-basedEasier to design and debug
AJAX Applications
Windows Workflow Foundation
Programming model to build workflow-enabled applicationsSingle workflow technologyWhat does it do?
Enable long-running processFlexible process definition and executionGraphical representation of processExtensible model for hosting and customization
Windows Communication Foundation
Unified programming model Contract drivenConfig-based Allows communication via:
WS-* protocolsMessage Queuing (MSMQ).NET RemotingSocket-based communicationPOXBasic, ASMX Web services
Windows CardSpace• 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
Windows PowerShellNext-generation scripting language and shellEasy to learn, adopt, automate and extendBuilt upon .NET FrameworkWork with
COM, WMI, .NET, XMLExtend via scripts, functions, cmdlets & providersHosted in other applications example:
MMC 3.0 – unified management console for IT Pros
Recipes
Appetizer ASP.NET + AJAX + RSS + WCFSecure, safe, identity-enabled Web site
Entrees WCF + WPFWCF + WF
DessertNext-generation administration toolsOperations management
ASP.NET + AJAX + RSS + WCFIngredients
ASP.NETASP.NET AJAX.NET Framework 3.0WCF RSS Toolkit
Directions1. AJAX-ify the site (UpdatePanel)2. Identify queries for syndication3. Build feed using types within the RSS Toolkit4. Configure WCF endpoint to return the POX
If cooking with Orcas, AJAX and RSS can be done with WCF via config
Secure, Safe, Identity-Enabled WebIngredients
ASP.NETWindows CardSpace.NET Framework 3.0
Directions1. Take 1 standard ASP.NET Website2. Replace/Complement Forms Login with
CardSpace Control3. Use standard ASP.NET Profile to store user data
WCF + WPF
IngredientsWPF Application (in full trust today)Freshly diced WCF client
Directions1. Extend app.config to contain WCF client
information2. 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
WCF + WFIngredients
WCF ServiceHostWF Runtime
DirectionsTo Consume
1. Wrap WCF Proxy calls into a custom WF activity2. Place configuration in app.config
To Expose3. Create reference to the workflow runtime4. Instantiating operations call
WorkflowRuntime.CreateWorkflow()5. Operations correlate inbound message ExternalDataExchange
to raise events to WF
If cooking with NETFX 3.5, use the Send and Receive activities, and WorkflowServiceHost
Next Generation Administration Tools
“A consistent management GUI layered over a highly flexible scriptable automation layer”
IngredientsWindows PowerShellMicrosoft Management Console 3.0
Directions1. Build Windows PowerShell cmdlets that
implement the administration logic2. Create a MMC console to host the PowerShell
cmdlets
Windows PowerShell Engine
Custom Application
Microsoft Management Console 3.0
PSObject
Windows PowerShell CmdletsCommand Line
GUI
Next Generation Administration Tools
Layered Over
Windows Forms
Early Bound Objects
Your Applicati
on
To Manage
Conclusions
Get the bits (framework, SDK, tools)Learn the technologies (http://www.codeplex.com/DinnerNow/ http://msdn.microsoft.com/netframework )Use the technologiesGreat tastes that taste better together!
Resources
Technical Communities, Webcasts, Blogs, Chats & User Groupshttp://www.microsoft.com/communities/default.mspx
Microsoft Developer Network (MSDN) & TechNet http://microsoft.com/msdn http://microsoft.com/technet
Trial Software and Virtual Labshttp://www.microsoft.com/technet/downloads/trials/default.mspx
Microsoft Learning and Certificationhttp://www.microsoft.com/learning/default.mspx
.NET Framework 3.0 Community Sitehttp://www.netfx3.com
.NET Framework Developer Centerhttp://msdn2.microsoft.com/en-us/netframework/default.aspx
Books - WPF
Books - WCF
Books - WF
Books - CardSpace
Books - PowerShell
© 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.