App.config 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <appSettings>
  4. <!-- path to folder with reports -->
  5. <add key="FastReport.ReportsPath" value="C:\Program files\FastReports\FastReport.Net\Demos\WCF" />
  6. <!-- Path to folder with prepared reports. Set it to empty line for disable upload prepared reports. -->
  7. <add key="FastReport.PreparedPath" value="C:\Program files\FastReports\FastReport.Net\Demos\WCF\PreparedUpload" />
  8. <!-- Value of cleanup delay for prepared reports in minutes. Set it to 0 for disable cleanup. -->
  9. <add key="FastReport.PreparedCleanupDelay" value="60" />
  10. <!-- name of connection string for reports -->
  11. <add key="FastReport.ConnectionStringName" value="FastReportDemo" />
  12. <!-- Comma-separated list of available formats PDF,DOCX,XLSX,PPTX,RTF,ODS,ODT,MHT,CSV,DBF,XML,TXT,FPX,HTML.
  13. You can delete any or change order in this list. -->
  14. <add key="FastReport.Gear" value="PDF,DOCX,XLSX,PPTX,RTF,ODS,ODT,MHT,CSV,DBF,XML,TXT,FPX,HTML" />
  15. <add key="ClientSettingsProvider.ServiceUri" value="" />
  16. </appSettings>
  17. <connectionStrings>
  18. <!-- you need change path to database to your own -->
  19. <add name="FastReportDemo" connectionString="XsdFile=;XmlFile=C:\Users\Alexander\Documents\MyProjects\fr.net\Demos\Reports\nwind.xml" />
  20. </connectionStrings>
  21. <system.web>
  22. <compilation debug="true" />
  23. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  24. <providers>
  25. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  26. </providers>
  27. </membership>
  28. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  29. <providers>
  30. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  31. </providers>
  32. </roleManager>
  33. </system.web>
  34. <!-- When deploying the service library project, the content of the config file must be added to the host's
  35. app.config file. System.Configuration does not support config files for libraries. -->
  36. <system.serviceModel>
  37. <services>
  38. <service behaviorConfiguration="FastReportServiceBehavior" name="FastReport.Service.ReportService">
  39. <endpoint address="" binding="wsHttpBinding" contract="FastReport.Service.IFastReportService">
  40. <identity>
  41. <dns value="localhost" />
  42. </identity>
  43. </endpoint>
  44. <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  45. <host>
  46. <baseAddresses>
  47. <add baseAddress="http://localhost:8732/FastReportService/" />
  48. </baseAddresses>
  49. </host>
  50. </service>
  51. </services>
  52. <behaviors>
  53. <serviceBehaviors>
  54. <behavior name="FastReportServiceBehavior">
  55. <serviceMetadata httpGetEnabled="True" />
  56. <serviceDebug includeExceptionDetailInFaults="True" />
  57. </behavior>
  58. </serviceBehaviors>
  59. </behaviors>
  60. <bindings>
  61. <!-- <basicHttpBinding>
  62. <binding messageEncoding="Mtom" closeTimeout="00:02:00" openTimeout="00:02:00" receiveTimeout="00:10:00" sendTimeout="00:02:00"
  63. maxReceivedMessageSize="2147483647"
  64. maxBufferSize="2147483647"
  65. maxBufferPoolSize="2147483647"
  66. transferMode="Streamed">
  67. <security mode="None">
  68. <transport clientCredentialType="None" />
  69. </security>
  70. </binding>
  71. </basicHttpBinding>-->
  72. <wsHttpBinding>
  73. <binding messageEncoding="Mtom" closeTimeout="00:02:00" openTimeout="00:02:00" receiveTimeout="00:10:00" sendTimeout="00:02:00"
  74. maxReceivedMessageSize="2147483647"
  75. maxBufferPoolSize="2147483647">
  76. <security mode="None">
  77. <transport clientCredentialType="None" />
  78. </security>
  79. </binding>
  80. </wsHttpBinding>
  81. </bindings>
  82. </system.serviceModel>
  83. <startup>
  84. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  85. </startup>
  86. </configuration>