|
Hi
I have successfully configured my SL-app to enable GZIP. This is how I did it:
1. I added this class to my SL app: http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-add-gzip - http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-add-gzip
I then added this to my web.config in the system.serviceModel:
< extensions>
< bindingElementExtensions>
< add name="gzipMessageEncoding"
type="IdeaBlade.Core.Wcf.Extensions.GZipMessageEncodingElement, IdeaBlade.Core, Version=6.0.9.0, Culture=neutral, PublicKeyToken=287b5094865421c0"/>
</ bindingElementExtensions>
I then changed my binding in web.config to this:
< binding name="customBinaryBinding" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00">
< gzipMessageEncoding>
< readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"/>
</ gzipMessageEncoding>
< httpTransport maxBufferPoolSize="5120000" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"/>
</ binding>
In my services section I have this (I changed nothing there):
< service name="EntityService">
< endpoint address="" binding="customBinding" bindingConfiguration="customBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServiceContract"/>
</ service>
< service name="IdeaBlade.EntityModel.Server.EntityServer">
< endpoint address="" binding="customBinding" bindingConfiguration="customBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServerContract"/>
</ service>
My problem is, when i Deploy these changes to the server, I get the error: "There is no endpoint listening on http://...Services/EntitiService.svc..."
Can you help me out here?
Thank your for your time.
Rasmus
|