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
    1. Advertising

  2. RK RK

    Mr. Arnold Guest

    RK RK wrote:
    > 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?
    >
    >
    >


    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
    #2
    1. Advertising

  3. RK RK

    RK RK Guest

    I am looking for more towards the different kinds of project
    templates.

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


    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
    rk2k09






    On Feb 2, 3:51 pm, "Mr. Arnold" <> wrote:
    > RK RK wrote:
    > > In general we createWCFService Library Project with all available
    > >WCFServices, then create new WebSite Project of theWCFService to
    > > hostWCFservices onIIS.

    >
    > > I am new toWCFwould like to know what happens if we create just the
    > > website project (ofWCFService)  create various services underneath?

    >
    > What kind of services are you talking under theWCFservice? You can
    > have as manyWCFservices as you want in a project as long as they are
    > using different TCP ports.
     
    RK RK, Feb 4, 2010
    #3
  4. RK RK

    Mr. Arnold Guest

    RK RK wrote:
    > I am looking for more towards the different kinds of project
    > templates.
    >
    > In general when we host WCF on IIS 6/5.1
    > 1. Create new WcfService Library project, then add all WCF
    > Services.


    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.

    > 2. Create new WebSite(of WCFService) project to host the WCF
    > Service.


    Yeah, you can do that.
    >
    >
    > 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.


    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
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JDeats
    Replies:
    1
    Views:
    596
    Mr. Arnold
    Jun 8, 2009
  2. Simon
    Replies:
    0
    Views:
    1,027
    Simon
    Oct 13, 2009
  3. Cindy Lee
    Replies:
    1
    Views:
    2,129
    Mr. Arnold
    Mar 19, 2010
  4. GaryDean

    Hosting WCF on IIS

    GaryDean, Sep 23, 2008, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    204
    Alex Meleta
    Sep 24, 2008
  5. teo1991
    Replies:
    0
    Views:
    607
    teo1991
    Apr 2, 2009
Loading...

Share This Page