Easily create builders for your tests using Intellij IDEA.New Pluralsight course – Unit Testing C Code in CLion.Versioning Multiple Micro-Services in a Monorepo using Maven.Upcoming speaking engagements – May 2023.I really appreciate the fact that AWS support C#, but there’s more to that, right now we use C# to write Lambdas and use DynamoDB and it just works – and it’s still amazes me. Var nameTag = tags.SingleOrDefault(tag => tag.Key = "Name") Public static string GetName(this IEnumerable tags) So I wrote another quick and dirty (extension) method: One thing I wish I had was the ability to get the resource name, I wish that subnets, VPCs and EC2s had the same interface but they don’t and in any case getting the resource name requires finding if they have a tag with key “Name” – which some don’t. Var describeEc2Response = ec2.DescribeInstances() Var describeSubnetResponse = ec2.DescribeSubnets() Var describeVpcsResponse = ec2.DescribeVpcs() At work I needed to find out the subnet of each virtual machine and so instead of using the AWS CLI I’ve decided to write a quick and dirty method(s) to do just that: The project opens with a simple sample that query AWS and prints all of the Region’s EC2 instances (that’s AWS speak for virtual machines). Once opened you’ll need to supply your access keys for your AWS IAM user, I’ve created a specific use using IAM that has read permissions for the relevant services, copied the keys and I was ready to go. For this post I’ll use AWS Console Project. There’s several project templates that would get you started using AWS services. NET Core (1.0 but still impressive).įirst you’ll need to download and install Visual Studio 2017 (any edition will do) then download the Preview of the AWS Toolkit for Visual Studio 2017 and you’ll be ready to go.Ĭreating a new project is easy just use File->New Project and you’ll see the new AWS project templates: The new toolkit helps develop AWS tools using C# and Visual Studio, create cloud formation templates and even write AWS Lambdas using. But with the lately C# support has been added as well.įor the last few months I’ve been using C# to develop tools and services for the AWS cloud, and so I was happy to discover last month that a prview for AWS Toolkit for VS2017 was just released. Amazon Web Services (AWS) was always supportive of Java, Node.js and Python.