Hosting WCF on IIS??

Discussion in 'ASP .Net Web Services' started by RK RK, Feb 1, 2010.

  1. RK RK

    RK RK Guest

    In general we create WCF Service Library Project with all available
    WCF Services, then create new WebSite Project of the WCF Service to
    host WCF services on IIS.

    I am new to WCF would like to know what happens if we create just the
    website project (of WCF Service) create various services underneath?
    RK RK, Feb 1, 2010
    1. Advertisements

  2. RK RK

    Mr. Arnold Guest

    What kind of services are you talking under the WCF service? You can
    have as many WCF services as you want in a project as long as they are
    using different TCP ports.
    Mr. Arnold, Feb 2, 2010
    1. Advertisements

  3. RK RK

    RK RK Guest

    I am looking for more towards the different kinds of project

    In general when we host WCF on IIS 6/5.1
    1. Create new WcfService Library project, then add all WCF
    2. Create new WebSite(of WCFService) project to host the WCF

    My question is, what happens if I create ONLY Single Website project
    (it creates .svc file rite) and create WCF Services in the same
    project and associate them with .svc.

    Thanks in advance
    RK RK, Feb 4, 2010
  4. RK RK

    Mr. Arnold Guest

    I assume you mean you have a BLL or DAL Lib projects that is referenced
    by the the WCF project. Yeah you can do that.
    Yeah, you can do that.
    One WCF service can host multiple SVC(s) with their respective end points.

    You should be doing Project references in the solution for all projects
    in the solution.
    Mr. Arnold, Feb 4, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.