Bożydar Sobczak avatar Bożydar Sobczak committed 3de0998 Merge

Merge branch 'fix-1'

Comments (0)

Files changed (6)

Rdc.WebService/Rdc.WebService.csproj

     <AssemblyName>Rdc.WebService</AssemblyName>
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     <UseIISExpress>false</UseIISExpress>
+    <TargetFrameworkProfile />
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data.DataSetExtensions" />
     <Reference Include="System.Runtime.Serialization" />
     <Reference Include="System.ServiceModel" />
+    <Reference Include="System.Web.ApplicationServices" />
     <Reference Include="System.Web.DynamicData" />
     <Reference Include="System.Web.Entity" />
-    <Reference Include="System.Web.ApplicationServices" />
     <Reference Include="System" />
     <Reference Include="System.Data" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="System.Web.Extensions" />
-    <Reference Include="System.Xml.Linq" />
     <Reference Include="System.Drawing" />
     <Reference Include="System.Web" />
+    <Reference Include="System.Web.Extensions" />
     <Reference Include="System.Xml" />
     <Reference Include="System.Configuration" />
     <Reference Include="System.Web.Services" />
     <Reference Include="System.EnterpriseServices" />
+    <Reference Include="System.Xml.Linq" />
   </ItemGroup>
   <ItemGroup>
     <Content Include="RdcService.svc" />

Rdc.WebService/Web.config

 <?xml version="1.0"?>
-
 <!--
   For more information on how to configure your ASP.NET application, please visit
   http://go.microsoft.com/fwlink/?LinkId=169433
   -->
-
 <configuration>
-    <system.web>
-        <compilation debug="true" targetFramework="4.0" />
-    </system.web>
-    <system.serviceModel>
-        <behaviors>
-            <serviceBehaviors>
-                <behavior name="">
-                    <serviceMetadata httpGetEnabled="true" />
-                    <serviceDebug includeExceptionDetailInFaults="false" />
-                </behavior>
-            </serviceBehaviors>
-        </behaviors>
-        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
-    </system.serviceModel>
-</configuration>
+  <system.web>
+    <compilation debug="true" targetFramework="4.0"/>
+    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
+  </system.web>
+  <system.serviceModel>
+    <behaviors>
+      <serviceBehaviors>
+        <behavior name="">
+          <serviceMetadata httpGetEnabled="true"/>
+          <serviceDebug includeExceptionDetailInFaults="false"/>
+        </behavior>
+      </serviceBehaviors>
+    </behaviors>
+    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
+  </system.serviceModel>
+</configuration>

Rdc.Wrapper.Client/app.config

     <system.serviceModel>
         <bindings>
             <basicHttpBinding>
-                <binding name="BasicHttpBinding_IRdcService" maxReceivedMessageSize="20000000" />
+                <binding name="BasicHttpBinding_IRdcService" maxReceivedMessageSize="20000000">
+                    <readerQuotas maxStringContentLength="10242880"  maxArrayLength="10242880" />
+                </binding>
             </basicHttpBinding>
         </bindings>
         <client>

Rdc.Wrapper.Synchronizer.Test/app.config

     <system.serviceModel>
         <bindings>
             <basicHttpBinding>
-                <binding name="BasicHttpBinding_IRdcService" maxReceivedMessageSize="20000000" />
+                <binding name="BasicHttpBinding_IRdcService" maxReceivedMessageSize="20000000">
+                    <readerQuotas maxStringContentLength="10242880"  maxArrayLength="10242880" />
+                </binding>
             </basicHttpBinding>
         </bindings>
         <client>

Rdc.Wrapper.Synchronizer/app.config

     <system.serviceModel>
         <bindings>
             <basicHttpBinding>
-                <binding name="BasicHttpBinding_IRdcService" />
+                <binding name="BasicHttpBinding_IRdcService">
+                    <readerQuotas maxStringContentLength="10242880"  maxArrayLength="10242880" />
+                </binding>
             </basicHttpBinding>
         </bindings>
         <client>

Rdc.Wrapper/RdcFileReader.cs

             } while (lastRead != 0 && read < bytesToRead);
             bytesRead = (uint) read;
             Marshal.Copy(intBuff, 0, buffer, (int)bytesRead);
-            eof = read < bytesRead;
+            eof = read < bytesToRead;
         }
 
         public void GetFilePosition(out UInt64 offsetFromStart)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.