How to use Attribute Routing in ASP.NET MVC 5

How to use Attribute Routing in ASP.NET MVC 5

In this tutorial, we will learn how to use attribute routing in ASP NET MVC 5. We will create an actual project and then enable and apply attribute routing. This way, we can understand how attribute routing can help us control our website’s structure. What is Routing in MVC? Routing maps URL to an Action … Read more

Encapsulation in CSharp

C# encapsulation

The process of encapsulating one or more elements within a physical or logical container is characterized as encapsulation. Encapsulation prohibits access to implementation details in object-oriented programming. C# also has a feature called abstraction, which is related to encapsulation. Abstraction is a technique for concealing undesired information. Encapsulation, on the other hand, is a way … Read more