AWS Developer Blog

Category: .NET

Introducing the ASP.NET Core Identity Provider Preview for Amazon Cognito

Yesterday we announced the general availability of the Amazon CognitoAuthentication Extension Library, which enables .NET Core developers to easily integrate with Amazon Cognito in their application. We want to further simplify the integration process into ASP.NET Core, so today we’re releasing the developer preview of the custom ASP.NET Core Identity Provider for Amazon Cognito. Targeting […]

Read More

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 […]

Read More

.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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More