Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

2009 - Microsoft Springbreak: IIS, PHP & WCF

IIS, PHP & WCF

  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

2009 - Microsoft Springbreak: IIS, PHP & WCF

  1. 1. Daniel Fisher daniel.fisher@devcoach.com
  2. 2.  Leistungen • Architektur-Beratung • Strukturierter und effizienter zu einer wartbaren Anwendung. • Prozessoptimierung • BPM • FDD, TDD, MSF Agile & SCRUM • Software-Entwicklung • Team-out-of-the-box (Near-shoring) • Objektmodelle und Datenzugriff • Kommunikations-Infrastrukturen • Identitäts- und Berechtigungsmodelle • Web 2.0 und Rich Internet Applikation • Coaching & Training • Technologien schneller verstehen und richtig einsetzen.  Technologien • Microsoft Windows & .NET Framework • ASP.NET, WCF, WF, WPF, Silverlight & Geneva  Kunden • Versicherung, Finanzindustrie, Mittelstand, Handel, Kommunikation, Softwarehersteller u.v.a. • Bundesamt für Sicherheit in der Informationstechnologie, Microsoft, Dresdner Bank… Project Experience Technology Know-how devcoach®
  3. 3. Daniel Fisher | CTO & Software Architect MCP, MCTS, MCPD… daniel.fisher@devcoach.com Mit-Gründer und Geschäftsführer von devcoach.com www.devcoach.com Mit-Gründer und Vorstand der gemeinnützigen www.just community.de e.V. Veranstalter des größten Entwickler & IT-Pro Community Events in Deutschland: www.nrwconf.de Mit-Gründer und Leiter der INETA Usergroup Düsseldorf www.NetUG-NiederRhein.de Mitglied im Microsoft Community Leader & Insider Program (CLIP) Connected Systems Advisory Board Expertengruppe für WCF, WF & BizTalk
  4. 4.  IIS & The Microsoft Web Platform  Windows Communication Foundation  PHP as SOAP Client  Summary
  5. 5.  Completly rebuid  Modular  Roboust  Stable  Easy to administer
  6. 6.  The fastest way to setup your environment • Just download from http://www.microsoft.com/web
  7. 7.  The fastest PHP host out there… http://phplens.com/phpeverywhere/fastcgi-php
  8. 8. Common Language Runtime (CLR) ADO.NET ASP.NET WinForms ... WCF WCS WFWPF
  9. 9. Interop with other platforms ASMX Attribute- Based Programming Enterprise Services WS-* Protocol Support WSE Message- Oriented Programming System.Messaging Extensibility Location transparency .NET Remoting
  10. 10. Caller Service MessageABC A B C A B C Address Binding Contract (Where) (How) (What)
  11. 11. [ServiceContract] public interface ICalculator { [OperationContract] ComplexProblem SolveProblem( ComplexProblem p); }
  12. 12. [DataContract] public class ComplexNumber { [DataMember] public double Real = 0.0D; [DataMember] public double Imaginary = 0.0D; public ComplexNumber(double r, double i) { this.Real = r; this.Imaginary = i; } }
  13. 13. <endpoint address="http://localhost/calculator" binding="basicHttpBinding" bindingConfiguration="Binding1" contractType="ICalculator" /> <bindings> <basicHttpBinding> <binding configurationName="Binding1" maxMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" /> </binding> </basicHttpBinding> </bindings>
  14. 14. Transport Encoder Security Reliability Protocol Pipes MSMQ Custom HTTP Text TCP Binary MTOM Custom Custom Custom WS-* WS-* WS-* Custom WS-* WS-* WS-*TCP Binary
  15. 15. T = Transport Security | S = WS-Security | O = One-Way Only BasicHttpBinding WsHttpBinding WsDualHttpBinding NetTcpBinding NetNamedPipesBinding NetMsmqBinding WS WS T TS TS TS TS TS O O NetPeerTcpBinding TS
  16. 16.  InterOp Problems! • WCF is 100% OASIS-Conform • PHP soap is NOT • Request are sent bare and not as documents • UTF8 encoding issues • No Authentication • …  PHP nusoap • Open Source Library
  17. 17. require_once("nusoap/lib/nusoap.php"); $client = new nusoap_client("MyService.wsdl", true); $result = $client->call( "MethodName", $params, $namespaces, …);
  18. 18.  HTTP Authentication module
  19. 19.  PHP - widley spread platform • Lots of libraries • Lots of developers  IIS - perfect Web Server platform • High performant • Robust, secure and easy to manage  WCF – Unified communication platform • implements WS-*a standards • Easy to start and scale

×