ThinkGeo.com    |     Documentation    |     Premium Support

Are you going to support MVC4?

really need it to work with existing mvc4 projects?

Hi Guangming,



As I know, the Map Suite Mvc Edition can work with MVC 4, but with one difference in web.config file with the other MVC version like MVC 3. Please add the below codes in config file:




<runtime>
 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
 
      dependentAssembly>
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
 
      dependentAssembly>
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
 
      dependentAssembly>
 
    assemblyBinding>
 
  runtime>

Hope it helps.

Regards,

Troy

Hi Guangming,



As I know, the Map Suite Mvc Edition can work with MVC 4, but with one difference in web.config file with the other MVC version like MVC 3. Please add the below codes in config file:




<runtime>
 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
 
      dependentAssembly>
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
 
      dependentAssembly>
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
 
      dependentAssembly>
 
    assemblyBinding>
 
  runtime>

Hope it helps.

Regards,

Troy

Hi Guangming,



As I know, the Map Suite Mvc Edition can work with MVC 4, but with one difference in web.config file with the other MVC version like MVC 3. Please add the below codes in config file:


<runtime>
 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
 
      dependentAssembly>
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
 
      dependentAssembly>
 
      <dependentAssembly>
 
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
 
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
 
      dependentAssembly>
 
    assemblyBinding>
 
  runtime>



Hope it helps.

Regards,

Troy