Upgrading my app to .NET 4.0

admin

Administrator
#1
The ScaleOut StateServer product supports .NET runtime 2.0, 3.5 and 4.0. If you are using SOSS 4.x and migrating your application from .NET 2.0 to .NET 4.0, review the following steps to complete the migration process:
  • If you are using the ScaleOut StateServer product as your ASP.NET Session provider, make sure that the sessionState element in your web.config file is referencing the .NET 4.0 version of our session provider by verifying that the version is 5.0.0.0 as shown in the example at the bottom of this answer.
  • Verify that all of your Visual Studio project files are referencing the .NET 4.0 version of soss_svcdotnet and soss_namedcache (the correct version of the assemblies is 5.0.0.0, located in the DOTNET4.0 folder under the product's installation directory). In Visual Studio, check the properties of the reference to confirm.
  • Make sure that any references in the assemblies section of the web.config file are referencing the .NET 4.0 version of the soss_svcdotnet and soss_namedcache assemblies (version 5.0.0.0).
For an overview of which assembly versions to reference in your Visual Studio project, refer to the "Configuring and Deploying Your .NET Project" topic in introduction of the .NET API documentation.
EXAMPLE:
Code:
<sessionState mode="Custom" customProvider="SossStoreProvider" cookieless="UseCookies">
   <providers>
      <add name="SossStoreProvider" type="Soss.Web.SossStoreProvider, soss_storeprovider, Version=5.0.0.0, Culture=neutral, PublicKeyToken=a1ec0b86f746a476" />
   </providers>
</sessionState>
 
Top