Hosting WCF WF in IIS7 (WF4.0) - wcf

I have a workflow created inside the WCF and now i want to host it in IIS. I am not sure how exactly to do it, can anybody provide me any pointers to some links or study material for doing this?

Here is a walkthrough: http://blog.newagesolution.net/2008/06/how-to-create-wf-as-wcf-service-hosted.html

Related

Deploying WCF Library

I am sorry in advance for the question because it should be so easy for someone who has web programming experience, but for me ...
I have created a WCF library which gets an email address, subject and body and sends email using a gmail account. I do not know how I can deploy it.
I already published it on my host using visual studio but don't know what URL should I use to call it. Can I use it directly or I have to create a WCFapplication and add the service to it then publish the WCF app?
Also, I noticed the base address in its config file is sth like: localhost/emailservice/service1 and I am not sure if I should edit it or not and how.
Your help is greatly appreciated.
Since you created a WCF library, I am assuming that you are open to host it as an IIS application or as a windows service.
Assuming that you wish to host your library as an IIS application, follow the steps mentioned in this blog to host your WCF service library.
Please note: If you intended to host your service as an IIS application, it would have been far easier for you to create a WCF service application project in Visual Studio instead of a WCF service library project.

How to access from the web a method of Windows Service?

i've created simple windows service which gets some xml information once in a hour. I want to have access to this xml information from a website. I know i should create WCF service for that but where do i host the WCF service same application as Windows Service or elsewhere?
If someone knows about blog post or tutorial how to make this work, i would be glad to know.
Thanks
Store your XML information in a database and have your website get it from there.
you can host wcf services inside a windows service if you want, just manually create a ServiceHost.

How to build a .NET client API for a WCF service

I have a .NET WCF service which is implemented in a hand full of of projects in VS2010. Is there any way I can create a new project which merges together all of the service contracts and operation contracts into one DLL to distribute to clients?
In short, I want to distribute a single DLL to clients to hit my WCF service.
I will provide more information if needed, but I'm a bit of a WCF noob.
thanks,
Mark
I think this is just the article you're looking for:
WCF the Manual Way... the Right Way (link)
It goes into detail on how to manually create proxies to do exactly what you're asking for.
Hope it helps!

Securing WCF web services over SSL

Anyone know of any good articles that describe how to accomplish this?
All you would usually have to do is set your binding to use transport security, then have IIS set for SSL. That is assuming your using a standard WCF binding and hosted in IIS.
You can google "wcf transport security" or see the main MSDN article: http://msdn.microsoft.com/en-us/library/ms733043.aspx
There is also this StackOverflow topic 425978/enable-ssl-for-my-wcf-service that shows a snipit of XML configuration.
If there is a more specific issue, then I can try to help further... Custom bindings or being self-hosted take a little more work.

Tutorial on Consuming a WCF service in ASP.Net web site?

I'm attempting to create my first WCF service.
I've created the service and now I'm trying to call it from a asp.net (vb) web site and I've tried adding a web reference to it and using the scvutil.exe to consume the service.
So far neither have worked. It's not letting me declare the service in my code. If someone could point me to a good tutorial on how to consume a WCF service in an ASP.Net web site that would be great.
I've found numerous on how to use them with AJAX or silverlight or windows apps but nothing on using it in just a plain old website.
Please see Beginner's Guide to Windows Communication Foundation. It's part of the WCF Developer Center on MSDN, which is full of good resources.
The link above is broken. Some other links I've found while searching for it:
Developing Service-Oriented Applications
Windows Communication Foundation
Conceptual Overview
Getting Started Tutorial
How to: Create a Windows Communication Foundation Client
Basic WCF Programming
Just add service reference, use the service reference as using "reference1.xxxx" and then use the client code.
That's all after the initialization. It works for me. Let me know if you require any help.