Streaming Development Factory

I’m working on a deployment solution for my project. I want to upload files to a WCF service. This can be achieved with a streaming binding. On the internet there are many examples and I used some to get to this result:

  <system.serviceModel>
    <services>
      <service name = "Runtime.Setup.ServiceContract.SetupService">
        <endpoint
          binding                = "basicHttpBinding"
          bindingConfiguration   = "streamingHttpBinding"
          contract               = "Runtime.Deploy.IServiceContract.IDeployService" />
      </service>
    </services>
    <bindings>
      <basicHttpBinding>
        <binding
          name                   = "streamingHttpBinding"
          transferMode           = "Streamed"
          maxBufferSize          = "65536"
          maxReceivedMessageSize = "67108864" >
          <security mode = "None">
            <transport clientCredentialType = "None"/>
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
  </system.serviceModel>
  <system.web>
    <httpRuntime  maxRequestLength = "67108864"/>
  </system.web>

The problem is I’m using the Development Fabric in Azure SDK v1.2 and that doesn’t support streaming over HTTP. The development IIS of Visual Studio is used out-of-the-box. I’m trying to make it use my IIS 7.
update: there was an error in my configuration which prevented the creation of a streaming endpoint. After correcting this the uploading of files to my WCF service works in the Development Fabric.

Unknown's avatar

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Development. Bookmark the permalink.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.