James Sturtevanthttp://jamessturtevant.com
Training links for Microsoft and Azure<p>I often get asked how to get trained up on a given Microsoft technology. Like anything, there is a lot of info out there, so here is a consolidated list where I would get started. You can go to each resource and search for the technology you are interested in. I always start at the free tier then work up from there if I feel I need/want more.</p>
Wed, 09 Aug 2017 00:00:00 +0000http://jamessturtevant.com/posts/Traing-links-for-Microsoft-Azure/
http://jamessturtevant.com/posts/Traing-links-for-Microsoft-Azure/Setting Global Shortcuts for Bash for Windows<p>I have started using <a href="https://msdn.microsoft.com/en-us/commandline/wsl/install_guide">Bash for Windows</a> as part of my workflow. For a long time, I have been using the standard command prompt with <a href="https://git-for-windows.github.io/">Git Bash tools</a> hooked up to my path (using <a href="http://www.jamessturtevant.com/posts/Chocolatey-And-Boxstarter/">chocolately to install</a> the tools in one command <code class="highlighter-rouge">choco install git -params '"/GitAndUnixToolsOnPath"'</code>). This was nice because I could use the shortcut <code class="highlighter-rouge">Windows Key + X</code> then <code class="highlighter-rouge">C</code> to open a command prompt and get access to Linux like tools such as <code class="highlighter-rouge">ls</code>, <code class="highlighter-rouge">git</code> and <code class="highlighter-rouge">grep</code>.</p>
Wed, 05 Jul 2017 00:00:00 +0000http://jamessturtevant.com/posts/Setting-Global-Shortcuts-for-Bash-for-Windows/
http://jamessturtevant.com/posts/Setting-Global-Shortcuts-for-Bash-for-Windows/Deploying a Service Fabric Guest Executable with Configuration File<p>In Service Fabric, when your guest executable relies on a configuration file, the file must be put in the same folder as the executable. An example of an application that that needs configuration is <a href="http://nginx.org/en/docs/beginners_guide.html">nginx</a> or using <a href="https://docs.traefik.io/basics/#static-trfik-configuration">Traefik</a> with a static configuration file.</p>
Tue, 06 Jun 2017 00:00:00 +0000http://jamessturtevant.com/posts/Deploying-Service-Fabric-Guest-Executable-with-Configuration-File/
http://jamessturtevant.com/posts/Deploying-Service-Fabric-Guest-Executable-with-Configuration-File/Using the Visual Studio Team Services Agent Docker Images<p>There are two ways to create Visual Studio Team Services (VSTS) agents: Hosted and Private. <a href="https://www.visualstudio.com/en-us/docs/build/concepts/agents/agents#install">Creating your own private agent</a> for VSTS has some advantages such as being able to install the specific software you need for your builds. Another advantage that becomes important, particularly when you start to build docker images, is <a href="https://www.visualstudio.com/en-us/docs/build/concepts/agents/hosted#capabilities-and-limitations">the ability to do incremental builds</a>. Incremental builds lets you keep the source files, and in the case of the docker the images, on the machine between builds.</p>
Sat, 06 May 2017 00:00:00 +0000http://jamessturtevant.com/posts/Using-the-VSTS-Docker-Agent/
http://jamessturtevant.com/posts/Using-the-VSTS-Docker-Agent/Accessing Docker Swarm Secrets from ASP.NET Core<p><a href="https://docs.docker.com/engine/swarm/secrets/">Docker Swarm introduced Secrets</a> in version 1.13, which enables your share secrets across the cluster securely and only with the containers that need access to them. The secrets are encrypted during transit and at rest which makes them a great way to distribute connection strings, passwords, certs or any other sensitive information.</p>
Fri, 28 Apr 2017 00:00:00 +0000http://jamessturtevant.com/posts/Acessing-Docker-Swarm-Secrets-From-ASPNET-Core/
http://jamessturtevant.com/posts/Acessing-Docker-Swarm-Secrets-From-ASPNET-Core/Deploying a Python Website to Azure with Docker<p>This post will cover how to deploy a Python Website to <a href="https://docs.microsoft.com/en-us/azure/app-service-web/app-service-linux-intro">Azure Web Apps for Linux</a> using python. With the release of <a href="https://docs.microsoft.com/en-us/azure/app-service-web/app-service-linux-intro">Web Apps for Linux</a> it makes it easier to deploy any application to Azure Web Apps.</p>
Sun, 08 Jan 2017 00:00:00 +0000http://jamessturtevant.com/posts/Deploying-Python-Website-To-Azure-Web-with-Docker/
http://jamessturtevant.com/posts/Deploying-Python-Website-To-Azure-Web-with-Docker/Debugging ARM Templates with Custom Scripts<p>A while back I was working a <a href="https://azure.microsoft.com/en-us/blog/deploy-to-azure-button-for-azure-websites-2/">one-click Azure Deploy button</a> for the <a href="https://github.com/jsturtevant/hoodie-app-tracker">Hoodie sample application</a>. If you have not seen <a href="http://hood.ie/">Hoodie</a> before you should check the project out. It is an opensource project with a complete backend that allows front end developers to build amazing applications and they have a <a href="https://channel9.msdn.com/Blogs/DevRadio/DR1653">great community</a>.</p>
Fri, 11 Nov 2016 00:00:00 +0000http://jamessturtevant.com/posts/Debugging-ARM-Templates-with-Custom-Scripts/
http://jamessturtevant.com/posts/Debugging-ARM-Templates-with-Custom-Scripts/Build and Deploy an opensource project with Visual Studio Team Services without sharing secrets<p>When working with an opensource project it is important to not keep the keys in your source control, otherwise <a href="https://wptavern.com/ryan-hellyers-aws-nightmare-leaked-access-keys-result-in-a-6000-bill-overnight">this happens</a>. We all know we need to keep the secrects out of public source code but how do have a Continuous Integration/Continuous Deployment setup in the case of an open source project? One solution to keep secrets out of the source code is to use envirornment varibables. At runtime you read the enviroment variables that have been set up for the given environment.</p>
Wed, 02 Nov 2016 00:00:00 +0000http://jamessturtevant.com/posts/Build-and-Deploy-Opensource-project-with-Visual-Studio-Team-Services-without-sharing-secrets/
http://jamessturtevant.com/posts/Build-and-Deploy-Opensource-project-with-Visual-Studio-Team-Services-without-sharing-secrets/Making Http Web Requests in Unity with CSharp<p>This past weekend I was able to partcipate in <a href="http://hackharvard.io/">Hack Harvard 2016</a> as a mentor. Hackathon are always a great time and this year there were some <a href="https://hackharvard2016.devpost.com/">really great hacks</a> ranging from solving social media bullying to auto populating calendars to a portable translator.</p>
Wed, 26 Oct 2016 00:00:00 +0000http://jamessturtevant.com/posts/Making-Http-Web-Requests-in-Unity-with-Csharp/
http://jamessturtevant.com/posts/Making-Http-Web-Requests-in-Unity-with-Csharp/Failed Build in Visual Studio Team Services after Xamarin upgrade<p>This week I updated Visual Studio’s version of Xamarin. All was well until I kicked off a build for my Andriod project in Visual Studio Team Services (VSTS). During the <code class="highlighter-rouge">Build Xamarin.Android</code> Project step I recieved the following error and my build failed:</p>
Fri, 14 Oct 2016 00:00:00 +0000http://jamessturtevant.com/posts/Failed-build-in-Visual-Studio-Team-Services-after-xamarin-upgrade/
http://jamessturtevant.com/posts/Failed-build-in-Visual-Studio-Team-Services-after-xamarin-upgrade/