Author: Ozkan Oner

SQL Cache Dependency with SqlDataSource

To enable a cache dependency on a particular database, run this command in from a command-line prompt: This creates a new table, AspNet_SqlCacheTablesForChangeNotification, in the designated database. Next, several AspNet_SqlCacheXxxx stored procs are created...

Dependency Inversion Principle

Lets explain this principle with an example. For instance you have an e-commerce site. There are many methods, classes, etc. that do all e-commerce transactions on your site. However, let’s say you do the...

Interface Segregation Principle

The principle, which we can translate as the interface separation principle, asks us to make logical distinctions within the interface. In short, it means forcing classes to implement methods that they will not use....

Liskov Substitution Principle

It would be more logical to proceed by giving an example rather than making a definition on this subject. When the definition is made, scary and meaningless things can come out. For example, let’s...

Open-Closed Principle

As usage; It tells you not to make changes to your existing code because when you make changes, there is a possibility of making changes to the classes derived from the class you changed....

Single Responsibility Principle

The single responsibility principle states that each class in the program should have a single purpose. If a class has more than one purpose, it is likely to be used in more than one...

SOLID Principles

In object-oriented computer programming, SOLID is a mnemonic acronym for five design principles aimed at making software designs more understandable, flexible and maintainable. The principles were first introduced in 2000 by American software engineer...