.NET Core is a cross-platform, open source, and modular .NET platform for creating modern web apps, microservices, libraries and console applications. This release includes the .NET Core runtime, libraries and…
May 2018
While working on real time projects, we normally create so many intefaces, clasess and using unmanged resources like DB connection, files operation etc. To manage performance of the application these…
Read first part of this topic here. Coupling Coupling is the measure of the degree of interdependence between modules. Two modules with high coupling are strongly interconnected and thus, dependent on…
Cohesion and Coupling are essence of good design process. System should be decomposed into many modules to make it managable in system changes. Projects which are well designed are rarely…
- Architecture
Choosing Between Traditional Web Pages and Single Page Application
by Dhanik Lal Sahni May 2, 2018We have two approaches to build web applications in current time: Traditional web applications and Single page applications (SPAs). Traditional web applications perform most of the application logic on the server side whereas single page…
The Liskov Substitution Principle states that subtypes must be substitutable for their base types. In order to substitute work, child class must not Remove base class behavior Violate base class…
Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification. According to this principle, component should be Open to ExtensionNew behavior can be added in…
According to Wikipedia the Dependency Inversion Principle (popularized by Robert Martin) states that: High Level Modules should not be depend upon low level modules. Both should depend upon abstractions. Abstraction…
- Architecture
Understanding Single Responsibility Pattern – Problem and It’s Solution
by Dhanik Lal Sahni May 2, 2018SRP states, “An object should have only one reason to change”. If an object has more than one reason to change then it has more than one responsibility and is…
- Architecture
Understanding SOLID Design Principles using real objects
by Dhanik Lal Sahni May 2, 2018SOLID is collection of best-practice,object-oriented design principles which can be applied to your application design. This allow us to accomplish various desirable goals such as loose-coupling, higher maintainability. SOLID is…