Publicidad

.NET Drop 4

4 de Dec de 2007
Publicidad

Más contenido relacionado

Publicidad

.NET Drop 4

  1. Microsoft .NET, SOAP and Web Services Jian Shuo Wang eCommerce Team
  2. XML
  3. .NET is based on XML <font size=&quot;1&quot;> Tuesday </font></th> </tr> <tr align=center> <td headers=day0><img src=&quot;http://msimg.com/wea_s/ucase/ B.GIF &quot; width=73 height=50 alt=&quot;Partly Cloudy&quot;>td headers=day0><font size=&quot;1&quot;>High:&nbsp; 32 &deg; Low:&nbsp; 26 &deg;</font></td>
  4. I want to read… <weather-report> <date> August 08, 2000 </date> <time>15:30</time> <area> <city> Shanghai </city> <province>Shanghai</province> <region>Downtown</region> <country>China</country> </area> <measurements> <skies>partly cloudy</skies> <temperature> <high> 32 </high> <low> 26 </low> </temperature> </measurements> </weather-report>
  5. SOAP Demo
  6. SOAP Example in HTTP POST /Accounts/Henrik HTTP/1.1 Host: www.webservicebank.com Content-Length: nnnn Content-Type: text/xml; charset=&quot;utf-8&quot; SOAPAction: &quot;Some-URI&quot; <SOAP:Envelope xmlns:SOAP=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;   SOAP:encodingStyle=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;>    <SOAP:Header>        <t:Transaction xmlns:t=&quot;some-URI&quot; SOAP:mustUnderstand=&quot;1&quot;>                5        </t:Transaction>    </SOAP:Header>    <SOAP:Body>        <m:Deposit xmlns:m=&quot;Some-URI&quot;>            <m:amount>200</m:amount>        </m:Deposit>    </SOAP:Body> </SOAP:Envelope> SOAP Envelope HTTP Request SOAP-HTTP Binding SOAP Header SOAP Body
  7. … or SOAP by Itself… <SOAP:Envelope xmlns:SOAP=&quot;http://schemas.xmlsoap.org/soap/envelope” SOAP:encodingStyle=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;> <SOAP:Header> <m:MessageInfo xmlns:m=&quot;http://www.wapforum.org/soap/message&quot;> <m:to href=&quot;mailto:you@your.com&quot;/> <m:from href=&quot;mailto:me@my.com&quot;/> <m:contact href=&quot;mailto:someone@my.com&quot;> </m:MessageInfo> </SOAP:Header> <SOAP:Body> <msg:Message xmlns:m=&quot;http://www.wapforum.org/soap/message&quot;> <msg:subject>Your house is on fire!</msg:subject> <msg:liveUpdate href=&quot;http://your.house.is.on.fire.com/rightnow&quot;/> </msg:Message> </SOAP:Body> </SOAP:Envelope>
  8. Web Services
  9. App Development Today Local Services and Data App Code Web app developers took advantage of these local services and used HTML to “project” the UI to lots of clients. Browsers Browsers Internet Historically, most development efforts have been directed toward building apps using rich local services.
  10. Internet What Is A Web Service? Service Client Application Service Service SOAP
  11. <?xml version='1.0' ?> <Response>Buy</Response> Returns this XML: Web Services in Visual Studio 7 http://johns/stocks/Ratings.aspx? method=Rate&ticker=msft Then typing in this URL :
  12. Description of Web Sevices Simply by referencing this file you get the ability to easily call the WebService from within Visual Studio
  13. Microsoft .NET Services Microsoft .NET Services Personalization Notification and Messaging Identity XML Store More…
  14. Business Transition .NET Building Blocks Tomorrow Office.NET MSN.NET Personal Sub Services.NET Visual Studio.NET bCentral Microsoft Services Windows .NET .NET Devices Other platforms Today Applications Licenses Windows Royalty or license Services Subscriptions Ads, transactions
  15. .NET Framework
  16. Common Language Runtime Execution model VB Source code Compiler C++ C# Compiler Compiler Assembly IL Code Assembly IL Code Assembly IL Code Operating System Services Common Language Runtime JIT Compiler Native Code Managed code Unmanaged Component
  17. .NET User Experience
  18. New Devices
  19. .NET Roadmap Full Offer, Corporate Federation 3 or 4 key services Passport Building Blocks Full .NET UE Range of devices Windows .NET 1.0 Technology preview User Experience bCentral, MSN, Personal Sub. Visual Studio 7 2001 Office, Visual Studio.NET Service experience User Services Windows .NET Server XML in servers BizTalk Server Infrastructure and Tools 2002+ Today
  20.  
Publicidad