5 Worker Role Your Code public class WorkerRole : RoleEntryPoint { public override void Run() { while (true) { Thread.Sleep(1000); //Do something.

Slides:



Advertisements
Similar presentations
Page 1 Ricardo Villalobos Windows Azure Architect Evangelist Microsoft Corporation Designing, Building, and Deploying Windows Azure applications.
Advertisements

3 TIME IT CAPACITY Actual Load Allocated IT-capacities Too Much Power Not Enough Power Load Forecast.
Page 1 Queue Storage Jeff Chu | Page 2 Agenda Queue Storage Overview Programming Queue Storage Queue Storage tips Lab Time.
Move a «classical» asp.net application from on premise to the Cloud, on the Windows Azure Platform. – And understand the benefits of this step.
Overview Of Microsoft New Technology ENTER. Processing....
Cloud Excellence: Building Solutions for 3 Screens Leveraging Services Dave Remmer Architect Advisor Microsoft Canada
Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors.
Microsoft Cloud Services Training and Certification Presented by Name Goes Here, Title.
Windows Azure Pack Tomáš „Kanty“ Kantůrek
Will Smythe Senior Program Manager Developing Java projects on Visual Studio Online with Team Explorer Everywhere.
Building, Running, and Managing Workflows on Windows Azure Jürgen Willis Group Program Manager Microsoft Corporation AZR321.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Data Parallel Application Development and Performance with Windows Azure Advisor : Professor Gagan Agrawal Present by : Yu Zhang.
Building, Running, and Managing Workflows on Windows Azure Jürgen Willis Group Program Manager Microsoft Corporation.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Building Robust Windows Azure Applications with P&P Principal Consultant, Readify AZR323a.
Getting Started with Windows Azure Name Title Microsoft Corporation.
Verify Hardware Requirements Install Windows Server 2008 R2 Configure Active Directory Install SQL Server 2008 Install SharePoint Server 2010 Configure.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Banner.jpg
Bring your own machines, connectivity, software, etc. Complete control Complete responsibility Static capabilities Upfront capital costs for the infrastructure.
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Presented by : Olivia Lin. Outline Preparation works –What software do I need? Source of sample codes –Online source: Supergeo Developer Network (SGDN)
Azure in a Day Training Azure Queues Module 1: Azure Queues Overview Module 2: Enqueuing a Message – DEMO: Creating Queues – DEMO: Enqueuing a Message.
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Geeking with SharePoint.
Yousef Khalidi Distinguished Engineer Microsoft Corporation.
 Sriram Krishnan Program Manager Microsoft Corporation ES03.
WHO WILL BENEFIT FROM THIS TALK TOPICS WHAT YOU’LL LEAVE WITH Developers Interested in HTML5 Games Interested in Windows Azure Interested in Game Development.
Pradeep S Pushpendra Singh Consultants, Neudesic Technologies, Hyderabad, India.
Building Applications with Windows Azure Storage Brad Calder Director/Architect Microsoft Corporation.
Node.js & Windows Azure AZR326  JavaScript on the Server!  Event driven I/O server-side JavaScript  Not thread based, each connection uses only a.
IAsyncResult ar = BeginSomething(…); // Do other work, checking ar.IsCompleted int result = EndSomething(ar);
Windows Azure Cloud Services Anton Boyko.NET developer.
Application Lifecycle Management Tools for C++ in Visual Studio 2012 Rong Lu Program Manager Visual C++ Microsoft Corporation DEV316.
Chris Adams Solutions Architect Microsoft Corporation SESSION CODE: MGT303 Brian Copps Service Engineering, Mgr Microsoft Corporation.
Windows Azure, SQL Azure and SharePoint 2010 Integration.
Windows Azure Custom Software Development Mobile Middleware Windows Azure Compute Dipl.-Ing. Damir Dobric Lead Architect daenet
Inside Azure Diagnostics 17 COLUMBUS, OHOCTOBER 17, 2014CLOUDDEVELOP.ORG.
Windows Azure poDRw_Xi3Aw.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
Microsoft Virtual Academy Module 12 Managing Services with VMM and App Controller.
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
Windows Azure Pack Speaker Name Date. Internal slide only—do not show.
Clear Lines Consulting · clear-lines.comApril 21, 2010 · 1 The Joy of Pex
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Bret Stateham Owner, Net Connex blogs.netconnex.com twitter.com\bstateham.
How to develop a VoIP softphone in C# that enables SIP Instant Messaging (IM) This presentation describes how to create a softphone in C# that allows you.
How to develop a VoIP softphone in C# by using OZEKI VoIP SIP SDK This presentation demonstrates the first steps concerning to how to develop a fully-functional.
What is OZEKI Camera SDK This presentation demonstrates what OZEKI Camera SDK is, what you can develop with the software development kit, the prerequisites.
MIX 09 5/29/ :31 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Building Applications with Windows Azure and SQL Azure
Welcome! In this module- Learn where the bathroom is.
Reliable Services Jeffrey Richter Microsoft Azure Service Fabric.
Customizing your device experience with assigned access
Windows Azure Storage Queue Storage.
Introduction to Building Applications with Windows Azure
Getting started with Windows Azure
Jim Nakashima Program Manager Cloud Tools
Saranya Sriram Developer Evangelist | Microsoft
Microsoft Connect /17/2019 9:55 PM
Microsoft Ignite /17/2019 6:00 PM
Tech Ed North America /12/2019 6:45 AM Required Slide
Microsoft Build /4/ :50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
02 – Cloud Services Bret Stateham | Senior Technical Evangelist​
Developing Windows Azure Applications with Visual Studio
User Segmentation and Targeted Push Notifications for UWP apps
INFO 344 Web Tools And Development
Microsoft Azure Services Platform
Permission for this presentation is currently restricted. If you are not running Microsoft Office 2003 or an application that supports presentations with.
Presentation transcript:

5 Worker Role Your Code

public class WorkerRole : RoleEntryPoint { public override void Run() { while (true) { Thread.Sleep(1000); //Do something here } public override bool OnStart() { // Set the maximum number of concurrent connections ServicePointManager.DefaultConnectionLimit = 12; //Connection configuration CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSetting) => { var connectionString = RoleEnvironment.GetConfigurationSettingValue(configName); configSetting(connectionString); }); return base.OnStart(); }

Creating a Simple Worker Role

//Create Queue CloudStorageAccount sa = CloudStorageAccount.FromConfigurationSetting("DataConnectionString"); private CloudQueueClient qc = sa.CreateCloudQueueClient(); private CloudQueue q = qc.GetQueueReference("incoming"); q.CreateIfNotExist(); //Add Message CloudQueueMessage m = new CloudQueueMessage(Message.Text); q.AddMessage(m); //Read Message CloudQueueMessage m = q.GetMessage();

TcpClient c = new TcpClient(); c.Connect(" ", 4321); Stream s = c.GetStream(); StreamWriter sw = new StreamWriter(s); sw.WriteLine(data); sw.Flush();

Communicating with Worker Roles

Azure

Pluggable Services and Worker Roles

Call to Action For Download Download SharePoint VM 356C C60-D539896C66CE&displaylang=en Download Azure Developer Center Windows Azure SDK and Windows Azure Tools for Microsoft Visual Studio (November 2010) c4-9dadaa5ed018&displaylang=en For Reference Channel 9 SharePoint Developer Training Kit Channel 9 Azure Developer Training Kit