Coolthing Of Theday

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 25 November 2013

If you're not cheating, you're not... using these new Windows Runtime Network API cheat sheets

Posted on 17:30 by Unknown

Windows App Builder Blog - Network API cheat sheets available now in the download center

The network APIs have tremendous depth and enable your app to work in many ways.  But it can be hard to figure out how and when to use the different APIs.  To help you out, the Windows Networking Team has created poster-sized cheat sheets with overviews and code samples of the most popular network APIs.  And, we’re working on more!

The cheat sheets tell you about the different APIs. But which API is the right one to use, and when? Here's an easy way to figure it out:

  • Are you connecting to an HTTP server?
    • For small, interactive transfers and to connect to web services for a mash-up type app, use the Windows.Web.Http HttpClient family of APIs. 
    • For larger transfers, or transfers that work even when your app is suspended, use the Windows.Networking.BackgroundTransfer classes.  It can also do FTP transfers. 
    • To pre-load data for your app, you can use Windows.Networking.BackgroundTransfer.ContentPrefetcher (which also works with the HttpClient classes)
  • Are you connected to a classic TCP or UDP server?  Or to Bluetooth? Use the Windows.Networking.StreamSocket (TCP and Bluetooth) or DatagramSocket (UDP and Multicast) classes.
  • Are you connecting to one of the new "WebSocket" servers?  They aren't classic sockets (and don't interoperate with classic sockets), but they can tunnel through corporate proxies and interoperate with up-to-date HTML5 browsers.  Websockets are in the Windows.Networking.Sockets namespace.
  • Are you connecting to people in the same room? (For example, with Near Field Communication (NFC) tap to connect)?  If so, use the Windows.Networking.Proximity PeerFinder and related classes; this can give you back a StreamSocket that you can use to communicate with peers.

Our first pack of cheat sheets are for the HttpClient, Sockets, and Background Transfer APIs.  Download the pack now from the Microsoft Download Center. And let us know what other cheat sheets you need! [GD: Post Leach Level: 99%]

Microsoft Downloads - HttpClient. Background Transfer, and Sockets Network API Poster for Windows Runtime Developers

Windows runtime developers! This Network API poster describes some of the most popular Network APIs in the Windows Runtime classes. The set of posters includes HttpClient, Background Transfer, and Sockets 

Version: 8.1

Date Published: 11/13/2013

WinRT81-HttpClient-BT-Socket-Poster.pdf, 502 KB

The poster is provided in PDF format. When you print it from the PDF, specify the dimensions as landscape Tabloid size (11 inches by 17 inches).

SNAGHTML1cfc661

image

Worse case, this will make for nice Cube Poster-ware... Best case it will help you build even more awesome .Net'enabled Windows Runtime app's... :)

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in .Net, cheatsheet, Development, Windows8.1, WinRT | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Mr. 7,000! This is my 7,000th post...
    Before this post; After; 20 visits between taking these snaps? Oh wait, that's probably me searching for past related posts....
  • Windows Management Framework 4.0 (PowerShell 4, PowerShell ISE, Management OData, WMI, etc.) now available
    Keith Hill's Blog - PowerShell 4.0 Now Available You can get PowerShell 4.0 for down level operating systems now via the WMF 4.0 d...
  • "Windows Server Essentials Media Pack" (DNLA Stream, HTML5 and Dashboard Media stuff)
    Microsoft Downloads - Windows Server Essentials Media Pack This pack enables the media streaming functionality for Windows Server 2012...
  • Rad Gate Post... Get your Red Gate Post here...
    simple talk - Melanie Townsend - Get a copy of the Red Gate Post We recently put together a newspaper of some of the best articles fr...
  • Learning Log Parser Studio in two parts... (From Install to Library Ninja)
    Kary Wall - Getting Started with Log Parser Studio - Part 1 & Getting Started with Log Parser Studio - Part 2 Hopefully, if you a...
  • Viasfora - Your new favorite Visual Studio Text/*ML Editing Extension?
    Winterdom - Introducing Viasfora A couple of days ago, I unveiled Viasfora , my latest attempt at building a decently packaged extensi...
  • [Hardware Review] It's been a Haswell Summer... Haswell/Harris Beach Intel SDS Ultrabook Review - Part 3
    Are you all tired of it yet? Have you heard it often enough already? Well too bad! Haswell is Battery Love! MUHAHAhahahahaha.... There! ...
  • "Windows Server [2012 R2]: The Best Infrastructure to Run Linux Workloads"
    In the Cloud - What’s New in 2012 R2: Enabling Open Source Software Part 4 of a 9-part series . ... There are a lot of great s...
  • Want the world's best Science Fiction And Fantasy Library? Come to LA... The Eaton Collection @ UC Riverside
    CBS Los Angeles - The Eaton Collection: The Best Science Fiction And Fantasy Library Science fiction and fantasy fans rejoice and take...
  • Windows 8.1 Store App Paper Prototyping Templates
    Jason Roberts Don't Code Tired   - Paper Prototyping Templates for Windows 8.1 Store Apps These are updated paper prototyping templ...

Categories

  • .Net
  • 3DPrinting
  • AFeedYouShouldRead
  • Agile
  • ALM
  • Amazon
  • Amiga
  • Analytics
  • Android
  • ASP.NET
  • Azure
  • BigData
  • bing
  • Blogging
  • Book
  • BookReview
  • BUILD
  • C
  • C#
  • C++
  • Career
  • Cat
  • cheatsheet
  • ClickOnce
  • Cloud
  • ComputerHardware
  • css
  • Data
  • DBA
  • DependencyInjection
  • Deployment
  • Design
  • Development
  • devops
  • DVCS
  • ebook
  • EDD
  • Education
  • EnterpriseLibrary
  • EntityFramework
  • Exchange
  • Expression
  • gadget
  • Game
  • GIT
  • Google
  • Government
  • Hadoop
  • hardware
  • HardwareReview
  • HaswellReview
  • HTML5
  • Humor
  • IE
  • IEExtension
  • IfAllElseFails
  • IIS
  • ILMerge
  • Image
  • Infographic
  • interview
  • InversionOfControl
  • Java
  • Javascript
  • Kinect
  • LightSwitch
  • LINQ
  • Linux
  • LosAngeles
  • Lucene
  • Lync
  • MEF
  • Metro
  • MicrosoftOffice
  • MicrosoftOutlook
  • Mono
  • MVC
  • MVVM
  • NetMon
  • NLP
  • NoSQL
  • NuGet
  • OData
  • OneNote
  • OpenXML
  • Paint.Net
  • Personal
  • Photosynth
  • Physics
  • portable
  • Poster
  • PowerShell
  • Preparedness
  • Presentation
  • Prism
  • PrivateCloud
  • RegEx
  • RemoteDesktop
  • Reporting
  • RIAServices
  • Science
  • ScienceFiction
  • Scratch
  • Scrum
  • ServiceBus
  • SharePoint
  • Silverlight
  • SimiValley
  • SPA
  • Space
  • SQLServer
  • Storyboard
  • Surface
  • SVG
  • SystemAdministration
  • T4
  • TeamBuild
  • TeamFoundationServer
  • TechEd
  • Training
  • TypeScript
  • UnitTesting
  • UnityApplicationBlock
  • Utility
  • Veteran
  • VirtualMachine
  • Visio
  • VisualBasic
  • VisualStudio
  • WCF
  • Web X.X
  • Webcast
  • WebFeed
  • WebMatrix
  • Windows
  • Windows7
  • Windows8
  • Windows8.1
  • WindowsHomeServer
  • WindowsLiveWriter
  • WindowsPhone
  • WindowsServer
  • WinRT
  • WiX
  • WMI
  • WOPI
  • WPF
  • XAML
  • XBox360
  • XboxOne
  • zombie

Blog Archive

  • ▼  2013 (500)
    • ►  December (12)
    • ▼  November (61)
      • Red Gate SSMS Ecosystem - The free SQL Server Mana...
      • Two SQL Server Resources that you might want to ta...
      • [Kickstarter of the Day]Making your paper airplane...
      • Infographic for the English Grammar Challenged...
      • Taking File Explorer to 11! (Okay 10... ) - 10 Tip...
      • Creating Per-Monitor DPI-Aware Applications Code S...
      • Windows 8.1 Store App Paper Prototyping Templates
      • Having your Amiga and Pi to... Using Raspberry Pi ...
      • [Humor] Death by Cube...
      • Happy VM Day! The Visual Studio 2013 RTM ALM Virtu...
      • Being smart when opening SkyDrive Smart Files in D...
      • If you're not cheating, you're not... using these ...
      • No If's here.. Jason Haley Web Appifys his Interes...
      • Viasfora - Your new favorite Visual Studio Text/*M...
      • Battling the Console Wars, one mini-3d print job a...
      • [Book Review] 'LÖVE for Lua Game Programming'
      • The TMI Infographic of the day... aka the world's ...
      • Windows Azure Learning Resource Link Round-up
      • Opening EntLib - The Microsoft Enterprise Library ...
      • Office/Exchange File Format,Specification and Prot...
      • Pst... Storing PST's on a network share? Still a n...
      • cough... cough... feeling a little [Xbox One deliv...
      • Surface Pro / Pro 2 Battery Life Extension Tip... ...
      • 1st Annual Socaltech 50 - 50 SoCal Tech companies ...
      • A test lab to play with eDiscovery across Exchange...
      • A word or two or 10 about Word Clouds
      • "Developer's Guide to Microsoft Enterprise Library...
      • New Amiga motherboard, updated AmigaOS... Who says...
      • 10 Professionals, 10 views on the coming trends in...
      • GQL, no, not the Gnome Query Language, the Genome ...
      • Working Office Remote (No that kind of remote...)....
      • [Book Review - Preview] 'LÖVE for Lua Game Program...
      • Nokia Imaging SDK v1.0 RTW now available, official...
      • New from NirSoft - WhoIsConnected[to my darn netwo...
      • Kodu Game Lab v1.4.1.0
      • "Community [e]Book of PowerShell Practices" Septem...
      • Katniss the cat in the kitty remake of The Hunger ...
      • Get your own California Ghost Town, Craigslist'd f...
      • VS2013 powers up with the new and updated Producti...
      • Apple II DOS source code available. All you have t...
      • Jumping into SQL Server 2014 with these two Micros...
      • Amazon goes virtual...desktop.. with their new Ama...
      • Missed Today's Visual Studio 2013 Launch (and ther...
      • "The Field Guide to Data Science" Free eBook of th...
      • Wax poetic with this new WiX Setup Project Editor,...
      • Whoa there's allot of the free NOAA [resources]
      • It's Log Parser Day! Robert Sheldon shows how Log ...
      • Visual Studio / Team Explorer 2013 no longer requi...
      • Preparing Patriotic Presentations with PowerPoint ...
      • Thank you for your thank you's, a veteran's day note
      • Don't Present, Resonate - Nancy Duarte's resonate ...
      • Dave McKinstry's Massive Missive of More VS 2013 L...
      • Drawing for Developers (Yes, you can!)
      • So tasty you'll want to eat your phone, Marmalade ...
      • We're from MSDN Magazine and we're here to help......
      • These beautiful D&D maps make you want to break ou...
      • Write a killer job description so you don't have t...
      • In with the new for the old school, the NNTP bridg...
      • "Windows 8.1 Quick [keyword] Guide for Business(?)"
      • Cloud VDI seems to be the new Dev desktop shiny, s...
      • "hackathon-in-a-box.org" is you're, well, Hackatho...
    • ►  October (65)
    • ►  September (38)
    • ►  August (47)
    • ►  July (75)
    • ►  June (39)
    • ►  May (40)
    • ►  April (42)
    • ►  March (39)
    • ►  February (42)
Powered by Blogger.

About Me

Unknown
View my complete profile