OWIN (Open Web Interface for .NET) is an interface between web servers and web applications that provides a unified way to handle HTTP-related functionalities such as authentication and authorization. In .NET Core, OWIN middleware can be used to implement authentication. To implement OWIN authentication in .NET Core, you’ll need to follow these steps: By following […]
Serializing and Deserializing JSON using Jsonconvertor in C#
JSON (JavaScript Object Notation) is a commonly used data exchange format that facilitates data exchange between web applications and servers. JSON is a human-readable and machine-readable format that is easy to read and write. In C#, the Newtonsoft.Json Nuget package provides the JsonConvert class, which can be used to serialize and deserialize JSON. This makes […]
What is CAP Theorem? | What is Brewer’s Theorem?
The CAP theorem is also known as Brewer’s theorem. Table of ContentsWhat is CAP Theorem?1. Consistency and Partition Tolerance2. Availability and Partition Tolerance3. Consistency and Availability What is CAP Theorem? CAP theorem is a fundamental concept in distributed computing that states that it is impossible for a distributed system to simultaneously guarantee all three of […]
SOLID -Basic Software Design Principles
Some of the Key factors that need to consider while architecting or designing a software solution is Reusability, Extensibility. Many times you might have gone through various tutorials on SOLID software design principles. Don’t mind… let me put it here again on my words and my understanding. The key behind any good software design is […]
What is Interface Segregation Principle (ISP) in SOLID Design Principles?
The Interface Segregation Principle (ISP) is one of the SOLID principles of object-oriented design. The interface Segregation Principle states that a client should not be forced to depend on methods that it does not use. In other words, the interface Segregation Principle says, a class should only expose the methods that are relevant to its […]
What is Single Responsibility Principle (SRP) in SOLID Design Priciples?
The Single Responsibility Principle (SRP), also known as the Singularity Principle, is a software design principle that states that a class should have only one reason to change. That is, by Single Responsibility Principle each class should have only one responsibility, and that responsibility should be entirely encapsulated by the class. The Singularity Principle is […]