How to open the REST server object extension template in Visual Studio


Opening the REST server object extension template in Visual Studio

When you install the ArcGIS .NET software development kit (SDK), you get templates for Visual Studio that can help you build Representational State Transfer (REST) server object extensions (SOEs). Do the following steps to open a template and start building a REST SOE:
  1. Start Microsoft Visual Studio.
  2. Click File, New, then Project.
  3. In the Installed Templates tree, click the node to expand your language (Visual C# or Visual Basic), click to expand the ArcGIS node, then click Server Object Extensions.
  4. At the top of the New Project dialog box, choose .NET Framework 3.5 from the drop-down menu. This step is essential because the default shows .NET Framework 4.0 templates.
  5. Click the REST Template and add a name and location for your SOE, then click OK.
  6. In the Solution Explorer, click the .cs or .vb file (depending on your chosen language in Step 3) and modify the template code as desired.