Chuck Conway
Chuck Conway

Reputation: 16435

Dependency Injection (Constructor) with WebForms?

Is this possible with ASP.NET 4.0? In 3.5 it was not.

If it still is not possible has anyone tried injection with a framework like LinFu?

Update

I'm specifically asking about constructor inject in ASP.Net webfroms. In 3.5 it was not possible.

Upvotes: 2

Views: 471

Answers (2)

Peter Mounce
Peter Mounce

Reputation: 4225

Would System.Web.IHttpHandlerFactory be what you're looking for?

Upvotes: 0

Chuck Conway
Chuck Conway

Reputation: 16435

Nothing new was added in ASP.Net 4.0 to enable constructor injection.

Upvotes: 1

Related Questions