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.
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. Challenges to
overcome
Call AWS services
from .NET code
Run .NET code on the
AWS cloud
Reduce development
pain
Reduce production
management
overhead
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 ...
8. What if I told you can use your favorite IDE?
With AWS Tools for Visual Studio – you can!
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
11. If there was a way to run .NET on Linux Machines…
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. 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
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
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