-
Code Snippet: Unit Test Methods
While researching Unit Testing, I reviewed several different C# Code Snippet examples for generating Unit Test Methods (Functions) within Visual Studio and this is my take on it… How to Use Save the Code Snippet file as UnitTestMethod.Snippet For for VS 2015, move the UnitTestMethod.Snippet file into this directory: %userprofile%\Documents\Visual Studio 2015\Code Snippets\Visual C#\My Code Snippets Once […]
-
Angular 2: Quick Start Notes Part #2
Following my first post in this series, in which I set up Visual Studio Code, installed Git and cloned Deborah Kurta’s Angular2-GettingStarted.git. Today I’m going list the steps required to install and configure the NPM (Node Package Manager) command line utility; this will enable me to see the results of my code changes in a […]
-
Angular 2: Quick Start Notes Part #1
These are my notes, made while watching Deborah Kurta’s Angular2: Getting Started course, hosted by Pluralsight. Most, if not all, of this information can be found within Deborah’s course, however by stripping this information out I hope to jog memories… Tools & Setup: Macintosh (OS X) How to use Visual Studio Code with GitHub: Download and […]
-
Visual Studio Extensions
Here is a list of some of may favourite Visual Studio Extensions:
-
SharePoint: Content and Structure Report for All Checked Out Files
Ever wondered why a file or page was not showing up in search or did not updated during a deployment? Well perhaps it was because the “creator” had not checked-in their file or published the page… SharePoint has a useful page called Site Content and Structure which can be used to review the following out-of-the-box […]
-
Usefull SharePoint Online Links
SharePoint Online and OneDrive for Business software boundaries and limits https://support.office.com/en-us/article/SharePoint-Online-and-OneDrive-for-Business-software-boundaries-and-limits-8f34ff47-b749-408b-abc0-b605e1f6d498
-
Cheat Sheet: Fixing SharePoint Page Layouts containing Webpart with the same ID
I had problems upgrading a WSP containing one or more Page Layouts? Unable to edit or update a Page Layout? Related article: Editing SharePoint Webparts embedded within Page Layouts https://www.sjlewis.com/2015/10/15/editing-sharepoint-webparts-embedded-within-page-layouts/ Navigate to the site settings of the root website (within a site collection) Click Master pages and page layouts and locate the Page Layouts Make a […]
-
Empty GUID: 00000000-0000-0000-0000-000000000000
Empty GUID: 00000000-0000-0000-0000-000000000000 C# new Guid() Creates an empty GUID that is all-zeros Guid.NewGuid() Creates a new GUID using an algorithm that is designed to make collisions extremely unlikely
-
Example: Office 365 Video REST API & Script Editor webpart
Here is an example of how to embedding a video using a Script Editor webpart and the Office 365 Video Portal REST API within SharePoint Publishing site. When try this example yourself, don’t forget to edit the VideoPlayer.webpart and replace the blank GUIDs. Quick Start: Upload a video to your Office 365 Video Portal Add […]