Do you have a console application you have written using the .NET 4.6 Framework? Want to quickly get it going in a container? Thanks to Windows Containers, we can do this quite easily. This guide assumes you have Docker for Windows installed (requires Windows 10 Professional or later). If you don’t, you could do this on an AWS instance - they have a Windows Server 2016 with Containers instance that is perfect for this.
When .NET Core was announced, the most exciting thing for me was always the fact I could host things I wrote in C# on Linux machines. The possibilities were huge! Then Docker came along, and being able to host containerised copies of my code interested me. Today I present how to quickly get a .NET Core WebAPI project up and running in Docker, and in this example - hosted on Heroku.
Last night I went to the Melbourne Xamarin Meetup where Kym Phillpotts did a great recap of the announcements for Xamarin from Microsoft Build 2018. I thought I might blog about some of the things that sounded exciting for me as a developer. Better templates in Visual Studio When you are trying to start off a new project, having templates available to quickly get you going with the right project structure is so handy.
Code is a fantastic editor that has fast become one of the best of the market, being multi-platform and backed by one of the best computing companies out there - Microsoft. It is quite versitile thanks to its support for extensions and the community surrounding it. The Visual Studio Code Marketplace is filled with packages to cover most languages, so whether you code in Python or C# there is a way to mark Code support it.
Automated testing is something I really believe in. But you can’t always spend a lot of time setting up a project to get started on adding in tests. That’s where my newly released repository WebsiteTestingStarterKit comes into play. It’s exactly as it sounds - it’s a starter kit for writing tests. It’s written in C# and uses Selenium and xUnit to run through a bunch of automated tests. I love automated testing for a few reasons.