Presentation Slides for “End-to-end Application Performance Monitoring with Application Insights”

Thank you very much for attending my session “End-to-end Application Performance Monitoring with Application Insights” at “Experts Live Asia 2017”. I hope you gained something and will spread the word on the cool things about Application Insights. As always, feel free to contact me with questions and feedback (ervinloh@yahoo.com).

As agreed, I am sharing the presentation slides in this post.

Session Synopsis:
Application performance monitoring (APM) is an area of information technology (IT) that focuses on making sure software application programs perform as expected. The goal of performance monitoring is to provide end users with a quality end-user experience. APM allows you to isolate problems real-time for all of your Web applications and Web services whether on-premise or cloud. This session on Application Performance Monitoring demonstrates and discusses the benefits of having visibility into key metrics about your applications, as well as alerts and logging about their health. It also covers the Availability Monitoring practice.

Presentation Slides:
End-to-end Application Performance Monitoring with Application Insights

Presentation Slides for “Mobile DevOps with Visual Studio Team Services and HockeyApp”

Thank you very much for attending my session “Mobile DevOps with Visual Studio Team Services and HockeyApp” at “Visual Studio Party 2017”. I hope you gained something and will spread the word on the cool things about Visual Studio. As always, feel free to contact me with questions and feedback (ervinloh@yahoo.com).

As agreed, I am sharing the presentation slides in this post. My sincere apologies for the long wait.

Session Synopsis:
In this session, you will learn more about how HockeyApp and Visual Studio Team Services help you to deliver high-quality, modern apps for Android, iOS, and Windows. You will see how to automate your build pipeline, run unit and integration tests, and control the release management. Lastly, you will see how you can ship updates to your customers almost instantly with Microsoft continuous delivery process and understand how your apps are used and crash, then fix those crashes and track progress with new monitoring and analytics capabilities.

Presentation Slides:
Mobile DevOps with Visual Studio Team Services and HockeyApp

Presentation Slides for “What’s New in Visual Studio 2017”

Thank you very much for attending my session “What’s New in Visual Studio 2017” at “Visual Studio Party 2017”. I hope you gained something and will spread the word on the cool things about Visual Studio. As always, feel free to contact me with questions and feedback (ervinloh@yahoo.com).

As agreed, I am sharing the presentation slides along with several updated slides in this post. My sincere apologies for the long wait as there are several newly added slides are embargoed until after March 7, 2017.

Session Synopsis:
In this session, you will see the new Visual Studio 2017 features, namely real time continuous testing, real time architecture dependency validation, and code style and code analysis rules. Here is your chance to learn about continuous feedback on the quality of your code, alerts to dependency violations, centrally define code style and code analysis rules across multiple developers and teams.

Presentation Slides:
What’s New in Visual Studio 2017

Presentation Slides for “Build Fundamentals and Continuous Integration”

Thank you very much for attending my session “Build Fundamentals and Continuous Integration” at “First Class in the Air”. I hope you gained something and will spread the word on the cool things about Visual Studio. As always, feel free to contact me with questions and feedback (ervinloh@yahoo.com).

Session Synopsis:
Explore the benefits of handling changes systematically so that your systems maintain integrity over time with Continuous Integration. In this session, you will learn about the benefits of merging all working copies of developers’ code with a shared mainline, producing a new build upon code check-in. Lastly, this session demonstrates and discusses the benefits of running load, integration, and unit tests automatically attached to continuous integration.

Presentation Slides:
Build Fundamentals and Continuous Integration

 

Rebuild Team Foundation Server client’s computer cache

You can force a rebuild of the cache on each client computer the next time the client computer connects to a team project collection by using the witadmin rebuildcache command.

To prevent workspace errors from occurring during version control or build operations in Team Foundation, the data cache on client computers must be updated after certain maintenance operations. After you move, restore, rename, or fail over a data-tier or application-tier server, you must refresh the cache for tracking work items and users must refresh the version control cache on client computers.

The following is the syntax of the witadmin rebuildcache command:

witadmin rebuildcache /collection:CollectionURL [/noprompt]

Example:
The following command invalidates the metadata cache for all clients that connect to Tfs_DefaultCollection that is defined on the server that is named TfsServer. The client caches are updated the next time they connect to the project collection.

witadmin rebuildcache /collection:http://TfsServer:8080/tfs/Tfs_DefaultCollection

Configure Team Foundation Server Proxy <Servers> nodes

The <Servers> node contains one or more nodes that correspond to one or more instances of Visual Studio Team Foundation Server or team project collections from which the proxy server caches files.

Each <Server> node contains a <Uri> node that specifies either a computer that is running Team Foundation Server or a single team project collection on Team Foundation Server.

1) If you specify a computer that is running Team Foundation Server, the proxy can cache files from all collections on that server.

2) If you specify a single team project collection, the proxy can cache files only from that collection.

Example 1:
The <Servers> node might resemble the following example if the proxy were caching version control files from every collection on a server that is named TfsServer, using the default values for port and virtual directory:


<Servers>
 <Server>
  <Uri>
  http://tfsserver:8080/Tfs
  </Uri>
 </Server>
</Servers>

Example 2:
The <Servers> node might resemble the following example if the proxy were caching version control files from Tfs_DefaultCollection on a server that is named TfsServer, using the default values for port and virtual directory:


<Servers>
 <Server>
  <Uri>
  http://tfsserver:8080/Tfs/Tfs_DefaultCollection
  </Uri>
 </Server>
</Servers>

How to clear the Team Foundation Server 2010/2012/2013 cache on client machines?

You just need to save the following content to a .bat file and execute on the saved .bat file on the client machine.

REM **********************************************************
REM Script for clearing Team Explorer 2010/2012/2013 cache
REM **********************************************************

REM **********************************************************
REM Change directory to the Team Foundation Server 2010 client cache
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\3.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a

REM **********************************************************
REM Change directory to the Team Foundation Server 2012 client cache (ignore if it does not exist)
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\4.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a

REM **********************************************************
REM Change directory to the Team Foundation Server 2013 client cache (ignore if it does not exist)
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\5.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a

ECHO “All Done!”