Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.

Slides:



Advertisements
Similar presentations
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Advertisements

Module 17 Tracing Access to SQL Server 2008 R2. Module Overview Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine.
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Managing Identity and Permissions
Microsoft ® Official Course Developing Remote-hosted Apps for SharePoint Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Developing Optimized Internet Sites Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 14: Troubleshooting Windows Server 2003 Networks.
DEV450 Visual Studio: Best Practices For Debugging Managed Applications Habib Heydarian Scott Nonnenberg Program Managers Microsoft Corporation.
 Visual Studio has great support for building ASP.NET web applications  Real web application development involves more than just copying the files created.
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 2013 Technical Preview and published July Introducing.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
Microsoft ® Official Course Module 9 Configuring Applications.
Microsoft ® Official Course Module 12 Monitoring, Managing, and Recovering AD DS.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Deploying and Managing Windows Server 2012
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
ASP.NET Programming with C# and SQL Server First Edition Chapter 6 Debugging and Error Handling.
The Art of Debugging Shlomy Gantz 02/13/01MDCFUG.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Microsoft ® Official Course Module 10 Optimizing and Maintaining Windows ® 8 Client Computers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
DEV339 Best Practices for Debugging Visual Studio.NET Applications Keith Pleas Architect, Guided Design
Monitoring Windows Server 2012
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
Module 10 Administering and Configuring SharePoint Search.
Module 5: Configuring Internet Explorer and Supporting Applications.
Module 14 Monitoring and Optimizing SharePoint Performance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
Web Services Error Handling and Debugging. Agenda Simple SOAP faults Advanced SOAP faults SOAP headers and faults Error handling From a Service Perspective.
Guide to MCSE , Enhanced1 Activity 11-1: Using Task Manager to Manage Applications and Processes Objective: To explore managing applications and.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Microsoft ® Official Course Developing a Publishing Site for Web Content Microsoft SharePoint 2013 SharePoint Practice.
Module 4: Creating a Web Application with Web Forms
Module 4: Design IIS Maintenance and UDDI. Designing Internet Information Services Backup and Recovery Specifying Monitoring requirements Deploying UDDI.
Msdevcon.ru#msdevcon. ИЗ ПЕРВЫХ РУК: ДИАГНОСТИКА ПРИЛОЖЕНИЙ С ПОМОЩЮ ИНСТРУМЕНТОВ VISUAL STUDIO 2012 MAXIM GOLDIN Senior Developer, Microsoft.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Module 9 Planning and Implementing Monitoring and Maintenance.
Configuring and Deploying Web Applications Lesson 7.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Advanced Windows Store App Development with HTML5 Refresh / Exam Prep M6: Tools and Asynchronous Programming Jeremy Foster Microsoft Technical.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
Personalizing Web Sites Nasrullah. Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users.
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
What's New in Visual Studio 2010 Debugging Brian Peek Senior Consultant, ASPSOFT, Inc. Microsoft MVP - C#
Cool CF Debugging Shlomy Gantz 07/29/01CF_ODYSSEY.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Improving Your Application with IntelliTrace #ITDevConnections.
SQL Database Management
Monitoring Windows Server 2012
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Deploying and Configuring SSIS Packages
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
Web Development in Microsoft Visual Studio 2013
11/12/2018 6:58 PM © 2004 Microsoft Corporation. All rights reserved.
07 | Workflows Chris Johnson | SharePoint Guru
virtual techdays INDIA │ November 2010
Presentation transcript:

Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013

Module Overview Debugging SharePoint Apps in Visual Studio Diagnosing Faults in Deployed Apps Testing Performance and Scalability

Lesson 1: Debugging SharePoint Apps in Visual Studio Configuring a SharePoint Site for Debugging Debugging JavaScript Code Demonstration: Debugging JavaScript in Visual Studio and Internet Explorer Debugging REST Calls Debugging Remote Events

Configuring a SharePoint Site for Debugging Debugging Tools in Visual Studio Output Immediates Call Stack IntelliTrace Enabling Debugging in Web.config Developer Site Collection Template Enabling the Developer Site Collection Feature

Debugging JavaScript Code Minimized and Debugging JavaScript Files Visual Studio JavaScript Debugging Internet Explorer JavaScript Debugging

Demonstration: Debugging JavaScript in Visual Studio and Internet Explorer In this demonstration, you will see how to: Use the Visual Studio Debugger to debug JavaScript in a SharePoint app. Use the Internet Explorer F12 Developer tools to profile the functions called in a web page.

Demonstration: Debugging JavaScript in Visual Studio and Internet Explorer

Debugging REST Calls Using the JavaScript CSOM reference to understand REST properties Checking data in Internet Explorer Using the Fiddler Web Debugger

Debugging Remote Events Developing Apps Using Remote SharePoint Servers Remote Event Receivers and Remote SharePoint Servers Locating the WCF service for a remote event receiver Debugging Remote Event Receivers Windows Azure Service Bus Configuring a SharePoint app project to use a service bus

Lesson 2: Diagnosing Faults in Deployed Apps Logging Errors in the App Monitoring Page IIS Tracing Using NuGet Logging Packages

Logging Errors in the App Monitoring Page Recording a custom error: try { //Place the operation that may cause an exception //in a try block } catch (Exception e) { SP.Utilities.Utility.logCustomAppError(context, "The operation caused an exception. “ + “The details were: " + e.Message); }

IIS Tracing Building Diagnostic Tools: 1. Configure tracing in web.config Ensure tracing is disabled by default. 2. Provide a user interface element to enable tracing Remember to provide a similar element to disable tracing after diagnostic information has been gathered. 3. Provide a link to trace.axd Users can forward the trace information to you.

Using NuGet Logging Packages NuGet Package Manager ELMAH MiniProfiler

Lesson 3: Testing Performance and Scalability SharePoint App Boundary and Supported Limits Performance Testing Tools Profiling an App Stress Testing Apps Discussion: Choosing a Performance Tool

SharePoint App Boundary and Supported Limits LimitTypeMaximum Value Number of apps in the Manage Licenses page Boundary2,000 Number of app Licenses in a single tenancy Supported1,000,000 Number of apps displayed in the Add an App page Boundary240 Number of managers for each app license Boundary30 Number of app licenses that a single user can view Boundary2,000 Number of apps that a user can see in the corporate catalog Boundary500

Performance Testing Tools Internet Explorer Developer Tools Profiler Network Fiddler The Statistics tab Custom Rules The Timeline Performance Tools in Visual Studio Profiling Tools Web Performance and Load Tests

Profiling an App Performance Issues Hotspots, bottlenecks, unintended calls. Profiling Methods Sampling Instrumentation Concurrency.NET Memory Tier Interaction Profiling Process Configuring a profiling session Running a profiling session Analyzing results in Performance Explorer

Stress Testing Apps Stress Testing Process 1. Record web performance tests 2. Configure a load test 3. Execute a load test 4. Analyze load test results Handling Dynamic Parameters Validation and Extraction Rules

Discussion: Choosing a Performance Tool Discuss the following scenarios with the class: Preparation for Deployment Identification of a Bug Optimization of a Procedure

Lab: Enabling ASP.NET Tracing Exercise 1: Adding a Diagnostics Page to a SharePoint App Exercise 2: Configuring ASP.NET Tracing Exercise 3: Using Trace Logs

Lab Scenario Occasional page errors in the Mileage Recorder app have proved difficult to replicate and fix in the development environment. You have been asked to enable ASP.NET tracing to ensure that users can generate more diagnostic information when problems arise.

Lab Review In Exercise 2, Task 1, you added a new element to the web.config file with the enabled attribute set to false. Why is it necessary to create this element, when code in the ToggleTracing action sets the enabled attribute to true? What are the consequences of leaving tracing enabled after you have diagnosed a bug?

Module Review and Takeaways Review Question(s) Best Practice Common Issues and Troubleshooting Tips

Course Evaluation