Web.config file updated
Support for charts has been added for .NET Framework 3.5 and 4.0 applications. The following tags are added to the Web.config file during migration.
-
<add key="ChartImageHandler" value="Storage=file;Timeout=20;Url=../Temp/;"/> in appsettings section
-
<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/> in httpHandlers section
-
<add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> in controls section
-
<remove name="ChartImageHandler"/> in handlers section
-
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> in handlers section
Migration effects
During migration, your application’s Web.config file is updated.
What you should do
If your application contains existing .NET chart controls, the tags above will be duplicated during migration. After migration, remove duplicate tags if necessary.