Rahul Nath
89 FOLLOWERS
I am Rahul. I am a programmer, blogger, youtuber and enjoy running. Blogs are usually technical and about life in general.
Rahul Nath
1M ago
In this post let's explore step-by-step how to deploy an ASP NET Web API application to AWS Elastic Beanstalk. We will use the Visual Studio Toolkit to deploy the application and create multiple environments ..read more
Rahul Nath
1M ago
Amazon Relational Database Service (RDS) is a managed database service on AWS Cloud. RDS provides different database engines; in this post, we will focus on SQL Server. We will set up a Microsoft SQL Server database on RDS and connect to it from a .NET application ..read more
Rahul Nath
1M ago
Amazon DynamoDB Transactions simplifies the developer experience of making all-or-nothing changes to multiple items within and across tables. In this post, let's learn about TransactWriteItems and how to use them when building .NET applications ..read more
Rahul Nath
1M ago
Canceling a long-running process from a UI form doesn't mean the server has stopped processing the work. Let's learn how to use AbortController and CancellationTokens to help cancel a task all the way down when building ASP NET applications ..read more
Rahul Nath
1M ago
Let's learn some of the core concepts of ECS, while deploying an ASP NET Web API application on Amazon ECS using Fargate. we will explore some key components of ECS, including task definitions, tasks, services clusters, etc ..read more
Rahul Nath
1M ago
Let's learn how to leverage Amazon EC2 to host your .NET applications. In this post, we will learn how to create an EC2 instance, set it up with .NET runtime, upload your .NET application, and run it from there ..read more
Rahul Nath
1M ago
Enumeration of collections has been the bread-and-butter of many programs.
But what if we could enhance this familiar concept with asynchronous capabilities?
That's precisely what .NET Async Enumerable does.
In this post, let's explore how C# combines 'yield return' with 'async' and 'await' to create efficient asynchronous data streams and how 'await foreach' lets us effortlessly consume them.
For the demo, I will show you a simple console application that looks through rating files stored in an Amazon S3 bucket to find the first n number of x-star ratings for a given product.
We will examin ..read more
Rahul Nath
2M ago
Amazon S3 versioning is a powerful feature that allows you to preserve, retrieve, and restore every version of every object in your bucket.
Versioning is crucial for protecting against accidental deletions, maintaining audit trails, and implementing robust data retention strategies.
In this post, let’s explore S3 versioning and how to use it when building .NET applications.
We will first explore a simple Create Read Update and Delete API over S3 and see how turning on versioning on S3 changes some of the behaviors and advantages you get.
AWS sponsors this post, and it is part of my AWS Series ..read more
Rahul Nath
2M ago
Bundling files into a zip archive for downloading via an API endpoint is a common requirement for many applications.
In this post, we will learn
Bundle files into a ZIP archive
Send ZIP files over an ASP NET API endpoint.
We’ll explore two approaches: the first is simple but inefficient, and the second, with only a few extra lines of code, dramatically enhances the download experience and overall application performance.
For the demo, I’ll store the files in Amazon S3, which I will retrieve, zip, and send back to the user. The same approach applies if you’re streaming files from a disk or ..read more
Rahul Nath
2M ago
.http files provide an easy way to invoke API endpoints without leaving your IDE.
Both Rider and Visual Studio IDE has built-in support for this.
In this post, let’s
learn about .http files
create and update .http files
send HTTP requests in .http files
support different environment config
Manage sensitive information in config
I will use an API built over AWS DynamoDB, and AWS Lambda to host the API.
However, using .http files is not limited by where and how you decide to host your APIs as we will see in this video.
Thanks to AWS for sponsoring this post.
What are .http Files?
.http files ..read more