Month: March 2016
-
How to Implement the Repository Pattern in ASP.NET MVC Application
Read full article on the Infragistics blog The Repository Pattern is one of the most popular patterns to create an enterprise level application. It restricts us to work directly with the data in the application and creates new layers for database operations, business logic and the application’s UI. If an application does not follow the…
-
How to Create a Custom Action Filter in ASP.NET MVC
Read full article on the Infragistics blog In ASP.NET MVC, Filters are used to inject logic at different levels of request processing and allow us to share logics across Controllers. For example, let’s say we want to run a security logic or a logging logic across the controller. To do so, we’ll write a filter…
-
Different ways of injecting dependency in an AngularJS Application
When you start learning the very first characteristics of AngularJS, you may come across something called Dependency Injection (DI): the premise that AngularJS injects dependencies whenever an application needs them. As a developer, our task is only to pass the dependency to the module and everything else will be taken care by AngularJS. To create…