SOLID is an acronym for the five design principles.These design principles help create more maintainable and bug free applications.The five design principles in SOLID are: S stands for the Single Responsibility Principle O stands for the Open Closed Principle L stands for the Liskov Substitution Principle I stands for the Interface Segregation Principle D stands for […]
Archives for July 2015
Repository pattern in c#
Before implementing Repository pattern in C# ,it would be useful to first understand what is Repository Design Pattern.It is about how an application stores and retrieves data from the data stores which actually stores the application data. In a single line we can say “Repository pattern allows development of applications which are decoupled from the underlying […]
Dependency Inversion Principle
Any software application consists of numerous classes and the different classes provides different functionalities.So any object oriented application is composed of many classes which interact with each other to achieve the required functionality. If we look at the architecture of any application then we can easily find that there are high level classes and the low level […]
Interface segregation principle
Interface is used to provide the specification or the abstraction of the functionality .In other words it just defines the signature of the methods without any implementation details.Implementing classes are required to implement all of the methods declared by an interface. So if an interface contains five methods then any class which is implementing that interface will be […]
Posting json data using jquery ajax in MVC
JSON is a data exchange format which is commonly used to exchange the data between the web server and the web browser.In Fetching json data using jquery ajax in MVC we looked at how to fetch data using JSON from the MVC controller.Now we will see how to pass data in JSON format from the […]