Proof of Concept: a simple DI solution for ASP.NET WebForms(blogs.msdn.com)

submitted by schalkvanwykschalkvanwyk(1335) 3 years, 7 months ago

Building a simple, reusable Http Module that gives folks DI scoped to the Application, Session, and Request. List of requirements (scaled to just the application level) that looked sort of like this: Create a DI container for the application Create a way to get to the container ( we choose an extension method on the Application class) Allow a way to configure the container Allow DI to work for pages Allow DI to work for user controls Allow DI to work for master pages Allow DI to work for ASMX web services Allow the above functionality in a simple and self contained way

add a comment |category: |Views: 26

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story