The document provides an agenda for a presentation on SharePoint 2010 development. It covers topics like SharePoint architecture, client installation, debugging the server, web parts, application pages, custom fields, controls, and taking questions. There are sections that dive deeper into specific topics, like explaining the SharePoint 2010 architecture, the steps for client installation, different approaches for debugging the server, how to create and work with web parts, and an overview of using custom fields and controls in SharePoint development.
Module 3: Advanced SharePoint 2013 Site Administration
Topics include: What is Design Manager in SharePoint 2013 and why would you use it, how to create a Custom Theme in SharePoint 2013. Other Topics -
• Introduction to SharePoint 2013 Design Manager
• Creating and Modifying Master Pages in SharePoint 2013
• Adding a Custom Master Page - Convert HTML Master page to SharePoint Master Page using Design Manager.
• Creating Custom Layout Pages in SharePoint 2013
• SharePoint 2013 Composed Look - Creating Custom Themes in SharePoint 2013
• Understand Site feature activation, Master Page gallery and Web Part gallery
• Managing SharePoint Pages - Adding\Removing and Importing\Exporting WebParts, Creating Custom Error pages (404 FileNotFound pages) and WebPart Pages.
Topics include: Advanced Operations with Windows PowerShell, Using PowerShell to determine site quotas and storage space etc. Other Topics -
• Introduction to Windows PowerShell
• Installing Solution packages (WSPs) using Windows PowerShell
• Advanced reporting and Analysis using Windows PowerShell
• Backup\Restore, Import\Export SharePoint sites using Windows PowerShell
• Introduction to STSADM
• Adding Solutions, Features using STSADM.
• Configure diagnostic logging in SharePoint 2013
• Developer Dashboard in SharePoint 2013.
Module 3: Advanced SharePoint 2013 Site Administration
Topics include: What is Design Manager in SharePoint 2013 and why would you use it, how to create a Custom Theme in SharePoint 2013. Other Topics -
• Introduction to SharePoint 2013 Design Manager
• Creating and Modifying Master Pages in SharePoint 2013
• Adding a Custom Master Page - Convert HTML Master page to SharePoint Master Page using Design Manager.
• Creating Custom Layout Pages in SharePoint 2013
• SharePoint 2013 Composed Look - Creating Custom Themes in SharePoint 2013
• Understand Site feature activation, Master Page gallery and Web Part gallery
• Managing SharePoint Pages - Adding\Removing and Importing\Exporting WebParts, Creating Custom Error pages (404 FileNotFound pages) and WebPart Pages.
Topics include: Advanced Operations with Windows PowerShell, Using PowerShell to determine site quotas and storage space etc. Other Topics -
• Introduction to Windows PowerShell
• Installing Solution packages (WSPs) using Windows PowerShell
• Advanced reporting and Analysis using Windows PowerShell
• Backup\Restore, Import\Export SharePoint sites using Windows PowerShell
• Introduction to STSADM
• Adding Solutions, Features using STSADM.
• Configure diagnostic logging in SharePoint 2013
• Developer Dashboard in SharePoint 2013.
SharePoint BCS, OK. But what is the SharePoint Business Data List Connector (...Layer2
The Layer2 Business Data List Connector for SharePoint makes it as easy as possible to connect native SharePoint lists to almost any external data source, codeless and bi-directional. The app closes many issues and overcomes limitations that still exist with SharePoint out-of-the-box data integration today.
To configure simply:
1. Enter connection string
2. Enter select statement
3. Enter primary keys.
Fast background updates (changed data only) via timer job. Alerts and workflows can be used to take business actions in SharePoint, when external data records are changed. Optionally write-back changes to data source.
In this session, we are going to brand a SharePoint site from start to finish. We will use SharePoint Designer, HTML and custom CSS to design a site how not to look like SharePoint. We'll touch upon themes, page layouts as well as master page design. As well as learn how to upgrade a SharePoint 2007 design to SharePoint 2010.
This session is focused on designers well versed with HTML and CSS but might not have the SharePoint development experience. Within the session, we'll also look at usability, accessibility and best practices on branding SharePoint public facing sites.
In this Module you will learn :
Topics Include: Advanced SharePoint Server Concepts, Using Calculated Columns, Lookup Columns, Managed Accounts.
Topics Includes :
Calculated Columns
Look up Columns
Import\Export WebPart’s on a Page
InfoPath Forms
Before the Install :
Accounts in SharePoint 2013
SharePoint 2013 Prerequisites
Logical and Physical Architectures
Workflow Manager is a new workflow engine added in SharePoint 2013 which has some tips & tricks, We will see in this session how to go with smooth installation.
SharePoint 2010 Team Site Overview - I use this presentation to give user groups / departments a high level overview of SharePoint 2010 Team Sites. There are no exercises in this presentation - just demonstrations on how things work!
Topics include:
• Customizing sites using SharePoint Designer 2013
• Creating, Importing and Exporting SharePoint Designer Workflows.
• Modifying master Pages, Layout pages (e.g. adding Footer in master page) using SharePoint 2013 Designer.
• Adding and Modifying DataView WebParts, ListView Webparts, XSLT using SharePoint Designer.
• Creating and Publishing forms using InfoPath 2013
• Creating InfoPath forms with rules and data connections.
Comparison of SharePoint 2010 and SharePoint 2013Ian Woodgate
I've highlighted some of the many of the areas of change between SharePoint 2010 and SharePoint 2013, in this deck which was presented at SharePoint Saturday UK 2013, along with demos.
How to implement SharePoint in your organizationSPC Adriatics
Speaker: Joško Ivankov;
SharePoint has a large number of options, which is great because it covers a lot functionality, but it also presents a problem in choosing the right functionality for a particular purpose, and also the order of implementation. In this session, based on our practical experience in many implementations of intranet (T-HT, Podravka, HEP, Zagreb airport…) and business applications on SharePoint, we will propose the best way for the introduction of SharePoint in your organization. You will find out quick wins in implementing SharePoint that users will love, and how to set up the basic structure and integration for future (sure) growth of SharePoint implementation.
Introduction To Microsoft SharePoint 2013Vishal Pawar
Microsoft SharePoint is a Web application platform developed by Microsoft. First launched in 2001, SharePoint has historically been associated with intranet content management and document management, but recent versions have significantly broader capabilities
SharePoint online training offered by Quontra Solutions with special features having Extensive Training will be in both SharePoint Online Training and Placement. We help you in resume preparation and conducting Mock Interviews.
Emphasis is given on important topics that were required and mostly used in real time projects. Quontra Solutions is an Online Training Leader when it comes to high-end effective and efficient IT Training. We have always been and still are focusing on the key aspect which is providing utmost effective and competent training to both students and professionals who are eager to enrich their technical skills.
SharePoint BCS, OK. But what is the SharePoint Business Data List Connector (...Layer2
The Layer2 Business Data List Connector for SharePoint makes it as easy as possible to connect native SharePoint lists to almost any external data source, codeless and bi-directional. The app closes many issues and overcomes limitations that still exist with SharePoint out-of-the-box data integration today.
To configure simply:
1. Enter connection string
2. Enter select statement
3. Enter primary keys.
Fast background updates (changed data only) via timer job. Alerts and workflows can be used to take business actions in SharePoint, when external data records are changed. Optionally write-back changes to data source.
In this session, we are going to brand a SharePoint site from start to finish. We will use SharePoint Designer, HTML and custom CSS to design a site how not to look like SharePoint. We'll touch upon themes, page layouts as well as master page design. As well as learn how to upgrade a SharePoint 2007 design to SharePoint 2010.
This session is focused on designers well versed with HTML and CSS but might not have the SharePoint development experience. Within the session, we'll also look at usability, accessibility and best practices on branding SharePoint public facing sites.
In this Module you will learn :
Topics Include: Advanced SharePoint Server Concepts, Using Calculated Columns, Lookup Columns, Managed Accounts.
Topics Includes :
Calculated Columns
Look up Columns
Import\Export WebPart’s on a Page
InfoPath Forms
Before the Install :
Accounts in SharePoint 2013
SharePoint 2013 Prerequisites
Logical and Physical Architectures
Workflow Manager is a new workflow engine added in SharePoint 2013 which has some tips & tricks, We will see in this session how to go with smooth installation.
SharePoint 2010 Team Site Overview - I use this presentation to give user groups / departments a high level overview of SharePoint 2010 Team Sites. There are no exercises in this presentation - just demonstrations on how things work!
Topics include:
• Customizing sites using SharePoint Designer 2013
• Creating, Importing and Exporting SharePoint Designer Workflows.
• Modifying master Pages, Layout pages (e.g. adding Footer in master page) using SharePoint 2013 Designer.
• Adding and Modifying DataView WebParts, ListView Webparts, XSLT using SharePoint Designer.
• Creating and Publishing forms using InfoPath 2013
• Creating InfoPath forms with rules and data connections.
Comparison of SharePoint 2010 and SharePoint 2013Ian Woodgate
I've highlighted some of the many of the areas of change between SharePoint 2010 and SharePoint 2013, in this deck which was presented at SharePoint Saturday UK 2013, along with demos.
How to implement SharePoint in your organizationSPC Adriatics
Speaker: Joško Ivankov;
SharePoint has a large number of options, which is great because it covers a lot functionality, but it also presents a problem in choosing the right functionality for a particular purpose, and also the order of implementation. In this session, based on our practical experience in many implementations of intranet (T-HT, Podravka, HEP, Zagreb airport…) and business applications on SharePoint, we will propose the best way for the introduction of SharePoint in your organization. You will find out quick wins in implementing SharePoint that users will love, and how to set up the basic structure and integration for future (sure) growth of SharePoint implementation.
Introduction To Microsoft SharePoint 2013Vishal Pawar
Microsoft SharePoint is a Web application platform developed by Microsoft. First launched in 2001, SharePoint has historically been associated with intranet content management and document management, but recent versions have significantly broader capabilities
SharePoint online training offered by Quontra Solutions with special features having Extensive Training will be in both SharePoint Online Training and Placement. We help you in resume preparation and conducting Mock Interviews.
Emphasis is given on important topics that were required and mostly used in real time projects. Quontra Solutions is an Online Training Leader when it comes to high-end effective and efficient IT Training. We have always been and still are focusing on the key aspect which is providing utmost effective and competent training to both students and professionals who are eager to enrich their technical skills.
Portal de reclutamiento especializado con búsquedas para todas las industrias, con una fuerte orientación a Publicidad, Tecnología y Marketing Digital de Latinoamérica.
SharePoint Intelligence Extending Share Point Designer 2010 Workflows With Cu...Ivan Sanders
Automating business processes with SharePoint is a powerful way to increase efficiency within any organization. With SharePoint Designer 2010, no-code (or declarative) workflows can be built to run either SharePoint 2010 On-Premise or in the cloud with Office 365. In this session, we’ll develop an expense report workflow from beginning to end to show how SharePoint Designer Workflows are being used in business today.
Best Practices Configuring And Developing Share Point SolutionsAlexander Meijers
This presentation contains best practices from myself and Microsoft regarding configuring and developing SharePoint Solutions. What to do with development, resources, disposing, deployment and some other items.
Migrating to SharePoint 2013 - Business and Technical PerspectiveJohn Calvert
Many organizations still run versions of SharePoint prior to 2013, but the appetite and pressure to upgrade is increasing as business and IT better understand the new features and capabilities of SharePoint 2013 / Online combined with its sister products Office 2013 and Exchange 2013, or alternately Office 365. Drawing on experience from real client engagements in this presentation we examine the business and technical roadmap, and challenges in planning and executing a migration to SharePoint 2013.
Getting Started with Iron Speed DesignerIron Speed
Getting Started with Iron Speed Designer is an entry-level course designed to make you productive fast! It covers the basics of application generation, customization, and deployment.
Take a quick tour of Iron Speed Designer, learn how to prepare your database and creating your first application. More: http://bit.ly/ebFENo
SharePoint Development
==================
What are WebParts?
Working with WebPart through browser
Customize WebPart through SharePoint Designer
Customizing List views (Conditional formatting)
Create Webpart using Visual Studio
Building a simple webpart
Building a visual webpart
Sandbox solution overview
Farm Solution Deployment
For all of the things that can go wrong with your SharePoint implementation, one of the best things we can do is learn from others. From not accepting that implementing an established information architecture and having an available infrastructure are core tenants of every SharePoint installation to managing SLAs with your end users; join us as we share not only what we've seen as worst practices but also worst experiences.
Attendees will learn practices on how to properly manage their SharePoint environments, how to work with other IT department leads and plan for a more properly planned SharePoint environment instead of dealing with the headaches that precipitate themselves when systems are hastily thrown together.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
4. SharePoint 2010 Client Installation
Start with the SharePoint.exe file for SharePoint Foundation or SharePoint Server 2010. Extract the files from SharePoint.exe with the following
command line. A user account control (UAC) prompt might appear at this point.
SharePoint.exe /extract:c:SharePointFiles
This extracts all of the installation files to your hard drive. Use a folder you can recognize easily later, such as c:SharePointFiles. This allows you
to repeat the installation steps without extracting the package again and enables access to the configuration file that needs tweaking, to permit
installation on Windows Vista or Windows 7:
c:SharePointFilesFilesSetupconfig.xml
Add the following line to the end of the config.xml file:
<Setting Id="AllowWindowsClientInstall" Value="True"/>
The complete file should now look like this:
<Configuration>
<Package Id="sts">
<Setting Id="SETUPTYPE" Value="CLEAN_INSTALL" />
</Package>
<DATADIR Value="%CommonProgramFiles%Microsoft SharedXWeb Server
Extensions14Data" />
<Logging Type="verbose" Path="%temp%" Template="Microsoft Windows
SharePoint Services 4.0 Setup *.log" />
<Setting Id="UsingUIInstallMode" Value="1" />
<Setting Id="SETUP_REBOOT" Value="Never" />
<Setting Id="AllowWindowsClientInstall" Value="True"/>
</Configuration>
5. Debugging the Server
A web application consists of several parts. IIS plays a significant role—each request and
response passes through IIS. Debugging the server includes a way to debug IIS to see what data
is transmitted from the browser to the server and back. Despite debugging, performance issues
often arise. To test your SharePoint application under load, a stress test tool is essential.
If your SharePoint server does not respond as expected and the debugger does not reveal useful
results—probably because an internal module beyond your access scope fails—you need more
tools. SharePoint hides error message and replaces stack traces, exception messages, and logs
with almost useless information. It's primarily designed for end users, and they might get
frightened when a NullReferenceException is displayed (e.g., "Did I lose all my data now?"). In
your development environment, you can turn on developer-friendly (and therefore user-
unfriendly) error messages by setting the appropriate parameters in the web.config
file:<configuration>
<SharePoint>
<SafeMode CallStack="true" ... />
...
</SharePoint>
<system.web>
<customErrors mode="off" />
...
</system.web>
</configuration>
6. How to Check Errors
Look into the event log for SharePoint.
Look into the SharePoint logs.
Attach a debugger to the working process and watch for
exceptions.
Look into the IIS logs.
Add tracing to your code and watch the traces.
Consider remote debugging if the target machine has no
debugger installed.
Let's consider each of these alternatives in more detail.
Looking into the Event Log for SharePoin
7. Looking into the SharePoint and IIS Logs
SharePoint itself writes a lot of data into the logs if it is enabled in Central Administration. During the
development and test cycle, we strongly recommend activating the logs. You can find the logging files in
<%CommonProgramFiles%>Microsoft SharedWeb Server Extensions14L0GS
The IIS logs are found here:
<%SystemRoot%>System32LogFiles Ex:(C:WindowsSystem32LogFiles)
The IIS logs contain information about each request and the response. If you match certain reactions of
SharePoint with the event of a specific request, there is a good chance of Unding the reason for some unexpected
behavior.
If you suspect that your code is causing the miss-behaviour and the debugger disturbs the data flow, a private
trace is a good option. Just write useful information from your code to a trace provider. You can turn tracing on
and off by setting the appropriate options in the application's web.config file:
<configuration>
<system.web>
<trace enabled="true" requestLimit="40" localOnly="false"/>
</system.web>
</configuration>
t
8. Activate the Developer Dashboard
$level="On"
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoi
nt")
[void][System.Reflection.Assembly]::LoadWithPartialName
("Microsoft.SharePoint.Administration")
$contentSvc=[Microsoft.SharePoint.Administration.SPWebService]::ContentSer
vice
$contentSvc.DeveloperDashboardSettings.DisplayLevel=
([Enum]::Parse(
[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel],
$level))
$contentSvc.DeveloperDashboardSettings.Update()
Write-Host("Current Level: " +
$contentSvc.DeveloperDashboardSettings.DisplayLevel)
“On”: Activate the Developer Dashboard
“Off”: Deactivate
On and Off are Case Sensitive.
11. Application Pool
The application pool was introduced with IIS 6 to allow the
complete isolation of applications from each other. This
means that IIS is able to completely separate things
happening in one application from those in another.
Keeping applications together in one pool can still make
sense, because another pool creates its own worker process,
and will use more resources.
Separate applications make the web server more reliable. If
one application hangs, consumes too much CPU time, or
behaves unpredictably, it affects its entire pool. Other
application pools (and the applications within them) will
continue to run. In addition, the application pools are
highly configurable.
13. GHOSTING AND UNGHOSTING
In SharePoint, most of the site pages derive from templates. The custom pages only
store the difference between the custom page and the associated template. The
template is loaded in memory and applied to the custom pages on the fly. Holding
the template in the memory is like having it in a cache. This adds performance and
flexibility. The flexibility is achieved when you change the template page—all the
associated custom pages are updated with the new appearance. Custom pages are
loaded from the file system. Such pages are called ghosted pages.
When page data is loaded from the content database, it's called an unghosted page.
That's normally the default way you treat custom pages. Internally, the unghosted
pages are supported by two tables. The page requires an entry in the document table
because pages are elements within a document library. The content table contains
the actual source code of the ASPX page required to execute the page.
When a page is requested, SharePoint first checks in the document table and then
goes to the content table to load the page. If it does not find data for the page, it
goes to the file directory to load the page. This entire page-loading process is
performed by the ASP.NET runtime using the SPVirtualPathProvider mentioned
earlier. This ensures flexible access as well as full control over the loading
procedure.
16. Web Part
Create Visual Web Parts for SharePoint 2010
1. Start Visual Studio 2010, click File, point to New, and then click Project.
2. Navigate to the Visual C# node in the Installed Templates section, click SharePoint, and
then click 2010.
3. Select the Visual Web Part project template, provide a name, a location for your project,
and then click OK.
4. Select the Deploy as a farm solution option and then click Finish.
5. Check Features and Package
6. Add a Label and Button, write button click event.
7. Deploy web part.
8. Add Web part in a any page.
9. Attach Debugger.
17. SharePoint 2010 Development
Open Visual Studio 201o
Create a blank SharePoint 2010 Solution.
Create a Sample Visual WebPart and Check Properties
F4
Deploy Web part.
Show how to add new item to a project.
Show WSP file.
Deploy using VS 2010.
18. using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;
using System.Web;
using System.Data;
using Microsoft.SharePoint.Administration;
namespace Group.VisualWebPart1
{
public partial class VisualWebPart1UserControl : UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
DataTable table = new DataTable();
table.Columns.Add("Site", typeof(string));
table.Columns.Add("Web", typeof(string));
table.Columns.Add("List", typeof(string));
table.Columns.Add("ItemURL", typeof(string));
table.Columns.Add("ItemTitle", typeof(string));
table.Columns.Add("Size", typeof(string));
#region Only Root Web
SPSecurity.RunWithElevatedPrivileges(delegate
{
SPSiteCollection siteCollections = SPContext.Current.Web.Site.WebApplication.Sites; //oSPWeb.WebApplication.Sites;
foreach (SPSite objSPSite in siteCollections)
{
SPWeb objSPWeb = objSPSite.RootWeb;
//Shared Documents should be available in all sites including sub sites.
SPList spDocument = objSPWeb.Lists["News"];
foreach (SPListItem objItem in spDocument.Items)
{
try
{
//table.Rows.Add(objSPSite.Url, objSPWeb.Title, spDocument.Title, objItem.Url, objItem.Title, objItem.File.Length);
table.Rows.Add(objSPSite.Url, objSPWeb.Title, spDocument.Title, objItem.Title);
}
catch (Exception ec) { }
}
objSPWeb.Close();
}
});
#endregion
#region All Sites
//SPSecurity.RunWithElevatedPrivileges(delegate
//{
// SPSiteCollection siteCollections = SPContext.Current.Web.Site.WebApplication.Sites; //oSPWeb.WebApplication.Sites;
News WebPart
19. Simple Visual Web Part
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;
namespace VisualWebPartDashboard.VisualWebPart1
{
public partial class VisualWebPart1UserControl : UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
using (SPMonitoredScope scope = new SPMonitoredScope(this.GetType().Name))
{
Button b = new Button();
b.Text = "Click me!";
Controls.Add(b);
using (SPMonitoredScope scopeInner = new SPMonitoredScope("Inner Scope"))
{
System.Threading.Thread.Sleep(5); // lengthy operation
}
}
}
}
}
Chapter 6.
Using Fiddler to Understand What's Going on the Wire