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 568563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:12:06+00:00 2026-05-13T13:12:06+00:00

First a bit of background: We have a growing RESTful service layer supporting web

  • 0

First a bit of background:

We have a growing RESTful service layer supporting web pages, gadgets and now the iPhone.

These have been implemented in WCF using WebServiceHostFactory to expose JSON and XML endpoints, and we now have a nice backend for easily adding new REST endpoints for other areas of the business after a process of factoring out to patterns etc.

We’ve also made an authentication service layer which runs through WCF, incorporating also message inspectors etc to secure any WCF service called from any client.

Finally, we’ve also just finished building a proto of a multi-tenant version of our site that we can market to others. It runs on MVC 1.0 and incorporates custom view engines, a controller factory etc so that we can rebrand any part of the site (controls, pages, master pages, css, images and controllers) for a given brand whilst sharing anything that’s common between them.

On to the question 🙂

So, now I want to see if I can port the WCF services we’ve written into the multi-branded website. What I want to do is to fire up a server-side request to an SVC service programmatically, i.e. spark up the WCF pipeline, in the same way that the WebFormViewResult manually hits the Asp.Net BuildManager and calls ProcessRequest on an Asp.Net page. Clearly I’ll need to write a new ViewResult class (I’ll need a custom viewengine as well, but let’s leave that!).

Any ideas on how I could go about creating this? What’s the BuildManager equivalent for WCF?

I’m thinking I’d have a special route defined for the .SVC pipe-through that allows me to incorporate all the URL data (i.e. UriTemplate parameters) that the WCF service expects so I can ‘concoct’ the environment that WCF would typically see when it does it’s thing.

  • 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-13T13:12:06+00:00Added an answer on May 13, 2026 at 1:12 pm

    yay – I got a tumbleweed badge; something to tell the kids 🙂

    I didn’t intend it – but I guess my question might have been too long-winded and, well, strange 😉

    I am going to investigate whether or not you can launch the WCF pipeline programmatically..

    However, I think the answer is to use the URL rewriting module in IIS7 so I can virtualise the one service under all the different URLs that I’m gonna have.

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

Sidebar

Related Questions

First a bit of background. I have been working on the MS platform for
A bit of background first: I am using base code from a remote SVN
First off, there's a bit of background to this issue available on my blog:
First a bit about the environment: We use a program called Clearview to manage
First, to make my job explaining a bit easier, here's some of my code:
This is my very first question so I am a bit nervous about it
First, yes I know about this question , but I'm looking for a bit
I'm trying out Linq for the first time and having a bit of difficult
Currently, I am writing up a bit of a product-based CMS as my first
Posted a few answers on SO, but this is my first question :) Bit

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.