Category: Code

  • Connect-PnPOnline: unwanted credential caching

    Problems with the Connect-PnPOnline PowerShell CmdLet caching credentials while using the UseWebLogin parameter. See the fix!

  • Microsoft Flow: How to embed an image in an email

    Microsoft Flow: How to embed an image in an email

    It’s simple when you know how! Task: Using Microsoft Flow, trigger sending of an email with an embedded image. The image will be stored in a SharePoint Library We will assume you have already created connects to: Office 365 Outlook SharePoint Steps: Create a new Flow: Select: +New > Instant—from blank Click: Manually trigger a […]

  • Hello Angular World (page 7 of 7)

    Hello Angular World (from Visual Studio and Local IIS) Pages: 1, 2, 3, 4, 5, 6, 7 Conclusion So, we now have an ASP.NET MVC web application which is hosting a simple Hello Angular World App. and in limiting the project size and complexity it should serve as a useful “starter template”. When looking at […]

  • Hello Angular World (page 6 of 7)

    Hello Angular World (from Visual Studio and Local IIS) Pages: 1, 2, 3, 4, 5, 6, 7 Hello Angular World from a MVCV View Now we have an Angular 2 app running in our Local IIS (or IIS Express if you decided to skip that section), let’s build a very simple MVC app to host […]

  • Hello Angular World (page 5 of 7)

    Hello Angular World (from Visual Studio and Local IIS) Pages: 1, 2, 3, 4, 5, 6, 7 Hosting with Local IIS My preference it to develop web applications using my Local IIS server opposed to the IIS Express server that ships with Visual Studio. I have several reasons for this, two of which are: You […]

  • Hello Angular World (page 4 of 7)

    Hello Angular World (from Visual Studio and Local IIS) Pages: 1, 2, 3, 4, 5, 6, 7 Hello Angular World from a HTML page Now that the basic configuration is complete let’s create the Hello Angular World app. The table below lists the folders and files that we will add next. Name Type Used assets […]

  • Hello Angular World (page 3 of 7)

    Hello Angular World (from Visual Studio and Local IIS) Pages: 1, 2, 3, 4, 5, 6, 7 Angular Folder & File Structure Now to add the basic folder and files structure required to build a simple Angular App. My intentions are to remain true to the conventions set out by Angular while remaining sympathetic to […]

  • Hello Angular World (page 2 of 7)

    Hello Angular World (from Visual Studio and Local IIS) Pages: 1, 2, 3, 4, 5, 6, 7 NPM Packages Now that we have a basic ASP.NET MVC 5 project let’s install some NPM Packages. Once you have installed the first NPM Package you will see a new file, called package.json, added to your Project’s root. […]

  • Hello Angular World (page 1 of 7)

    Hello Angular World (from Visual Studio and Local IIS) I have written this article and the accompanying Visual Studio 2015 project as an exploration of how Angular 2 and ASP.NET MVC 5 can coexist and I have tried to remain true to both frameworks, respecting naming conventions and file structure. While carrying out research for […]

  • Code Snippet: Async Unit Test Methods

    This is based upon my original UnitTestMethod.Snippet Gist, this C# Code Snippet can be used within Visual Studio to generates Asynchronous Unit Test Methods (Functions). 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 installed type: utestasync […]