+ Reply to Thread
Results 1 to 2 of 2

Thread: is IIS necessary for WCF ?

  1. #1

    is IIS necessary for WCF ?

    I have windows XP and the question is : can i run WCF Service without using IIS ?

  2. #2
    Junior Member
    Join Date
    Jan 2012
    Posts
    15
    Actually you can , simply check the following MSDN link as it may contain important information about your question , and here is a quick way to do that in case you don`t want to follow the MSDN link , simply import System.ServiceModel.ServiceHost and then add the following code :
    Code:
    IMyContract instance = new MyService();
    var host = new ServiceHost(instance, "net.tcp://localhost:1234/MyEndpoint");

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts