IAsyncResult ar = BeginSomething(…); // Do other work, checking ar.IsCompleted int result = EndSomething(ar);

Slides:



Advertisements
Similar presentations
DEV324 C# VB 7.0 Managed Code C# VB 8.0 Generics C# VB 9.0 Language Integrated Query C# VB 10.0 Dynamic + Language Parity.
Advertisements

Modern Application Lifecycle Visual Studio Online journey, capabilities and DevOps Scenarios Good to know.
Modern Application Lifecycle Visual Studio Online journey Visual Studio Online capability Good to know.
Visual Studio 2013 Licensing Overview Offerings, Pricing, Licensing, and Promotions Rachel Pekin Microsoft.
Modern app development Continuous value delivery and rapid response to change.
Modern app development Continuous value delivery and rapid response to change.
Modern app development Continuous value delivery and rapid response to change.
Visual Studio Online. What it Provides Visual Studio Online, based on the capabilities of Team Foundation Server with additional cloud services, is the.
03 | Application Lifecycle Management Susan Ibach| Technical Evangelist Christopher Harrison | Head Geek.
MSDN subscriptions Stand- alone tool Team collaboration Release management Visual Studio Team Foundation Server Device CAL Visual Studio Team Foundation.
Visual Studio 2012 Launch Team Foundation Service Free Plan Visual Studio 2012 Update 1 3-week service delivery sprints Frequent updates for on-premises/boxed.
Visual Studio 2013 Load Test Web Service Test Agent Pool - Dynamic Results Database Worker Azure Blobs Azure Tables.
DISCLAIMER DON’T PANIC These frameworks are still supported.
| Basel Verwalten von Deployments und Release Management – mit dem TFS 2013 ganz einfach! Hansjörg Scherer ALM Spezialist Microsoft
30 April 2014 Building Apps for Windows Phone 8.1 Jump Start WinRT Apps & Silverlight.
WHO WILL BENEFIT FROM THIS TALK TOPICS WHAT YOU’LL LEAVE WITH Web app developers who are already familiar with Windows Azure with scaling needs. Asynchronous.
Managed Code Generics Language Integrated Query Dynamic + Language Parity C# VB 11.0 Windows Runtime + Asynchrony C# VB 7.0 C# VB.
Visual Studio Load Test Web Service Test Agent Pool - Dynamic Results database Worker Azure Blobs Azure Tables.
@martinwoodward
Modern app development Continuous value delivery and rapid response to change.
Modern app development Continuous value delivery and rapid response to change.
Pricing Changes MSDN subscriptions Stand- alone tool Team collaboration Release management Visual Studio Team Foundation Server Device CAL Visual Studio.
Windows Azure Rugby Tickets On-Premises Existing Systems of Record.
Cathrine Askilsrud Sr. Product Marketing Manager MSDN subscriptions: more than software.
Programming in Teams And how to manage your code.
Application Lifecycle Management and the cloud
tinyurl.com/ProTFS2012.
tinyurl.com/ProTFS2012.
FDN04 Configurable CFD Dates Backlog Mapping Removing Weekends from Burndowns Agile Portfolio Management Updates Work Item Chart Pinning Java in.
Modern app development Continuous value delivery and rapid response to change.
DEV307. REQUIREMENTS Construct WORKING SOFTWARE.
WHO WILL BENEFIT FROM THIS TALK TOPICS WHAT YOU’LL LEAVE WITH ASP.NET developers, including Web Forms & MVC History of async programming in.NET How async.
Visual Studio Online Writing code in a browser or is there more to it?

Agile tooling and Portfolio Management Agile Tooling Basics Agile Portofolio Management Kanban Team Room.
Visual Studio Online Visual Studio.NET Work BuildTest Deploy Insights Code Visual Studio Online.
DevDiv’s Cadence – The Journey Feb Jan Mar TFS 2008 TFS 2010 TFS 2012/ weeks 10 – 12 weeks 3 weeks Apr.
Cloud computingNew technology enabled value opportunities Compete velocity Direct-to-consumerMobility and devices proliferation Business modernization.
DeviceProfileTime MoneyData It is the user’s:
Sofia Event Center May 2014 Martin Kulov Agile Project Management with Team Foundation Server.
Go Deep Federated Identity Management Team Foundation Server SCM and Version Control Team Foundation Service Agile Planning.
@mariorod1 source control models.
ActionHTTP VerbURL Suffix CreatePOST/tasks RetrieveGET/tasks?$filter=id%3D42 UpdatePATCH/tasks/id Delete /tasks/id
MAINFRA ME Line of Business MS DYNAMICS CRM.

New Database Existing Database Designer Centric Code Centric Database First Reverse engineer model in EF Designer Classes auto-generated from.
ACCELERATE INNOVATIONS USING CLOUD DIFFERENTIATE WITH DESIGN AND USER EXPERIENCE DELIVER SCALE AND AGILITY TO THE CLOUD. THE RIGHT WAY. What we do at.
Pricing Changes MSDN subscriptions Stand- alone tool Team collaboration Release management Visual Studio Team Foundation Server Device CAL Visual Studio.
No Mixed Mode Debugging Support Use Multiple Instances Instead Launch the app under the script debugger Attach with the native debugger from.
Cloud computingNew technology enabled value opportunities Compete velocity Direct-to-consumerMobility and devices proliferation Business modernization.
Ivan Kardum Visual Studio ALM MVP, PMP Ekobit d.o.o. Visual Studio Online - Developeri u oblacima.
Async Made Simple in Windows 8, with C# and Visual Basic Alex Turner Program Manager VB/C# Compilers Microsoft Corporation DEV332.
New Database Existing Database Designer Centric Code Centric Database First Reverse engineer model in EF Designer Classes auto-generated from.
TechEd /11/2018 6:16 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Modern Application Lifecycle Management
TechEd /6/2018 6:15 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Customizing your device experience with assigned access
Design Guidance for Windows Store Line-of-Business Apps
TechEd /21/2018 3:13 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /7/2018 9:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /7/ :33 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /9/2018 4:17 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /11/2019 2:47 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /18/ :08 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /3/ :48 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Design Guidance for Windows Store Line-of-Business Apps
Cloud-powered Load Testing with Team Foundation Service
Office 365 Development July 2014.
03 | Async Programming & Networking Intro
Getting Started with Team Foundation Service
Presentation transcript:

IAsyncResult ar = BeginSomething(…); // Do other work, checking ar.IsCompleted int result = EndSomething(ar);

SomethingCompleted += (sender, e) => { // Do something with result }; SomethingAsync(…);

Task task = SomethingAsync(…); // Do other work, checking task.Status int result = task.Result;

int result = await SomethingAsync(…);

Busy Request Queue Thread Pool

public int SumPageSizes(IList uris) { int total = 0; foreach (var uri in uris) { var data = new WebClient().DownloadData(uri); total += data.Length; } return total; }

Request Queue Thread Pool

public int SumPageSizes(IList uris) { int total = 0; foreach (var uri in uris) { var data = new WebClient().DownloadData(uri); total += data.Length; } return total; }

public void SumPageSizesAsync(IList uris, Action callback) { SumPageSizesAsyncHelper(uris.GetEnumerator(), 0, callback); } private void SumPageSizesAsyncHelper(IEnumerator enumerator, int total, Action callback) { try { if (enumerator.MoveNext()) { var client = new WebClient(); client.DownloadDataCompleted += (sender, e) => { if (e.Error != null) { enumerator.Dispose(); callback(0, e.Error); } else SumPageSizesAsyncHelper(enumerator, total + e.Result.Length, callback); }; client.DownloadDataAsync(enumerator.Current); } else { enumerator.Dispose(); callback(total, null); } } catch (Exception ex) { enumerator.Dispose(); callback(0, ex); } }

public int SumPageSizes(IList uris) { int total = 0; foreach (var uri in uris) { var data = new WebClient().DownloadData(uri); total += data.Length; } return total; }

public async Task SumPageSizesAsync(IList uris) { int total = 0; foreach (var uri in uris) { var data = await new WebClient().DownloadDataTasksync(uri); total += data.Length; } return total; }

Your code could be terminated at any time Use WebBackgrounder Write a worker process for more complex tasks

Included for certain paid MSDN subscribers: Free Plan for up to 5 users Additional information at * Capability in preview – limits may apply. Authoring load tests requires Visual Studio Ultimate 2013 Preview. Version control (TFVC or Git) Comment on changesets & commits Work item tracking and tagging Team rooms Agile planning tools Feedback Management Agile Portfolio Management* Build* Web-based test case management* Load testing* New!

Activate and try out your Windows Azure MSDN benefit today & you could win an Aston Martin V8 Vantage! Learn more and activate today at