Vishful thinking…

Template for creating Server Object Extensions

Posted in Uncategorized by viswaug on March 29, 2009

I had created a multi-project C# Visual Studio 2008 project template and having been using it for a while now for creating solutions for creating Server Object Extensions for the ArcGIS Server. I managed to package it into a Visual Studio Installer that I have made available for download below(click image below).

SOETemplate

Just double-click the file after downloading and it should install the project template into the correct directories. The installer will throw up a warning message before installing it. But you should be able to install by saying it is okay to proceed. Or if you want to heed to the warning, then you can also SOE Visual Studio 2008 project template and copy it to the “[My Documents]\Visual Studio 2008\Templates\ProjectTemplates\Visual C#” folder. You will have to check the “Register for COM interop” option in the properties page of both the projects that will be created. But I would suggest that you create a install project to COM register the assemblies at the deployment location instead of registering them at the “bin\Debug” location of the project. The project template will add a custom action class in both the projects that can be used in the setup & deployment projects to do the COM registration.

The SOEXplorer utility should help you register and un-register the Server Object Extensions with the ArcGIS Server.

Note: The support for creating multi-project templates is not great. For e.g. there is no way to use variables defined in the multi-project template file in the individual project template files.

4 Responses

Subscribe to comments with RSS.

  1. jburka said, on April 1, 2009 at 2:45 pm

    Thanks for posting this, Vish. I was at your (very good!) user presentation at the #devsummit and had a note to drop you a line about getting the templates. lazyweb to the rescue, I don’t even need to stir myself to that level of effort.

  2. Siva said, on April 16, 2009 at 8:35 am

    Simply gr8

  3. ppenn said, on August 5, 2009 at 3:13 pm

    Great stuff, matey

  4. […] for me; uninstall and install. Vish has provided a great VS template for building SOEs you can get here and provided a nice talk at the ESRI dev […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: