Things I Found Interesting - 5/5/2017

Port Forwarding with Go - Setting up a TCP proxy using Go. CREATING A WEB APP USING THE GOLANG GORILLA WEB TOOLKIT - Nice example of using Gorilla mud for a simple go web app. Understand Go pointers in less than 800 words or your money back - Handy primer for those coming to go from other languages where pointers aren’t prevalent. ASP.NET Core RESTful Web API versioning made easy - Hanselman covers options around how to version your API’s.

Things I Found Interesting - 3/20/2017

A Beginner’s Guide to Scaling to 11 Million+ Users on Amazon’s AWS - A nice clear and concise breakdown of a presentation on how to slowly scale your application using Amazon web services. Janus - An Api Gateway Written in Go Microsoft Power BI Color Reference - A nice color palette to use for your flow charts or other diagrams. Async Tip: Why You Should Avoid Void - I was guilty of this when async/await first came out.

ASPNET vNext on OSX: kqueue() FileSystemWatcher has reached the maximum number of files to watch

The other day I was playing around with Visual Studio Code on my mac I stumbled across a runtime error stating the following: IOException: kqueue() FileSystemWatcher has reached the maximum nunmber of files to watch. Turns out it’s a mono issue (I’m currently on mono 4.0.1 and .NET Execution Environment 1.0.0-beta4). Here’s the link to the temporary fix until it’s fixed permanently: https://github.com/OmniSharp/generator-aspnet/issues/138. The answer is to set a mono environment variable in your console: export MONO_MANAGED_WATCHER=false Once set your website should load without issue.

Moving to DigitalOcean

Back in 2013 I made the decision to dip my big toe into the Linux world by setting up a Wordpress blog using Web Faction as a hosting provider. Having spent over a decade firmly entrenched in the Windows world as a .Net developer this was virgin territory for me: I’d never SSH’ed into a server, worked with MySQL, and certainly never looked too closely at PHP code. And what a wonderful experience it was!

Remote Debugging with Windows Azure

I’ve recently found myself (as well as other developers at The Nerdery) relying on the Websites feature of Windows Azure for hosting everything from our scratch pad web applications and API’s on up to our production apps. Recently, while doing a deployment to one of our production websites on Azure, I found myself facing an Object Reference error which couldn’t be reproduced in any other non-production environment. Luckily, with the release of the Azure SDK 2.2, Microsoft enabled remote debugging of your website instances.