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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:12:09+00:00 2026-05-22T22:12:09+00:00

I hope that title is clear enough. I have 2 projects, MyProject.Website (ASP.NET MVC3

  • 0

I hope that title is clear enough.

I have 2 projects, MyProject.Website (ASP.NET MVC3 Front End) and MyProject.WcfService. When i host the website, i’d rather not have to host two websites inside of IIS, i’d like to be able to host just MyProject.Website and inside of that reference MyProject.WcfService.

I know i can do this via ServiceHost, which should work, but is there a better way?

  • 1 1 Answer
  • 1 View
  • 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-22T22:12:10+00:00Added an answer on May 22, 2026 at 10:12 pm

    Check this post where i demostrated how you can host wcf service dll

    Create, Host(Self Hosting, IIS hosting) and Consume WCF servcie

    IIS hosting

    1. To host same WCF library in your application create WCF Web application project using WCF web application.
    2. Delete the files created in the IService.cs and Service.cs file from App_Code folder
    3. Include WCF library *.dll file which we created.
    4. Open Service.svc file and modify the single line in it

      — <%@ ServiceHost Language=”C#” Debug=”true” Service=”WcfServiceLibrary.Service1″ %>

    5. Change the web service WEB.Config file to to expose service to client. i.e you need to create Same element as listed above in in the app.config file of service library.

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

Sidebar

Related Questions

I hope the title makes sense. I have a set of items that I
Ok, I'm not sure that my title was clear enough, but I will try
I have now 1gb ram at work(i hope that will change soon) and jboss
The title is pretty clear. My website consists of both English-written and Spanish-written versions.
I hope the title of this question is somewhat clear, I couldn't figure out
I try again to ask my question. I hope that this time it's clear
I have a feeling that the title just might not be explanatory :) Setup
Let's say I have a mini app that consists of title, thumb, lg_image, url
Hopefully the title of my question was clear enough. Here's a really simple version
i hope the title itself was quite clear , i am solving 2D lid-driven

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.