Skip to main content

Home/ ASP.Net MVC/ Group items tagged Dependency

Rss Feed Group items tagged

Wicked Tunez

Dependency Injection in ASP.NET Web API using Autofac - Shiju Varghese's Blog - 2 views

  •  
    Maybe it is time to change from Castle Windsor IoC to Autofac. 
Jacques Bosch

Implementing resource oriented controllers in ASP.NET MVC - Pablo M. Cibraro (aka Cibrax) - 2 views

  •  
    "One common problem with the naming convention and default routing mechanism in ASP.NET MVC is that we tend to group actions in a controller for sharing an URL space. This basically leads to complex controllers with a lot of unrelated methods that break the SOLID principles. Too many responsibilities in a simple class affects maintainability in the long run and causes secondary effects that complicates unit testing. For example, we usually end up with class constructors that receives too many dependencies as it is discussed here in SO."
Jacques Bosch

ASP.NET MVC3 Razor Script Loading Tips - Kazi Manzur Rashid - 1 views

  •  
    "Lately, I have been playing with few JavaScript frameworks and in today's modern web applications it is very common that we are including tons of JavaScript files in our application. One of the thing that plays important role in application performance is how fast these script files are delivered into the browsers. I have extensively blogged on combining, compression and caching of JavaScript files in my old blog, in this post I will show you, how you can achieve parallelism in delivering the scripts in the browser with the Head JS library. If you do not know what parallel script downloading is and how does it impact on page speed, then I would suggest to read this article of the YSlow creator. In short, when a browser encounters a script tag in a page it halts its rending until it downloads the script file, the parallelism is actually archived by adding the script dynamically or by XHR depending upon the browser it is running."
Jacques Bosch

Using Deferreds in jQuery 1.5 | Eric Hynds - 1 views

  •  
    "Deferreds, new in jQuery 1.5, decouple logic dependent on the outcome of a task from the task itself. They're nothing new to the JavaScript scene; Mochikit and Dojo have implemented them for some time, but with Julian Aubourg's AJAX rewrite landing in 1.5, deferreds in jQuery was the logical next step. With deferreds, multiple callbacks can be bound to a task's outcome, and any of these callbacks can be bound even after the task is complete. The task in question may be asynchronous, but not necessarily. "
Peter Munnings

Before you use an IoC tool, some concepts to know first | Jeremy D. Miller - 0 views

  •  
    Di Concepts
  •  
    This is a great article on Dependency Injection and what it means
Jean-Paul Malherbe

Jasmine: BDD for your JavaScript - 1 views

  •  
    Jasmine is a behavior-driven development framework for testing your JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.
1 - 9 of 9
Showing 20 items per page