Category: .Net

Check for palindrome in c#

Palindrome. Palindromes can be read in both directions. A palindrome has the same letters on both ends of the string. using System; namespace Demo { public class Program { /// /// […]

Dependency injection in Asp.net core

This article is intended to demonstrate the use of Dependency injection in Asp.net core. How easily we can achieve DI in asp.net core application.  I am assuming you guys have […]

Implement Repository pattern in .Net

   The intention of this post is to explain about the Repository pattern and how its useful in enterprise applications. Introduction Why use Repository Misconceptions Implementation Conclusion Source Code Introduction The repository […]

Exception handling interview questions and answers

Can we use multiple finally blocks inside the method? Yes, you can write the multiple finally block inside the method. For every try block, you can have finally. try { […]

State design patterns, when to use, pros and cons

The state design scheme is used to model changes in the state or state of an object by delegating the rules for such changes to individual objects representing each possible […]

Domain model in Domain driven design

Hello everyone, In this article, we will focus on the Domain model an foundation of Domain Driven Design. Domain Model is a term you will hear a ton of Domain […]

Alternatives ORM for Entity Framework

Entity Framework has come a long way since version 1. So much that it leapfrogged every other version up to version 7. With EF Core 2 out, I feel this gives […]

Multiple Ways to Build Routing in ASP.NET Core

Routing in Microsoft MVC or WebAPI applications serves as a map to define the routes for all incoming requests. There are three basic components of routing in MVC , WebAPI applications […]