ArcGIS API for Silverlight interactive sample app in C# and VB
Visual Basic C#
Latest commit 6e921dc Jan 30, 2015 @rexhansen rexhansen Merge pull request #6 from Esri/v.next
V.next

README.md

arcgis-samples-silverlight

This project contains the C# and VB source code for the ArcGIS API for Silverlight interactive sample app.

View it live

Image of sample app

Instructions

Visual Studio 2010 (includes support for Web Developer Express edition)

  1. Fork and then clone the repo or download the .zip file.
  2. Assure that Visual Studio 2010 is capable of building Silverlight 5 projects. See the ArcGIS API for Silverlight system requirements for details.
  3. Two Visual Studio 2010 solutions are included. One with C# code (ArcGISSilverlightSDK_VS2010.sln), and the other with VB code (ArcGISSilverlightSDK_VBNet_VS2010.sln). Each solution contains two projects, a Silverlight project and a web host application. In Visual Studio, open the C# or VB solution.
  4. Colorized text in the XAML and code-behind views is generated using logic in the SyntaxHighlighting.dll included with the Silverlight project under the Support folder. Since the assembly is included with the source code on GitHub, you may need to unblock it before building and running the application.
  5. In the Solution Explorer, right-click the c:...\ArcGISSilverlightSDKWeb\ project and select "Set as StartUp Project". Select the Default_VS2010.htm page, right-click and select the "Set as Start Page" option.
  6. Clean and build the solution. The Silverlight project contains a pre-build event that restores Nuget packages for the following dependencies:
  7. Run the application.

Visual Studio 2012/2013 (includes support for Express for Web editions)

  1. Fork and then clone the repo or download the .zip file.
  2. Two Visual Studio solutions are included. One with C# code (ArcGISSilverlightSDK.sln), and the other with VB code (ArcGISSilverlightSDK_VBNet.sln). Each solution contains two projects, a Silverlight project and a web host application. In Visual Studio, open the C# or VB solution.
  3. Colorized text in the XAML and code-behind views is generated using logic in the SyntaxHighlighting.dll included with the Silverlight project under the Support folder. Since the assembly is included with the source code on GitHub, you may need to unblock it before building and running the application.
  4. In the Solution Explorer, right-click the c:...\ArcGISSilverlightSDKWeb\ project and select "Set as StartUp Project". Select the Default.htm page, right-click and select the "Set as Start Page" option.
  5. Clean and build the solution. The Silverlight project contains a pre-build event that restores Nuget packages for the following dependencies:
  6. Run the application.

Requirements

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Anyone and everyone is welcome to contribute.

Licensing

Copyright 2013 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.