In the final act, we shall fit all the pieces together to form the complete design and see how we can Assume Role and access the AWS resources such as DynamoDB, S3 or Cognito via AWS SDK with an example in ASP.NET Core API
The tokens which are issued by a Cognito User Pool are called Cognito User Pool tokens or CUP tokens. This token describes a user identity and helps any resource identify who's access it. In order to validate access to AWS resources, we require a different kind of a token called as the Cognito Identity Pool token or shortly CIP token.
In this article, let's look at how we can design an application which employs this concept of role-based resource access, deployed and running in AWS Cloud. We'll touch upon the important aspects and how we need to design our resource access policies for the users and how we let our application deployed in AWS get hold of the accessing user permissions and impersonate them for accessing the resources.
LINQ stands for Language-Integated Queries. LINQ is a technology that helps in using query capabilities and integrations in C# directly. The importance of LINQ in C# has increased tremendously with the introduction of Entity Framework as a powerful ORM for developing database interactive applications in .NET technologies.
In this article, let's look at how we create and work with background services and much more, by building a simple PostNotificationService that picks up the subscribed user email addresses and sends mails to them with a predefined content for a preconfigured schedule.
Let's look at how we can upload a simple file to S3 under the pretext of implementing a simple Form containing a file upload, all using ASP.NET Core.
Filters are components built into the ASP.NET Core which can help us in controlling the execution of a request at specific stages of the request pipeline. These come into picture post the middleware execution, when the MVC middleware matches a Route and a specific Action is invoked.
While the terminology might seem alien to us, but at its core its just a web service which returns data from its data source in a predefined XML schema called as RSS. In this article, let's build a simple endpoint in our ASP.NET Core WebAPI which can return RSS feed from a Posts database.
While Endpoint Routing replaces the MVC routing from ASP.NET 3.x on wards, it brings together a simple, yet powerful routing mechanism which complements every other middleware which relies on the routing information.
A Heap can be imagined as an array visualized as a nearly-completed binary tree. For a given Array A[0..N], any key at index i, can be imagined as a parent with its child nodes at 2i+1 and 2i+2 indexes respectively.