In MongoDB, a multi-document transaction allows you to perform multiple read and write operations on multiple documents within a single transaction. This ensures the atomicity, consistency, isolation, and durability (ACID) properties of the transaction. In this article we will see it with an example.
Views: 995
Comments: 2
Like: 1
Posted On: 08-Jul-2023 04:33
Rahul M...
Teacher
4822 Points
23 Posts
Authentication is the process of identifying a user or client making a request to our application. Authorization is the process of determining whether a user or client has access to a specific resource or functionality within our application. In this article we will see how to authenticate and authorize ASP.NET API endpoint by using JWT token. And we will use ASP.NET Identity framework to store user credentials in an SQL server database, and we will use Entity framework and Identity framework for database operations. Also, we will be donwload project files from the article download link.
Rahul M...
Teacher
4822 Points
23 Posts
In .NET Core, both filters and middleware can be used to add additional functionality to an HTTP request pipeline. However, there are some differences between the two. In this article we will see uses and differences between them.
Views: 6472
Comments: 3
Like: 4
Posted On: 28-Mar-2023 21:00
Rahul M...
Teacher
4822 Points
23 Posts
The well-known HttpClient class can be easily used, but in some scenario, it isn't does not work properly. Although HttpClient class implements IDisposable even declaring and instantiating it within a using statement is not preferred because when the HttpClient object gets disposed of, the underlying socket is not immediately released, which can cause to a socket exhaustion problem.
Views: 1014
Comments: 0
Like: 0
Posted On: 02-Mar-2023 03:36
Rahul M...
Teacher
4822 Points
23 Posts
In this article, we will solve complex aggregation with three collections. These three collections are having relationship as many-to-one-to-one. We will see uses of different pipelines like - $lookup, $unwind, $group, $replaceRoot and many more using MongoDB.Driver.
Views: 6995
Comments: 1
Unlike: 4
Posted On: 30-Aug-2021 05:40
Rahul M...
Teacher
4822 Points
23 Posts
Microsoft released .NET 5.0 on 10th November, 2020. It's major release .NET family and an unification of .NET and .NET Core Frameworks. It's big release that the next release after .NET Core 3.0. .NET 5 is the next step forward with .NET Core. There will be now one .NET going forward, and we will be able to use it to target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly and more.
Views: 1689
Comments: 0
Like: 1
Posted On: 17-Feb-2021 05:25
Rahul M...
Teacher
4822 Points
23 Posts
The ForeignKey attribute is applied to configure a foreign key in the relationship between two entities in EF 6 and EF Core. It overrides the default behavior. As per the default behavior, EF treats a property as foreign key property when its name matches with the primary key property of a related entity.
Views: 5083
Comments: 0
Like: 1
Posted On: 05-Jan-2020 00:41
Rahul M...
Teacher
4822 Points
23 Posts
.NET Core version 3.0.0 was released September 23, 2019 which includes many improvements, including adding Windows Forms and WPF, adding new JSON APIs, support for ARM64, and improving performance across the board.
Views: 2092
Comments: 0
Like: 0
Posted On: 05-Oct-2019 23:34
Rahul M...
Teacher
4822 Points
23 Posts
Dependency Injection (DI) is a software design pattern that is a technique for achieving Inversion of Control (IoC) between classes and their dependencies. According to IoC, the direction of dependency within the application should be in the direction of abstraction, not implementation details. Dependency Injection (DI) makes loosely coupled application that provides greater maintainability, test-ability and also re-usability. ASP.NET Core has built-in support for dependency injection (DI).
Views: 2218
Comments: 0
Like: 2
Posted On: 04-May-2019 01:45
Rahul M...
Teacher
4822 Points
23 Posts
A Countdown Timer is used to show how much time left from an event. Say we have an event which is going to start after two days. A Countdown Timer will display a counter saying days , hours , minutes and seconds left for the event to happen or the campaign to end. Earlier, I had written a blog on this with single event but now I'm exploring it with multiple events in single page.
Views: 3763
Comments: 0
Like: 0
Posted On: 02-Feb-2019 21:26
Rahul M...
Teacher
4822 Points
23 Posts
 Log In to Chat