The next version of c# contains many useful features.These new features will help us to perform the common tasks and to remove the boilerplate code. “Using” Statement for static class members In the prior versions of visual studio whenever we need to use a static member of a class we need to fully qualify the member […]
Dependency Injection in .Net
Dependency Injection in .Net helps developing decoupled applications. In the software development world of today the emphasis is on applying good design principles and patterns.Applying software principles while developing an application results in less overhead in the long term. After all the maintenance phase is one of the most expensive phases in the software life-cycle. One of […]
Views in MVC
In the last articles we looked at the roles and responsibilities of Controller and Routing in MVC application.View is another component which is an important part of any MVC application.It is one of the pillars of Model View Controller framework. Views in MVC have a very specific responsibility, to generate the result ,which is mostly HTML, for the […]
Routing in MVC
As we have seen in the last article , Controller in MVC application is the component which takes care of the user input ,as well as defines the application logic.It performs operations on the model and then selects the view to render. Routing has it’s own specific responsibility.It acts as the interface between the clients […]
Controller in MVC
Controller is one of the most important component in an MVC application since it acts as a coordinator between the view and the model and also handles the users requests.The user’s request is received by the controller which requests the model to perform different CRUD operations ,based on the request, and then decides the result to return […]