GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Web.Config changes

Web.Config changes

Jump to bottom Edit New page
Ingo edited this page Nov 2, 2026 · 16 revisions

web.config changes from v2.30.16 to v3.2.14

Note

Only needed when you upgrade a YAF.NET v2 forum to v3. The migration tool makes these changes for you; this page lists them for manual changes. See Upgrade an existing installation.

Remove the node:

 <roleManager ....>
  <providers>
     ...
  </providers>
    </roleManager>

Remove the node:

 <profile ...>
    <providers>
    ...
    </providers>
 </profile>

assemblyBinding section

Add the node:

</system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="bin" />
      <dependentAssembly>
 <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="CC7B13FFCD2DDD51" culture="neutral"/>
 <bindingRedirect oldVersion="0.0.0.0-10.0.0.10" newVersion="10.0.0.10"/>
</dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
     <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51"/>
     <bindingRedirect oldVersion="0.0.0.0-10.0.0.10" newVersion="10.0.0.10"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-4.2.3.0" newVersion="4.2.3.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-4.2.3.0" newVersion="4.2.3.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Extensions.Primitives" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-10.0.0.10" newVersion="10.0.0.10"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-6.0.3.0" newVersion="6.0.3.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51"/>
     <bindingRedirect oldVersion="0.0.0.0-4.2.4.0" newVersion="4.2.4.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="System.Memory" culture="neutral" publicKeyToken="cc7b13ffcd2ddd51" />
     <bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
   </dependentAssembly>
   <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
    <assemblyIdentity name="System.Buffers" culture="neutral" publicKeyToken="CC7B13FFCD2DDD51" />
    <bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0"  />
   </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <system.webServer>

Remove the line:

  <add name="TaskModule" type="YAF.Core.TaskModule, YAF.Core" />

Remove the line:

 <remove name="TaskModule" />

Remove the line:

 <add name="TaskModule" type="YAF.Core.TaskModule, YAF.Core" preCondition="managedHandler" />

Remove the line:

 <add namespace="YAF.Utils" />

Remove:

<authentication mode="Forms">
      <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies" />
    </authentication>

IMPORTANT: Membership migration

The membership settings must be moved to the appSettings section in the app.config. Without them, users can't log in with their old passwords.

The line:

<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">

becomes in the app.config:

<add key="YAF.LegacyMembershipHashAlgorithmType" value="SHA1" />

and

<add connectionStringName="yafnet" applicationName="YAF.NET" name="YafMembershipProvider"
             requiresUniqueEmail="true" hashCase="Upper" hashHex="true" type="YAF.Providers.Membership.YafMembershipProvider"
             enablePasswordReset="true" useSalt="true" requiresQuestionAndAnswer="false"
             />

becomes in the app.config:

 <add key="YAF.LegacyMembershipPasswordFormat" value="Hashed" />
  <add key="YAF.LegacyMembershipHashCase" value="Upper" />
  <add key="YAF.LegacyMembershipHashHex" value="true" />

After that, remove the entire <membership> node.

When you later upgrade to v4, these keys move to the BoardConfiguration section of the appsettings.json, see Upgrade to YAF.NET v4.


YetAnotherForum.NET (YAF) the Open Source Discussion Forum for ASP.NET - https://YetAnotherForum.NET

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved

YAF.NET Documentation

Getting started

  • About YAF.NET
  • Features
  • Docker
  • Installation (IIS)
  • Hosting on Linux with nginx
  • Integration (ASP.NET Core)
  • Upgrade to v4

Configuration

  • BoardConfiguration Settings
  • Reverse proxy and Cloudflare
  • Push notifications

Administration

  • Private forum
  • Spam protection
  • Change the board logo
  • Themes

Help

  • Troubleshooting
  • Support

Development

  • Build with command line
  • Build with Visual Studio

Legacy (v3 and older)

  • Installation v3
  • Upgrade to v3.2.x
  • Integration v3 (ASP.NET)
  • Build v3
  • Migrate SQL Server to SQLite
  • web.config changes v2 to v3
  • Upgrade from 1.9.1.8

Clone this wiki locally

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.