locked
Hosting Workflow Service Files in IIS/AppFabric RRS feed

  • Question

  • Hi, i have some workflow service files (".xmalx") that is designed by rehosted designer. I want to host these files in IIS/AppFabric. And we will have some client apps (ASP.NET,Mobile,IOS,etc.) to use these services. I searched a lot and found using WorkflowServiceHost. But all the samples I found are programmed with Console Application. But we are designing an enterprise application, so it is impossible for us to use Console Application for hosting these workflow files. So where and how can i use WorkflowServiceHost and host workflow service files in IIS/AppFabric?

    Wednesday, August 29, 2012 8:28 AM

Answers

  • Hi,

    Are the XAMLX files workflow service files? Do they start with an activatig receive activity?

    If so...

    >>All i need is the App folder and saving the files in it?

    That should make the service available in IIS/AppFabric.

    >>Will these files start as a service automatically without any code?

    No, you will need to call the service endpoint from a client application.

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure

    • Marked as answer by Ekrem YRTMN Thursday, August 30, 2012 10:23 AM
    Wednesday, August 29, 2012 11:29 AM

All replies

  • Hi,

    If you have IIS/AppFabric installed, a regular application should benefit from the AppFabric features. You will have to configure persistance on the services. If you create a new WCF Workflow Services project in VS and deploy it to IIS you will see the application structue that is created. You should be albe to add your XAMLX filses there.

    To verify that AppFabric is working, you can check the workflow service monitoring in the AppFabric dashboard, you should see statistics for call counts.

    Regards,

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure

    Wednesday, August 29, 2012 9:54 AM
  • Firstly, thanks for your reply !

    I think this solution works perfectly in the design time of the application. No doubt about it! But the thing i want is that a workflow service file will be designed and saved with the rehosted designer, and then this ".xmalx file" will start as a service in the IIS/AppFabric on the fly. Design, Save, and Start the workflow service! Designing and saving is OK, but what about Starting the service programmatically??

    Wednesday, August 29, 2012 10:23 AM
  • Hi,

    I would look into usng an application to make a call to the service endpoint. It should be possible to hand-code a proxy that can make calls to new services, rather than creating the proxies from metadata.

    Regards,

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure

    Wednesday, August 29, 2012 10:27 AM
  • Making calls to new services can be done by the client apps with CreateChannel. But just to the "services in IIS/AppFabric". I know that.

    The main and big problem for me is how to host ".xmalx files" as a Service on the fly. How can i handle that problem?

    Wednesday, August 29, 2012 10:54 AM
  • Hi,

    I think if you save the XAMLX it in the IIS app folder it should be hoested there. It will not need compiling.

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure

    Wednesday, August 29, 2012 10:58 AM
  • All i need is the App folder and saving the files in it? Will these files start as a service automatically without any code? Can you explain it a little please? I really need help about that. I am searching this problem over a month and i have had no solution yet.

    Wednesday, August 29, 2012 11:20 AM
  • Hi,

    Are the XAMLX files workflow service files? Do they start with an activatig receive activity?

    If so...

    >>All i need is the App folder and saving the files in it?

    That should make the service available in IIS/AppFabric.

    >>Will these files start as a service automatically without any code?

    No, you will need to call the service endpoint from a client application.

    Alan


    http://www.CloudCasts.net - Community Webcasts Powered by Azure

    • Marked as answer by Ekrem YRTMN Thursday, August 30, 2012 10:23 AM
    Wednesday, August 29, 2012 11:29 AM
  • Yes, they are the workflow service files with a receive activity.

    OK, I hope it works :) Thanks for your replies!

    Wednesday, August 29, 2012 11:51 AM