Topics Search

Performance Impact of Using Spring.NET Dependency Injection

Performance Impact of Using Spring.NET Dependency Injection
Views: 173
Looking to start using Spring.NET to provide Dependency
Injection in your next project? In this article I will show the
performance impact of Spring.NET Dependency Injection and
compare it to performing the same functions natively.
Sponsored Links:

Similar posts...

 

ASP.NET MVC Dependency Injection using Windsor

ASP.NET MVC Dependency Injection using Windsor Icon
In this tip, I will demonstrate how to extend ASP.NET MVC Behaviour using Windsor as Dependency Injection/Inversion of Control container. Windsor is one of many libraries used for Dependency Injection. It's easy to setup and use. To create ASP.NET MVC application, select ASP.NET Web application in project template and name the application WindsorMvcDemo. Click OK to create the application.
 

Dependency Injection with Simple Injector

Dependency Injection with Simple Injector Icon
Before some I have written a blog post about how to do dependency injection with StructureMap. In this post we are going to learn Simple Injector IOC library and how we can do dependency injection with Simple Injector. Simple Injector is a open source dependency injection library developed with C#. Followings are few characteristics of Simple Injector.
 

Dependency Inversion Principle, Inversion of Control & Dependency Injection

Dependency Inversion Principle, Inversion of Control & Dependency Injection Icon
In this article we will talk about the Dependency Inversion Principle, Inversion of Control and Dependency Injection. We will start by looking at the dependency inversion principle. We will then see how we can use inversion of control to implement dependency inversion principle and finally we will look at what dependency injection is and how can it be implemented.
 

Dependency Injection and Services in MVC

Dependency Injection and Services in MVC Icon
This is the fourth in a series of articles that explores ASP.NET Core by reconstructing the Visual Studio 2015 Web Application template from an Empty template. This article looks at the role of services and the new ASP.NET Core dependency injection system. The series of articles has been developed using Visual Studio RTM and ASP.NET Core Beta 6. It will be kept updated along with newer releases.
 

IOC Container For .Net -Unity, Ninject, Autofac at a glance

IOC Container For .Net -Unity, Ninject, Autofac at a glance Icon
DI (Dependency Injection) or IOC (Inversion of control) basically used to manage dependency in our applications. Both the terms DI and IOC will denote the same things it is basically used for creating dependency and inject whenever it is required. This is very help ful when we are going to make thing tightly coupled to loosely coupled. There are many IOC container available but the Unity, Ninject and Autofac are the three most common and popular container are used in .Net.
 

Dependency injection with AutoFac

Dependency injection with AutoFac Icon
ASP.NET5 comes with inbuilt dependency injection framework. This post is about using Autofac DI framework instead the in built DI framework. You can find more details about ASP.NET5 DI Framework in ASP.NET5 DependencyInjection respository. And you can find more details about Autofac in Autofac documentation...
 

Generic Multi Purpose .NET Layered Framework

Generic Multi Purpose .NET Layered Framework Icon
I started .NET development in the early days of the .NET framework (going back as far as the 1.0 release in 2002). While in those days concepts like SOC (Separation Of Concerns) , loosely coupling through interfaces, programming to an interface, not an implementation and Inversion Of Control (IOC) through Dependency Injection (DI) weren't hot topics (in those days we were mostly busy with fighting the "DataSet"), I already started thinking about separating the logic into distinct layers (logical). Although these days you will find a lot of information on this concept, finding a well elaborate example isn't simple.
 

Check .NET Application Performance Using Performance Optimization

Check .NET Application Performance Using Performance Optimization Icon
In this article you will learn how to check .NET application performance using Performance Optimization. Performance optimization is very subjective and it depends upon multiple factors like application architecture, design and way of their implementation (coding). Before taking any action, first need to check area of improvements and only then change can be done based upon their requirement.
 

Reducing Controller dependencies with generic factories

Reducing Controller dependencies with generic factories Icon
Reducing Controller dependencies with generic factories Article examining one approach to reducing controller dependencies in an ASP.NET MVC application by using generic factories. For those of us new to Dependency Injection, a common question to ask is: "How many dependencies is too many?" Coupled with, and soon following this question, comes: "How can I reduce this number?"
 

Optimizing ASP.NET Web application performance through Bundling and Minification Part-1

Optimizing ASP.NET Web application performance through Bundling and Minification Part-1 Icon
In this article I am going to cover Bundling part. Bundling helps us to minimize the number of HTTP requests sent from browser to improve ASP.NET web page performance. Minification will be covered in Part-2. ASP.NET 4.5 framework introduced some of the new features to improve the performance of web sites, Bundling is one of those which is provided in library System.Web.Optimization.