PDA

View Full Version : [CLOSED] my web site is very slow



cottimucin
Jan 10, 2015, 12:03 PM
my web config is now this



<?xml version="1.0"?>
<configuration>
<configSections>
<!-- Add "extnet" configuration section to Web.config -->
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<!-- Add "licenseKey" config -->
<extnet licenseKey="xxxx" />
<!--************************************************** **********-->
<appSettings>
<add key="emailGonderilsinmi" value="false"/>
<add key="kayitciMernisdenSorgulansinmi" value="false"/>
<add key="aktifKayitciSayfasi" value="KAYITCI2014____.aspx"/>
<add key="raporlarJasperServermi" value="true"/>
<add key="borcKontrolu" value="true"/>
</appSettings>
<!--************************************************** **********-->
<system.web>
<sessionState timeout="30"/>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*/ext.axd" type="Ext.Net.ResourceHandler" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net"/>
</httpModules>
<!--************************************************** **********-->
<authentication mode="Forms">
<forms name="YetkiFormAd" loginUrl="login.aspx" defaultUrl="Default.aspx" path="/" protection="All" slidingExpiration="true" timeout="30"/>
</authentication>
<!--************************************************** **********-->
<pages viewStateEncryptionMode="Always">
<controls>
<add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext"/>
</controls>
</pages>
<compilation debug="false" defaultLanguage="c#">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<customErrors mode="Off"/>
</system.web>
<!--************************************************** **********-->
<log4net>
<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="LogKayitlari/logfile"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value=".yyyyMMdd'.log'"/>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="[%-5p][%date][%m]%n"/>
<!--<param name="ConversionPattern" value="[%date][%level][%message]%newline%exception"/>-->
</layout>
</appender>
<root>
<level value="ALL"/>
<appender-ref ref="LogFileAppender"/>
</root>
<logger name="ogrenci">
<level value="DEBUG"/>
</logger>
</log4net>
<!--************************************************** **********-->
<location path="Anamenu.aspx">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<!--************************************************** **********-->
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.webServer>



<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler" />
</handlers>
<defaultDocument>
<files>
<clear/>
<add value="Default.aspx"/>
</files>
</defaultDocument>
</system.webServer>
<runtime>
<assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23"/>
<bindingRedirect oldVersion="0.0.0.0-2.5.0" newVersion="2.5.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7"/>
<bindingRedirect oldVersion="0.0.0.0-2.1.0" newVersion="2.1.1"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IKisiSorgulaTCKimlikNoServis"/>
<binding name="BasicHttpBinding_ITcKimlikNoSorgulaAdresServis"/>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://193.255.93.106/kpsproxyws01/KisiSorgulaTCKimlikNoServis.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IKisiSorgulaTCKimlikNoServis" contract="ServiceReference1.IKisiSorgulaTCKimlikNoServis" name="BasicHttpBinding_IKisiSorgulaTCKimlikNoServis"/>
<endpoint address="http://193.255.93.106/kpsproxyws01/TcKimlikNoSorgulaAdresServis.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITcKimlikNoSorgulaAdresServis" contract="ServiceReference2.ITcKimlikNoSorgulaAdresServis" name="BasicHttpBinding_ITcKimlikNoSorgulaAdresServis"/>
</client>
</system.serviceModel>
</configuration>

cottimucin
Jan 10, 2015, 12:07 PM
<?xml version="1.0"?>
<configuration>
<configSections>
<!-- Add "extnet" configuration section to Web.config -->
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<!-- Add "licenseKey" config -->
<extnet licenseKey="xxxxxx" sourceFormatting="false" scriptMode="Release" gzip="true"/>
<!--************************************************** **********-->
<appSettings>
<add key="emailGonderilsinmi" value="false"/>
<add key="kayitciMernisdenSorgulansinmi" value="false"/>
<add key="aktifKayitciSayfasi" value="KAYITCI2014____.aspx"/>
<add key="raporlarJasperServermi" value="true"/>
<add key="borcKontrolu" value="true"/>
</appSettings>
<!--************************************************** **********-->
<system.web>
<sessionState timeout="30"/>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="*" path="*/ext.axd" type="Ext.Net.ResourceHandler" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net"/>
</httpModules>
<!--************************************************** **********-->
<authentication mode="Forms">
<forms name="YetkiFormAd" loginUrl="login.aspx" defaultUrl="Default.aspx" path="/" protection="All" slidingExpiration="true" timeout="30"/>
</authentication>
<!--************************************************** **********-->
<pages viewStateEncryptionMode="Always">
<controls>
<add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext"/>
</controls>
</pages>
<compilation debug="false" defaultLanguage="c#">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<customErrors mode="Off"/>
</system.web>
<!--************************************************** **********-->
<log4net>
<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="LogKayitlari/logfile"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value=".yyyyMMdd'.log'"/>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="[%-5p][%date][%m]%n"/>
<!--<param name="ConversionPattern" value="[%date][%level][%message]%newline%exception"/>-->
</layout>
</appender>
<root>
<level value="ALL"/>
<appender-ref ref="LogFileAppender"/>
</root>
<logger name="ogrenci">
<level value="DEBUG"/>
</logger>
</log4net>
<!--************************************************** **********-->
<location path="Anamenu.aspx">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<!--************************************************** **********-->
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.webServer>



<httpCompression>
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
<dynamicTypes>
<add mimeType="*/*" enabled="false"/>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
</dynamicTypes>
<staticTypes>
<add mimeType="*/*" enabled="false"/>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
</staticTypes>
</httpCompression>
<urlCompression doStaticCompression="true" doDynamicCompression="true"/>



<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler" />
</handlers>
<defaultDocument>
<files>
<clear/>
<add value="Default.aspx"/>
</files>
</defaultDocument>
</system.webServer>
<runtime>
<assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23"/>
<bindingRedirect oldVersion="0.0.0.0-2.5.0" newVersion="2.5.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7"/>
<bindingRedirect oldVersion="0.0.0.0-2.1.0" newVersion="2.1.1"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IKisiSorgulaTCKimlikNoServis"/>
<binding name="BasicHttpBinding_ITcKimlikNoSorgulaAdresServis"/>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://193.255.93.106/kpsproxyws01/KisiSorgulaTCKimlikNoServis.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IKisiSorgulaTCKimlikNoServis" contract="ServiceReference1.IKisiSorgulaTCKimlikNoServis" name="BasicHttpBinding_IKisiSorgulaTCKimlikNoServis"/>
<endpoint address="http://193.255.93.106/kpsproxyws01/TcKimlikNoSorgulaAdresServis.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITcKimlikNoSorgulaAdresServis" contract="ServiceReference2.ITcKimlikNoSorgulaAdresServis" name="BasicHttpBinding_ITcKimlikNoSorgulaAdresServis"/>
</client>
</system.serviceModel>
</configuration>





if i change the webconfig as this.

will my web site's speed could be better?

Daniil
Jan 12, 2015, 6:08 AM
Hi @cottimucin,


if i change the webconfig as this. will my web site's speed could be better?

Please point us what exactly has been changed.


my web site is very slow

Please clarify is that related to the questions that you asked before?
http://forums.ext.net/showthread.php?40771
http://forums.ext.net/showthread.php?48191
http://forums.ext.net/showthread.php?48801

geoffrey.mcgill
Jan 12, 2015, 6:18 AM
Hi cottimucin,

Unfortunately the Ext.NET support team will not be answering any more of your questions related to performance until you answer all the questions that we have asked in the past. Review your previous threads and answer the questions.

You can start with these questions:

http://forums.ext.net/showthread.php?48191-CLOSED-immediately-help-please-!-we-publish-web-site-created-by-ext-net&p=216731&viewfull=1#post216731

cottimucin
Jan 12, 2015, 10:01 AM
I changed my web config


from <extnet licenseKey="xxxx" />

to
<extnet licenseKey="xxxxxx" sourceFormatting="false" scriptMode="Release" gzip="true"/>

and I add httpCompression


<httpCompression> <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/> <dynamicTypes> <add mimeType="*/*" enabled="false"/> <add mimeType="text/*" enabled="true"/> <add mimeType="message/*" enabled="true"/> <add mimeType="application/javascript" enabled="true"/> </dynamicTypes> <staticTypes> <add mimeType="*/*" enabled="false"/> <add mimeType="text/*" enabled="true"/> <add mimeType="message/*" enabled="true"/> <add mimeType="application/javascript" enabled="true"/> </staticTypes> </httpCompression> <urlCompression doStaticCompression="true" doDynamicCompression="true"/>


but my web site run slow.