Click to edit Master title style Click to

Click to edit Master title style  Click to

Click to edit Master title style Click to edit Master text styles Second level Third level Fourth level Fifth level Liberate Your Apps! Philippe Leefsma Senior Developer Consultant Autodesk Developer Network Autodesk Confidential Information Click to edit Master title style Getting Started Windows Click to edit Communication Master text styles Foundation (WCF)

Second level Third level http://msdn.microsoft.com/en-us/library/ms7310 Fourth level 82.aspx Fifth level Cloud Hosting Providers http://www.windowsazure.com http://aws.amazon.com Autodesk Confidential Information Click to edit Master title style Click to edit Master text styles Second level WCF Web Services Third level Migrate

your Fourth levelApplication logic Fifth level to thecloud Autodesk Confidential Information Click to edit Master title style What is WCF ? Windows Communication Foundation is Click to edit Master text styles Microsoft's next-generation programming Second level platform and runtime system for building, Third level

configuring Fourthand level deploying network-distributed services Fifth level (Source MSDN) Autodesk Confidential Information Click to edit Master title style WCF Unification Click to edit Master text styles Second level Third level Fourth level Fifth level Autodesk Confidential Information Click to edit Master title style WCF Basics - ABC

"ABC" is the key to understand how a WCF composed: service Click toisedit Master text styles Second level "A" stands for Address: Third level Where Fourth is thelevel service? Fifth level "B" stands for Binding: How do clients talk to the service? "C" stands for Contract: What can the service do for a client? Autodesk Confidential Information Click to edit Master title style

Data Contract [DataContract] public class AdnMaterial { [DataMember] public string Name { get; set; } Click to edit Master text styles Second level Third level Fourth level [DataMember] Fifth level public double Price { get;

set; } [DataMember] public string Manufacturer { get; set; } } Autodesk Confidential Information Click to edit Master title style Service Contract [ServiceContract] public interface IMaterialSrv Click

to edit Master text styles { Second level [OperationContract] Third level AdnMaterial[] GetMaterials(); Fourth level Fifth level [OperationContract] AdnMaterial GetMaterial( string materialName); [OperationContract] bool PostMaterial( AdnMaterial material); } Autodesk Confidential Information

Click to edit Master title style Implementing Services public class MaterialSrv : IMaterialSrv Click { to edit Master text styles public Second level MaterialSrv() { level Third //Constructor... Fourth level } Fifth level public AdnMaterial[] GetMaterials() { //Implementation... }

//Implementation other methods... } Autodesk Confidential Information Click to edit Master title style Service bindings A binding a service contract Click to editbinds Master text styles implementation to an address. Second level Third level This includes:

Fourth level Fifthan levelappropriate Choosing transport protocol Choosing how messages are encoded Defining how security works Autodesk Confidential Information Click to edit Master title style Hosting a Service The options arestyles available to host a Clickfollowing to edit Master

text WCF Service: Second level Third level Self-hosting in any managed .NET application Fourth level Winform, WPF, console Application, Fifth level Hosting in a Windows service Hosting in IIS ASP.Net Direct Hosting Autodesk Confidential Information Click to edit Master title style

WCF Demo Click to edit Master text styles Second level Third level Fourth level Fifth level Autodesk Confidential Information Click to edit Master title style HTTP Requests World WebMaster (WWW) text styles ClickWide to edit Web of resources Second level Resources

reference each other Third level Resources can be of many types Fourth level (e.g., documents, images, services, html pages) Fifth level URI identifies resources (Uniform Resource Identifier) HTTP used to access resources 9 methods (a.k.a. verbs): GET, PUT , POST , DELETE , HEAD, OPTIONS, TRACE, CONNECT, PATCH Autodesk Confidential Information Click to edit Master title style SOAP SOAP Click to stands edit Master

for Simple textObject styles Access Protocol Second level Protocol Third for levelexchanging structured Fourth level information through Web Services Fifth level Relies on XML for its message format, and Application Layer protocols like HTTP or SMTP for message transmission Autodesk Confidential Information Click to edit Master title style REST REST stands for Representational State Transfer

Click to edit Master text styles Second REST is anlevel architectural style that exploits HTTP Third level protocol Fourth level Fifth level Provides an easier way of data access comparing with SOAP Good solution for interoperability between web services and mobile platforms or browsers Autodesk Confidential Information Click to edit Master title style REST Web Services Why REST? Click to edit Master text styles REST

is a lightweight alternative to SOAP Second level Third level SOAP: Fourth level SOAP REST Fifth level 12345

http://www.adesk.com/memberdb/DeveloperDetails/12345 Autodesk Confidential Information Click to edit Master title style SOAP vs REST SOAP Supports Click to edit styles only Master GET andtext POST data Second level All

is in the xml message Third level Resource to access Fourth level Function toexecute Fifth level REST Uses all HTTP verbs: GET, POST, PUT, DELETE, Resource is identified by URI Function is identified by the HTTP verb Autodesk Confidential Information Click to edit Master title style JSON JSON (JavaScript Object Notation) is a Click to editdata Master

text styles lightweight exchange format Second level JSON is a level text format easy for humans to read Third Fourth levelfast for machines to parse and and write and Fifth level generate One of the most popular exchange format in web services at the moment Autodesk Confidential Information Click to edit Master title style

JSON vs XML { "Manufacturer":"ADN", Click to edit Master text styles "Name":"Steel", Second level Third level "Price":"100.0" Fourth level } Fifth level ADN Steel 100.0 Autodesk Confidential Information Click to edit Master title style Adding REST Support in WCF

[ServiceContract] public interface IMaterialSrv { [OperationContract] Second level [WebInvoke( Method = "GET", Third level UriTemplate = "/Material/{materialName}", ResponseFormat Fourth level = WebMessageFormat.Json)] AdnMaterial GetMaterial(string materialName); Fifth level Click to edit Master text styles [OperationContract] [WebInvoke(

Method = "POST", UriTemplate = "/Material", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] bool PostMaterial(AdnMaterial material); } Autodesk Confidential Information Click to edit Master title style Click to edit Master text styles Second level on the Cloud Deployment Third level Azure Example illustrated Fourth level Fifth level Autodesk Confidential Information

Click to edit Master title style Step I - Azure project Click to edit Master text styles Second level Third level Fourth level Fifth level Autodesk Confidential Information Click to edit Master title style Step 2 - Package Creation Click to edit Master text styles Second level Third level Fourth level Fifth level Autodesk Confidential Information

Click to edit Master title style Step 3 - Azure Deployment Click to edit Master text styles Second level Third level Fourth level Fifth level Autodesk Confidential Information Click to edit Master title style Step 4 - Test Click to edit Master text styles Second level Third level Fourth level Fifth level Autodesk Confidential Information

Click to edit Master title style Getting Started with Android programming Click to edit Master text styles Install Second level Eclipse Third level http://www.eclipse.org/downloads/ Fourth level Fifth level Install Android SDK http://developer.android.com/sdk/installing.html Get started with Android development http://developer.android.com/guide/index.html Autodesk Confidential Information Click to edit Master title style Getting Started with iOS programming

Click to edit Master text styles Install Second level Xcode Third level Downloadable from App Store Mac application Fourth Includes SDKlevel and iOS Simulator Fifth level Get started with iOS development https://developer.apple.com/devcenter/ios/index.action Autodesk Confidential Information Click to edit Master title style Click to edit Master text styles

Second level Third level Fourth level Fifth level Autodesk Confidential Information

Recently Viewed Presentations

  • Who Wants To Be A Millionaire? - Scoilnet

    Who Wants To Be A Millionaire? - Scoilnet

    The Celts. D . The Americans. Who were the first people to celebrate Halloween? A . ... What did people leave outside their homes? A . Food. B . Gifts. C . Costumes. D . Flowers. What did people leave...
  • 2017 Year 12 General WACE Information Kimberly Eyre

    2017 Year 12 General WACE Information Kimberly Eyre

    Please be aware that students should not miss any school days due to family holidays taken during regular term dates. Please refer to the Student Planner, the Year 12 Information Booklet 2017 and the Senior Secondary Assessment Policy for clarification...
  • A 4-species Food Chain - Pennsylvania State University

    A 4-species Food Chain - Pennsylvania State University

    A 4-species Food Chain Joe Previte-- Penn State Erie Joe Paullet-- Penn State Erie Sonju Harris & John Ranola (REU students) R.E.U.? Research Experience for Undergraduates Usually a summer 100's of them in science (ours is in math biology) All...
  • SARF: LEVEL ONE - WordPress.com

    SARF: LEVEL ONE - WordPress.com

    SARF: LEVEL ONE e-flashcards. This series of flashcards covers the first six chapters (the 3 letter verbs) of Sarf as taught by UstaadhFahad Al-Tahiri. Meanings of the verbs are taken from . corpus.quran.com. and . verbace.com, the Qur'aanicaayaat are from...
  • September 20, 2015 Prelude for Worship Kim Roudebush

    September 20, 2015 Prelude for Worship Kim Roudebush

    At the mention of Your name. King of majesty. There is no power in hell . Or any who can stand. Before the power. and the Presence of the Great I Am. The Great I Am. The Great I Am....
  • Cost Report 101  Its Not Just for Accountants

    Cost Report 101 Its Not Just for Accountants

    Because transplant costs are reimbursed by way of a Standard Acquisition Charge or SAC. What is a Standard Acquisition Charge (SAC) Not a charge representing the cost of a specific organ but a charge that represents the AVERAGE cost associated...
  • Working Across States and Stakeholders to Build Interagency ...

    Working Across States and Stakeholders to Build Interagency ...

    We are in this together Marty Kester, Consultant The IDEA Partnership The IDEA Partnership's Community of Practice is supported by a grant from the Office of Special Education Programs (OSEP) to the National Association of State Directors of Special Education...
  • Metode Pengembangan Daya Pikir dan daya Cipta

    Metode Pengembangan Daya Pikir dan daya Cipta

    Daya Pikir (Kognitif) Kognitif --- cognoscre (bahasa latin) = mengetahui (to know) Kemampuan untuk berfikir dan mengamati, melihat hubungan agar anak memperoleh pengetahuan baru yang didkung dengan kemampuan bertanya.