Bug tracker: Modify the web.config file

After you reference the required assemblies, you modify the web.config file of your project in Visual Studio. The web.config file contains the settings of your Bug Tracker application. In the web.config file, you need to reference the System.Web.Mvc assembly, version 4.

To do so:

  1. Open theweb.config file.
    In the compilation and assemblies section of the web.config, add the following lines: <assemblies> <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <add assembly="WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add assembly="PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add assembly="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </assemblies>
  2. To use the System.Web.Mvc assembly, at the end of the web.config file, before the closing </configuration> tag, add the following code:
    XML
     <runtime>
         <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
           <dependentAssembly>
             <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
             <bindingRedirect oldVersion="3.0.0.0" newVersion="4.0.0.0" />
           </dependentAssembly>
         </assemblyBinding>
       </runtime>
       <location path="Telerik.Sitefinity.Html5UploadHandler.ashx">
         <system.web>
           <httpRuntime maxRequestLength="6048000" executionTimeout="7200" maxUrlLength="102400" maxQueryStringLength="102400" requestValidationType="Telerik.Sitefinity.Security.Claims.CustomRequestValidator, Telerik.Sitefinity" />
         </system.web>
         <system.webServer>
           <security>
             <requestFiltering>
               <requestLimits maxAllowedContentLength="2147483648" />
             </requestFiltering>
           </security>
         </system.webServer>
       </location>
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
New to Sitefinity?