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

  • Home
  • SEARCH
  • 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 4258042
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:35:46+00:00 2026-05-21T05:35:46+00:00

A WCF service named Portal.WebServices.TaskListService uses a codebehind file TaskListService.svc.cs . In this file

  • 0

A WCF service named Portal.WebServices.TaskListService uses a codebehind file TaskListService.svc.cs. In this file declare a type named TaskListService that inherits from the type TaskListServiceBase. and implements an interface named ITaskListService. So:

TaskListService: TaskListServiceBase, ITaskListService

   ^                     ^                  ^   
   |                     |                  |
 application               separate assembly 

I want to deploy the TaskListService once on the webserver and put TaskListServiceBase and the interface into a separate assembly that is referenced by the application that hosts TaskListService. So when I want to add, remove or update functionality in the web service I only have to copy the new assembly into the application’s bin folder.

Since this happens during runtime I wonder if there are any penalties or caveats for this practice (besides of the use of compile time constants etc), or if this scenario is even possible, or if there are better practices for doing this.

So basically, my question is: I want to update functionality to a WCF service without redeploying the whole application, only the assembly that is updated

(yes I feel a bit stupid here)

  • 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-05-21T05:35:47+00:00Added an answer on May 21, 2026 at 5:35 am

    The separation of interface and base class in another assembly is possible and correct (Separated Interface is a pattern describing this for just interfaces, and the same pattern applies for base classes).

    Regarding the deployment, you can do that as the assemblies are shadow-copied by IIS. However, once the new assembly is copied, I assume you have to recycle the application so the new assembly is loaded.

    I did this manually for a Windows Service, that launched a separated AppDomain with shadow copy enabled, so I could remotely update an assembly and force a restart of the service.

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

Sidebar

Related Questions

I have a simple IPC mechanism that uses WCF and named pipes. My goal
I have a WCF service and a client, that uses a custom UserNamePasswordValidator for
My WCF Service uses wsHttpBinding and works fine from the client when the service
I have a WCF service that I have to reference from a .net 2.0
I've build a WCF Service to accept a file and write it to disk.
We have an existing WCF service that makes use of wsDualHttpBinding to enable callbacks
I have a windows service that hosts the main WCF service. The clients for
I'm designing a WCF service that will return a list of objects that are
i created a WCf service with a method that can receive GET requests using
I have a ASP.NET MVC 2 application with WCF service defined in it (.svc

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.