AWS Developer Tools Blog
Category: Programing Language
Now generally available: Amazon CognitoAuthentication Extension Library
We’re excited to announce the general availability of the Amazon CognitoAuthentication Extension Library! The general availability release adds security, improves performance, and fixes bugs to the previously available developer preview. This library simplifies the authentication process of Amazon Cognito user pools for .NET Core and Xamarin applications, and targets .NET Standard 2.0. Amazon Cognito user […]
.NET Core configuration provider for AWS Systems Manager
Today, we released a new NuGet package, Amazon.Extensions.Configuration.SystemsManager. This NuGet package simplifies how your application loads the application configuration settings in the AWS Systems Manager Parameter Store into the .NET Core configuration system. Configuration in .NET Core is quite different from what we’re used to in the .NET Framework. With the .NET Framework, we had […]
AWS SSM ASP.NET Core Data Protection Provider
The antiforgery framework is a critical part of ASP.NET Core. It ensures web forms and login pages haven’t been tampered with by storing crypto data with the form and then validating the form with a key created by the Data Protection framework. An ASP.NET Core Data Protection Provider is the building block that provides encryption […]
AWS Serverless applications with multiple .NET Core projects
When building a serverless application on AWS, AWS CloudFormation is incredibly important for deploying your AWS Lambda functions and the AWS resources that your application will interact with. With our AWS .NET Core Lambda tooling, when you create a serverless application an AWS CloudFormation template is added to your project. The template enables you to […]
Debugging .NET Core AWS Lambda functions using the AWS .NET Mock Lambda Test Tool
How to debug AWS Lambda functions is one of the most common questions we get from developers creating Lambda functions for .NET Core. The best practice is to write repeatable and automated tests to ensure that your functions stay correct as you make changes to them using frameworks like xUnit.net. The programming model for Lambda […]
New AWS SDK for JavaScript – Developer Preview
We’re happy to announce the developer preview of the AWS SDK for JavaScript, version 3. This version of the SDK is a major rewrite of the 2.x code base. It’s written in TypeScript and adds frequently requested features, like modularized packages. Many aspects of the SDK have been refactored and cleaned up in addition to […]
Working with dependency injection in .NET Standard: inject your AWS clients – part 2
In part 1 of this blog post, we explored using the lightweight dependency injection (DI) provided by Microsoft.Extensions.DependencyInjection. By itself, this is great for libraries and small programs, but if you’re building a nontrivial application, you have other problems to contend with: You might have complex configuration needs (development versus production, multiple sources, etc.) How […]
Working with dependency injection in .NET Standard: inject your AWS clients – part 1
Dependency injection (DI) is a central part of any nontrivial application today. .NET has libraries like Ninject for implementing inversion of control (IOC) in their development and, as of .NET Core 1.0 (specifically, .NET Standard 1.1), lightweight DI can be provided by Microsoft.Extensions.DependencyInjection. This was used primarily in the context of developing .NET Core web applications, but it can be […]
DateTime serialization changes in the AWS SDK for .NET and AWSPowerShell modules
Summary: This blog post describes best practices for using DateTime values in distributed .NET programming. It also highlights some of the recent, related changes in the AWS SDK for .NET and the AWSPowerShell modules. Today, it’s increasingly common to write code that interacts with external systems, and it’s very likely that these systems won’t share the […]
Creating a PowerShell REST API
With the recent AWS Lambda support for PowerShell, it’s now easy to make web APIs with Amazon API Gateway that execute your PowerShell scripts. In the previous blog post, we showed how to deploy PowerShell-based Lambda functions with AWS CloudFormation. We are going to reuse that technique in this post because using AWS CloudFormation is […]