Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

.NET Drop 4


Published on

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

.NET Drop 4

  1. 1. Microsoft .NET, SOAP and Web Services Jian Shuo Wang eCommerce Team
  2. 2. Agenda <ul><li>XML </li></ul><ul><li>SOAP </li></ul><ul><li>Web Services </li></ul><ul><li>.NET Framework </li></ul><ul><li>.NET User Experience </li></ul><ul><li>Q & A </li></ul>
  3. 3. Microsoft .NET <ul><li>N EXT </li></ul><ul><li>G E NERATION </li></ul><ul><li>IN T ERNET </li></ul>
  4. 4. Current Internet <ul><li>Mainframe model </li></ul><ul><li>Information locked up in centralized databases </li></ul><ul><li>Reply on Web Servers to do something </li></ul><ul><li>Data pictures – HTML </li></ul><ul><li>Browsers are read-only </li></ul><ul><li>Multiple device, multiple interface </li></ul><ul><li>No tools to organize web sites </li></ul>
  5. 5. XML
  6. 6. .NET is based on XML <font size=&quot;1&quot;> Tuesday </font></th> </tr> <tr align=center> <td headers=day0><img src=&quot; 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>
  7. 7. 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>
  8. 8. SOAP Demo
  9. 9. SOAP Example in HTTP POST /Accounts/Henrik HTTP/1.1 Host: Content-Length: nnnn Content-Type: text/xml; charset=&quot;utf-8&quot; SOAPAction: &quot;Some-URI&quot; <SOAP:Envelope xmlns:SOAP=&quot;;   SOAP:encodingStyle=&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
  10. 10. … or SOAP by Itself… <SOAP:Envelope xmlns:SOAP=&quot;” SOAP:encodingStyle=&quot;;> <SOAP:Header> <m:MessageInfo xmlns:m=&quot;;> <m:to href=&quot;;/> <m:from href=&quot;;/> <m:contact href=&quot;;> </m:MessageInfo> </SOAP:Header> <SOAP:Body> <msg:Message xmlns:m=&quot;;> <msg:subject>Your house is on fire!</msg:subject> <msg:liveUpdate href=&quot;;/> </msg:Message> </SOAP:Body> </SOAP:Envelope>
  11. 11. Web Services
  12. 12. 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.
  13. 13. App Development Tomorrow OS and Local Services App Code Application Specific Web Services Building Block Web Services Vertical and Portal Services Devices Browsers Internet <ul><li>Web Service Communications </li></ul><ul><li>Message-based (robust and scalable) </li></ul><ul><li>Asynchronous communications model </li></ul><ul><li>XML (easy to specify, modify, & extend) </li></ul><ul><li>Web protocols (universal access) </li></ul>Web Services are building blocks that enable developers to build and aggregate applications and services from local and remote resources for a range of clients.
  14. 14. What Is A Web Service? <ul><li>A programmable URI (universal resource identifier) </li></ul><ul><li>Expose and or access a Web site </li></ul><ul><ul><li>Easy as creating and using an object </li></ul></ul><ul><ul><li>Using SOAP, or less complex protocols </li></ul></ul><ul><li>“Programming the Web” </li></ul>
  15. 15. Internet What Is A Web Service? Service Client Application Service Service SOAP
  16. 16. <?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 :
  17. 17. Description of Web Sevices Simply by referencing this file you get the ability to easily call the WebService from within Visual Studio
  18. 18. Microsoft .NET Services Microsoft .NET Services Personalization Notification and Messaging Identity XML Store More…
  19. 19. 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
  20. 20. .NET Framework
  21. 21. 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
  22. 22. .NET User Experience
  23. 23. The drive for .NET <ul><li>Bill Gates </li></ul><ul><li>Microsoft Research </li></ul><ul><li>Pressure from Market </li></ul><ul><li>New technologies </li></ul>
  24. 24. Hardware Breakthroughs <ul><li>Broadband </li></ul><ul><li>Wireless </li></ul><ul><li>Smart cards </li></ul><ul><li>Incredible PCs with microphone, camera </li></ul><ul><li>Tablet PC </li></ul><ul><li>Pocket PC, screen phone </li></ul>
  25. 25. New Devices
  26. 26. Computing everywhere <ul><li>10 billion microprocessors today </li></ul>
  27. 27. Assumptions and Bets on the Future <ul><li>One network for all </li></ul><ul><ul><li>Phone, TV, Information, Audio and Video </li></ul></ul><ul><li>World is going to be digital </li></ul><ul><ul><li>Business, video, voice, smell :-> </li></ul></ul><ul><li>End user device will be everywhere </li></ul><ul><ul><li>Refrigerator, light switches, kitchens </li></ul></ul><ul><li>Devices are connected via wireless </li></ul><ul><ul><li>Always online, high speed </li></ul></ul>Source: Brain Valentine’s mail
  28. 28. Next-Generation Software Microsoft .NET <ul><li>Software as a service </li></ul><ul><li>XML-enabled </li></ul><ul><li>Range of smart devices </li></ul><ul><li>New user experience </li></ul>
  29. 29. .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
  30. 30. Resources <ul><li> </li></ul><ul><li>http://arecw/articles/net/ </li></ul>