- Copy the folders dotnetsamples and dotnetviewersample from the Samples folder on the installation DVD to C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\www.
- Create a “bin” folder under dotnetsamples and copy all DLLs from C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\www\mapviewernet\bin to C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\www\dotnetsamples\bin.
- Copy all the DLLs from C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\www\mapviewernet\bin to C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\www\dotnetviewersample\bin.
- Add C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\www\mapviewernet\bin to the Path Environment Variable.
- Load the dotnetsamples.mgp package the same way you loaded the Sample Data package. (See Instructions for Loading the Sample Data on the Server
- Open the Internet Information Services control panel (available from Administrative Tools) and navigate to Default Web Site/mapserver2016.
- Configure dotnetsamples and dotnetviewersample as applications. (Right-click the directory and choose Properties. Then, on the Directory tab, click Create in the Application Settings.)
- On the ASP.NET tab, make sure that ASP.NET version for those two directories is set to 2.0 or higher.
- Close the Internet Information Services control panel.
- Open the URL http://servername:port/mapserver2016/dotnetsamples/main.aspx.
This opens the developer’s guide samples and provides links to the Viewer Samples. You can also open the Viewer Samples directly.
- For the Basic Layout Viewer (Internet Explorer, Mozilla Firefox, Google Chrome, or Apple Safari), use the URL: http://servername:port/mapserver2016/dotnetviewersample /ajaxviewersample.aspx
- For the Basic Layout Viewer (Internet Explorer, Mozilla Firefox, Google Chrome, or Apple Safari), use this URL to display a tiled map: http://servername:port/mapserver2016/dotnetviewersample /ajaxtiledviewersample.aspx
Note: servername:port is the name or IP Address of the computer on which the Web Server Extension and sample applications are installed.