Building Robust Windows Azure Applications with P&P Principal Consultant, Readify AZR323a.

Slides:



Advertisements
Similar presentations
For(int i = 1; i
Advertisements

Java Programming 2 Dr. Priti Srinivas Sajja Introductory concepts of java programming as specified in PGDCA 203:Object Technology, S P University.
Chapter 8. Operator Overloading Operator overloading gives the opportunity to redefine C++ Operator overloading refers to redefine C++ operators such.
EC-241 Object-Oriented Programming
The OWASP Foundation OWASP OWASP Conference 2008 Application Security – The code analysis way Maty Siman CTO Checkmarx.
Lecture # 21 Chapter 6 Uptill 6.4. Type System A type system is a collection of rules for assigning type expressions to the various parts of the program.
1 Objects and Classes Introduction to Classes Object Variables and Object References Instantiating Objects Using Methods in Objects Reading for this Lecture:
ADO. NET. What is “ADO.Net”? ADO.Net is a new object model for dealing with databases in.Net. Although some of the concepts are similar to the classical.
Generic Data Access in Microsoft.NET: a Compelling Example of Inheritance, Interfaces, and the Factory Method Design Pattern OOPSLA 2004 : Design Patterns.
1 Modularity In “C”. 2 General Syntax data_type function_Name (parameter list) { … return expression; // return output } Body of the function is a compound.
C# 3.0 and LINQ Pavel Yosifovich CTO, Hi-Tech College
SQLite and the.NET Framework This PPT:
In C# program Before you can start using the ODBC class definitions, you will need to include the right module. using System.Data.Odbc; // ODBC definitions.
Sitefinity Performance and Architecture
Introduction to ADO Entity Framework ir Denis VOITURON Source:
Crossword Puzzle Solver Michael Keefe. Solver structure.
1 Entity Framework Introduction. Outline Goals of Entity Framework 2.
SQL Azure Database Windows Azure SQL Database is a feature-rich, fully managed relational database service that offers a highly productive experience,
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Intro to C#.net and EF Ilan Shimshoni. The Three Faces of ADO.NET The connected layer – Directly connecting to the DB The disconnected layer – Using datasets.
Windows Azure Connect Name Title Microsoft Corporation.
Part 04 – Preparing to Deploy to the Cloud Entity Framework and MVC Series Tom Perkins NTPCUG.
Additional Topics. API Bindings Bindings Binding Native API’s Create Binding Project Drop Jar or.a Done.
 Sriram Krishnan Program Manager Microsoft Corporation ES03.
JDBC. JDBC stands for Java Data Base Connectivity. JDBC is different from ODBC in that – JDBC is written in Java (hence is platform independent, object.
2008.NET iSDC & RONUA Workshop, November 10 th Mark Blomsma Software architect Develop-One.
How to be a C# ninja in 10 easy steps Benjamin Day.
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.
Rules Two Teams Questions worth 1-3 points – Entire team can confer to answer the question – Max of 2 minutes per question – You can use a computer on.
MongoDB - Rockmongo - Overview - Query - Import, export - Execute/Command line.
1.NET Language Integrated Query Yishai Zaltzberg.
1 11/10/05CS360 Windows Programming ADO.NET. 2 11/10/05CS360 Windows Programming ADO.NET  Behind every great application is a database manager o Amazon.
C# 3.0 and LINQ Pavel Yosifovich CTO, Hi-Tech College
Tony Petrossian Microsoft Corporation Best Practices.
Language Integrated Query (LINQ). Data Access Programming Challenges Developers must learn data store-specific query syntax Multiple, disparate data stores.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Static. 2 Objectives Introduce static keyword –examine syntax –describe common uses.
Vaughan Knight Vaughan Knight Bit
Access Modifiers Control which classes use a feature Only class-level variables may be controlled by access modifiers Modifiers 1. public 2. protected.
Chris Adams Solutions Architect Microsoft Corporation SESSION CODE: MGT303 Brian Copps Service Engineering, Mgr Microsoft Corporation.
Inside Azure Diagnostics 17 COLUMBUS, OHOCTOBER 17, 2014CLOUDDEVELOP.ORG.
1NetBeans Tutorial Using the “Properties” menu, name the List “List1” and the button “Button1”. NetBeans Tutorial6.
Print Row Function void PrintRow(float x[ ][4],int i) { int j; for(j=0;j
CSC241 Object-Oriented Programming (OOP) Lecture No. 14.
Casablanca: C++ on Principal Consultant Senior Architect MYOB AZR331.
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
Int fact (int n) { If (n == 0) return 1; else return n * fact (n – 1); } 5 void main () { Int Sum; : Sum = fact (5); : } Factorial Program Using Recursion.
Building Web Applications using the latest ASP.NET technologies Max Déboli Director de Desarrollo Microsoft Azure MVP Lagash
5 Worker Role Your Code public class WorkerRole : RoleEntryPoint { public override void Run() { while (true) { Thread.Sleep(1000); //Do something.
Data in Windows 10 UWP Andy Wigley XML, JSON, SQLite or EF Core ?
ELASTIC DATABASE CAPABILITIES WITH AZURE SQL DB Silvia Doomra Azure SQL DB Program Management.
ПЕЧЕНЬ 9. Закладка печени в период эмбрионального развития.
C# MySQL onnect-C-to-MySQL 1.
Presentation Title.
Presentation Title.
Top 10 Entity Framework Features Every Developer Should Know
Building REST API using SQL Server and JSON Functions
Reliable Services Jeffrey Richter Microsoft Azure Service Fabric.
SQL commands from C# and ASP.net
Azure Automation and Logic Apps:
An Introduction to Entity Framework
DotnetConf 12/3/2018 1:48 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Example with Static Variable
Group 1 Group 1 Group 1 Group 1 word word word word word word word word word word word word word word word word word word word word word word word.
Migrating your applications to Azure
Using threads for long running tasks.
Functions and Relations
Lab – 2018/04/12 implement getTotalCount to return how many ‘nMatrix’s are allocated(exist) (modify constructor and destructor, use static variable and.
Presentation Title Your information.
SQL Azure to .NET Developers
Presentation transcript:

Building Robust Windows Azure Applications with P&P Principal Consultant, Readify AZR323a

public class WorkerRole : RoleEntryPoint { private Autoscaler _autoscaler;... public override bool OnStart() { _autoscaler = EnterpriseLibraryContainer.Current. GetInstance (); _autoscaler.Start();... } public override void OnStop() { _autoscaler.Stop();... } public class WorkerRole : RoleEntryPoint { private Autoscaler _autoscaler;... public override bool OnStart() { _autoscaler = EnterpriseLibraryContainer.Current. GetInstance (); _autoscaler.Start();... } public override void OnStop() { _autoscaler.Stop();... } Changes in code

<rules xmlns= " -->... <rules xmlns= " -->...

<performanceCounter alias="CPU" performanceCounterName="\Processor(_Total)\% Processor Time" source="SM.Website" timespan="00:05:00" aggregate="Average"/> <performanceCounter alias="CPU" performanceCounterName="\Processor(_Total)\% Processor Time" source="SM.Website" timespan="00:05:00" aggregate="Average"/>

<role roleAlias=“SM.Website” scaleDownCooldown=“00:10:00” scaleUpCooldown=“00:10:00” scaleDownOnlyinLastMinutesOfHour=“10” scaleUpOnlyInFirstMinutesOfHour=“30”> <role roleAlias=“SM.Website” scaleDownCooldown=“00:10:00” scaleUpCooldown=“00:10:00” scaleDownOnlyinLastMinutesOfHour=“10” scaleUpOnlyInFirstMinutesOfHour=“30”>

demo Name Title Group WASABi in action

Transient Errors Handling them using TOPAZ

//Use retry aware connection using (var conn = new ReliableSqlConnection (connString, retryPolicy)) { conn.Open(); var cmd = conn.CreateCommand(); cmd.CommandText = sqlStmt; //retry aware ExecuteCommand int count = cmd.ExecuteScalar(); } //Use retry aware connection using (var conn = new ReliableSqlConnection (connString, retryPolicy)) { conn.Open(); var cmd = conn.CreateCommand(); cmd.CommandText = sqlStmt; //retry aware ExecuteCommand int count = cmd.ExecuteScalar(); }

sqlRetryPolicy.ExecuteAction(() => { // Invoke a LinqToSQL query. }); return sqlRetryPolicy.ExecuteAction >( () => { // Invoke a EF LINQ query return result; }); sqlRetryPolicy.ExecuteAction(() => { // Invoke a LinqToSQL query. }); return sqlRetryPolicy.ExecuteAction >( () => { // Invoke a EF LINQ query return result; });

demo Name Title Group TOPAZ in action