Category: Code

  • 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 […]

  • 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 […]