Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8651451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:04:36+00:00 2026-06-12T14:04:36+00:00

I got an old (2008) three layered back office system: Web service layer; asmx

  • 0

I got an old (2008) three layered back office system:

  • Web service layer; asmx type web services. Probably made from the “ASP.NET Web Service Application”- template
  • Business layer; I don’t want to touch this.
  • Data layer; A mess. All sorts of data access.

My goal is to clean up this, write some unit tests etc.

For a start; Is it possible to add an IoC-container. Where should it initialized? The project is currently running on .NET Framework 3.5.

Ivar

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:04:37+00:00Added an answer on June 12, 2026 at 2:04 pm

    Have found good article for you

    http://ruijarimba.wordpress.com/2011/12/27/asp-net-web-services-dependency-injection-using-unity/

    In short words:

    1. Set up DI/IoC container in global.asax.cs and have their Container property to access your DI/IoC container

    2. Resolve your dependencies or build container in constructor of your service, or create a base class as the example shows

    3. Optionally when you need you can resolve your dependency from container a-la “Service locator”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got back on an old project and I ran the nice git status
I got some old JSP web project at work that I am trying to
We've got an old legacy win32 service, developed with C++, and we've just recently
I got an old injector which was made by me in Delphi 7 and
So we've got some old-school Firefox extension code that uses the DOM3 methods get/setUserData()
I've got an old application that has user passwords stored in the database with
I've got some old Windows executable files. How can I edit them with Visual
I've got an old RRD file that was only set up to track 1
I got a new mac since the old one crashed and was trying to
i got an webserver running and old version of gambio (xt:commerce fork). The error_log

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.