.net - WAS hosting a WCF service with net.tcp binding -


I am trying to publish a calculation service on a group of computers that will be used by an application server. Calculation servers are clutterous and need to be able to do asynchronous callback, so I want to use per-session settings via TCP.

The service application was created in VS2008 by using the WSF service application type of project.

It is so that the calculation service machine is running Vista, so I have read that according to the documentation I should be able to use WAS hosting. I am trying to follow Microsoft's instructions on this topic:

But I'm getting worried in a hurry to get the virtualization of my application Want to insert the .svc file into the directory. But since I am not using IIS hosting, how do I create a virtual directory? The documents above are not clear on this.

In addition, when trying to run the command which allows net.tcp to enter my application:

 % windir% \ system32 \ Inetsrv \ appcmd The .exe set app "Default Web Site /  

I do not know that & lt; Wcf application & gt; To recall, a former step is missing where an 'IIS hosted-like' method publishes the service.

I have created a test application that tries to consume the service when I click on "Add Service Reference" then it detects my service, but using net.tcp Can not connect.

Is there any success in hosting any host and taking a service here? Do you have any signs for me?

UPDATE: Now I have tried to add net.tcp binding to the website using IIS Manager (right click -> edit bindings ...) but only add one available protocol. The dialog is http and https that does not have any net.tcp in that list and of course, I have installed non-HTC activation components ... very weird.

Since is part of IIS architecture You need to create a virtual directory in an IIS website (for example, 'Default Web Site') which points to the physical location of hosting the WCF service. After this you will have to create an app on that virtual directory, such as for an ASP.NET website, or ASMX web service.
You IIS 7 Management Console

You can read Description about how WAS works in IIS7.
For more step-by-step see the guide for WAS hosting.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -