Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tiberiu Covaci Senior Technical Trainer Many-core

Similar presentations


Presentation on theme: "Tiberiu Covaci Senior Technical Trainer Many-core"— Presentation transcript:

1 Tiberiu Covaci Senior Technical Trainer Many-core
12/9/2018 6:22 PM DEV 335 Improving Your Microsoft ASP.NET Application Performance with Asynchronous Pages and Actions Tiberiu Covaci Senior Technical Trainer Many-core © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Who am I? Tiberiu ’Tibi’ Covaci
Software engineer, over 20 years experience MCT since 2004, teaching .NET Researcher at KTH Sweden .NET User Group Leader INETA Country Lead for Sweden Telerik MVP & Insider @tibor19 #msteched

3 Agenda ASP.NET Page lifecycle Load test your application
Asynchronous pages Asynchronous actions Async support in C# vNext

4 Visual Studio Live! Las Vegas 2011MGB 2003
ASP.NET Page lifecycle Init Load PreRender PreRender Complete © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

5 Introducing the Application
12/9/2018 6:22 PM Introducing the Application demo © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 ASP.NET Asynchronous Page lifecycle
Init Load PreRender Async calls PreRender Complete

7 Synchronous vs Ansynchronous
Call method => Wait for result One method at a time Easy to program/understand Asynchronous Call method => Return right away Result / method completion provided via callback Run several methods at the same time Scalability Harder to program

8 Asynchronizing the Application
12/9/2018 6:22 PM Asynchronizing the Application demo © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Async support in C# vNext
“Looks like” synchronous programming Uses Task/Task<T> behind the courtains Two new contextual keywords async marks a method as asynchrnous await yields control while waiting on a task to complete

10 Modernizing the Application
12/9/2018 6:22 PM Modernizing the Application demo © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Summary ASP.NET Page lifecycle Load test your application
Asynchronous pages Asynchronous actions Async support in C# vNext

12 Thank you tibi@multi-core.net http://blog.multi-core.net

13 Web Track Resources http://www.asp.net/ http://www.silverlight.net/

14 Resources Learning http://northamerica.msteched.com
Tech Ed North America 2010 12/9/2018 6:22 PM Resources Connect. Share. Discuss. Learning Sessions On-Demand & Community Microsoft Certification & Training Resources Resources for IT Professionals Resources for Developers © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 Complete an evaluation on CommNet and enter to win!
Tech Ed North America 2010 12/9/2018 6:22 PM Complete an evaluation on CommNet and enter to win! © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Tech Ed North America 2010 12/9/2018 6:22 PM
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17

18


Download ppt "Tiberiu Covaci Senior Technical Trainer Many-core"

Similar presentations


Ads by Google