Tuesday, May 24, 2016

Javascript being cached during development time by Visual Studio and Internet Explorer

So I am working on this website and need to make some changes to a javascript file in the site. The changes I made was to disable elements of div containers having a particular tag. I make the change and hit F5.

The divs are not disabled. I add a break point to the JavaScript file in Visual Studio and see that the break point is not enabled indicating that something is amiss. The changed JavaScript was not loaded at all.

Searching this led me to the following post on StackOverflow.

The answer essentially is to do a CTRL+F5 or try to open the link in a different browser.

How To - Develop a Simple Outlook 2013 Add-in in C#

This post explains creating a simple outlook add-in using Visual Studio 2013 and some details on accessing various mail properties in the add-in.

Required Tools

  • Visual Studio 2013 ( you could also work with Visual Studio 2012)
  • VS tools for Office - Download and install from here : http://blogs.msdn.com/b/lightswitch/archive/2014/03/03/office-developer-tools-for-visual-studio-2013-march-2014-update.aspx
    • The executable starts the Web Installer which looks like the following:

Creating a Project

Create a new Outlook 2013 Add-in by selecting New Project -> Office / Sharepoint -> Outlook 2013 Add-in as shown below:


This will create a partial class called ThisAddIn.cs with two methods
  • ThisAddIn_StartUp
  • ThisAddIn_Shutdown
As is obvious - any initialization operations can be done in the StartUp function and any cleanup in the Shutdown function.





References

  1. Ribbon Designer - http://msdn.microsoft.com/en-us/library/bb386089.aspx