Christian Weyer thinktecture.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Building Web APIs in Windows Azure Name Title Microsoft Corporation.
Web RoleWorker Role At runtime each Role will execute on one or more instances A role instance is a set of code, configuration, and local data, deployed.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
demo Default WANGPSLookup Default WANGPS.
Feature: Payroll and HR Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Christian Weyer thinktecture.
Announcing Demo Announcing.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
vdir2 Web. config Echo. svc A A B B C C vdir2 vdir1.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
NEXT: Overview – Sharing skills & code.
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Operating System for the Cloud Runs applications in the cloud Provides Storage Application Management Windows Azure ideal for applications needing:
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Building Social Games for Windows 8 with Windows Azure Name Title Microsoft Corporation.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
“Click and Run ” “Click once repeat often” Admins Service Operations “ Install and forget” Engineering Support Key considerations: Deterministic, fool.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Satisfy Your Technical Curiosity Beyond ABC: WCF practices from the field Christian Weyer thinktecture Co-Founder & Solution Architect
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Sr. Dir. – Systems Architecture Inlet Technologies.

demo User Signs Up Temporary Account is Created with Verification Link Sent User Clicks Link Account is Activated Login.Register(userName,
Возможности Excel 2010, о которых следует знать
Title of Presentation 12/2/2018 3:48 PM
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 8 Security Internals
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

Christian Weyer thinktecture

Demo Time A Sample Distributed Application in Action – built with.NET Framework 3.5 Expect code, config, tools, tips and tricks Some practices from customer projects 2

Yet Another Purchase Order Scenario? No, don’t fear. Let’s bring some coolness into developers life– talk about developer videos and media Every ‘good’ developer these days needs to deal with online resources and multimedia content MSDN.TV Channel 8, 9, 10 dotnetpro.tv (German) 3

4 Media Service Reviewer User Upload Service Message Queue Message Queue Web Server New Media Service

5 Client Service Endpoint

6 Service CBA CBA Client A BC Address Where? Contract What? Binding How? Endpoint CBA

Overall architecture, service orientation WCF contract design WCF bindings WCF sessions WCF duplex and callbacks WCF streaming WCF hosting WCF proxy handling … lot more … 7

The C of ABC Message Exchange Pattern (MEP) Data, Faults, Messages Try thinking decoupled One-Way Notifications POX/REST-style contract Addressable from any HTTP-enabled code Intrinsic to.NET 3.5 8

Syndication feeds RSS and Atom support in.NET 3.5 Set Name, Namespace, Action, ReplyAction Namespace also on ServiceBehavior and binding  Consider alternative serializers XmlSerializer for better interop NetDataContractSerializer for tighter coupling Interop with Java still a stretch Basic stuff works Try to flatten WSDL and XSDs 9

„Choose whatever binding with whatever contract“ is not true Almost all out-of-the-box bindings are pretty much useless in real world Change their settings Use custom bindings Custom bindings make up your day Improve configurability with user-defined binding and custom config Usually, you need one transport 10

Beware of sessions netTcp and namedPipes have implicit channel-based session semantics; as well as wsHttpBinding Try to avoid session affinity for scalability and robustness reasons Binary encoding over HTTP in self-host looks like a winner in many scenarios Always perf and load test for your scenario; no ‚guessing‘ Duplex communication fights firewalls & NATs MSMQ is really something special Only one-way, no request-response, no duplex 11

Please, use console applications only for testing … and demoing Hosting in NT Service is straight-forward Leverages Windows SCM features Think about exception handling and logging WCF services should run as non-admin HTTP.sys must be configured IIS is robust, mature and scales IIS hosting has some overhead due to additional layering Streaming from inside IIS seems to have some problems Windows Process Activation Service (WAS) brings non- HTTP transports into the IIS picture Only on Windows Vista and Windows Server 2008 Same caveats still apply 12

13 Client Code parameters Client Runtime Channel Transport Channel byte[] Encoder Service Type parameters Dispatcher Runtime Channel Transport Channel byte[] Encoder Message Inspector Custom Channel Custom Transport Custom Encoder Custom Transport Custom Channel Message Inspector Operation Selector Parameter Inspector Operation Invoker Message Formatter Parameter Inspector Message Formatter * Added by configuring the runtime with behaviors * Added by adding binding elements to the binding Contract WSDL Exporter Contract WSDL Importer

Christian Weyer Weblog Christian Weyer thinktecture 14

Christian Weyer Weblog Christian Weyer thinktecture 15

© 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.