Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Harnessing the power of aws using dot net


Published on

In the past AWS and C# seemed to belong to two different eco-systems. One was a leading cloud platform while the other a widely used, powerful programming platform.
Does it mean that a developer that needs to provide a solution in the cloud must choose between the two? Not anymore.
In this talk, I will show how to write C# code that runs in a dockerized container in the cloud or as an AWS Lambda and harness, the popular AWS services.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Harnessing the power of aws using dot net

  1. 1. Harnessing the power of AWS using .NET Core Dror Helper | | @dhelper Code Samples:
  2. 2. Consultant & software srchitect Developing software since 2002 Clean Coder & Test Driven Developer Pluralsight author B: T: @dhelper About.ME
  3. 3. Imagine a .NET project running in AWS… Migrate to Azure Install Windows Servers on EC2 Create your own Azure ServiceFabric cluster Re-write code in Linux friendly language
  4. 4. Challenges to overcome Call AWS services from .NET code Run .NET code on the AWS cloud Reduce development pain Reduce production management overhead
  5. 5. .NET and AWS? AWS SDK for .NETAWS Tools for PowerShell
  6. 6. AWS SDK for .NET AWSSDK.* family of assemblies NuGet package/MSI installer Provide APIs for AWS Services Additional utilities on top of AWS offering Supports .NET framework, .NET Core, Xamarin, Unity ...
  7. 7. Using AWS SDK in .NET
  8. 8. What if I told you can use your favorite IDE? With AWS Tools for Visual Studio – you can!
  9. 9. AWS Toolkit Create AWS projects Manage infrastructure on the cloud Coding samples and project templates Deploy to AWS Beanstalk, ECS and others And why you want to install it
  10. 10. AWS Toolkit & Visual Studio
  11. 11. If there was a way to run .NET on Linux Machines…
  12. 12. Next Generation Websites and Services High Performance Modular Compostable Framework Open Source Multi Platform Reuse existing codebase (& talent) ASP.NET Core .NET Core
  13. 13. AWS SDK & .NET Core • All methods are async • Add AWSSDK.Extensions.NETCore.Setup • Using the built-in dependency injection and middleware • Use appsettings.json for … AWS credentials and related settings • Develop serverless applications using ASP.NET Core
  14. 14. .NET Core microservice & AWS
  15. 15. AWS Lambda Introduced in 2014 Execution time < 5min Event driven You can use C#
  16. 16. AWS Lambda • No servers to mange • Always ready* Simplify tasks • Usage measured in seconds • Pay only for what you use Cost effective • Automatically & Continuously Scale workloads • Always ready • Fault tolerant High Availability
  17. 17. Working with AWS Lambda in C# Create Code Deploy Run
  18. 18. AWS Lambda write & deploy
  19. 19. Did you see what we’ve just made?
  20. 20. Conclusion: AWS & .NET Core Install the AWS Toolkit for Visual Studio Check out the Samples Use NuGet to add AWSSDK.* to your projects Run your code on Linux EC2 or in an container Write Lambdas & Serverless applications using .NET Core
  21. 21. Thank you  Dror Helper | | @dhelper Code Samples: