This project contains the C# and VB source code for the ArcGIS API for Silverlight interactive sample app.
####Visual Studio 2010 (includes support for Web Developer Express edition)
- Fork and then clone the repo or download the .zip file.
- Assure that Visual Studio 2010 is capable of building Silverlight 5 projects. See the ArcGIS API for Silverlight system requirements for details.
- 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.
- 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.
- 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.
- Clean and build the solution. The Silverlight project contains a pre-build event that restores Nuget packages for the following dependencies:
- ArcGIS API for Silverlight (portion of Blend SDK for Silverlight 5 included with Behaviors package)
- Silverlight 5 Toolkit (includes Core and Input packages)
- Microsoft Async
References to the Microsoft Async assemblies have been removed from the samples project for Visual Studio 2010. Use of Microsoft Async functionality with Silverlight 5 requires Visual Studio 2012 or greater. Samples that reference the task async pattern are not available in Visual Studio 2010.
- Run the application.
####Visual Studio 2012/2013 (includes support for Express for Web editions)
- Fork and then clone the repo or download the .zip file.
- 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.
- 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.
- 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.
- Clean and build the solution. The Silverlight project contains a pre-build event that restores Nuget packages for the following dependencies:
- ArcGIS API for Silverlight (portion of Blend SDK for Silverlight 5 included with Behaviors package)
- Silverlight 5 Toolkit (includes Core and Input packages)
- Microsoft Async
- Run the application.
- ArcGIS API for Silverlight (see system requirements)
- Blend SDK for Silverlight 5
- Included with Blend for Visual Studio 2012 and Blend for Visual Studio 2013. Blend is included with Visual Studio 2012/2013
- Portion of Blend SDK for Silverlight 5 included with ArcGIS API for Silverlight - Behaviors package
- Silverlight 5 Toolkit
- Microsoft Async (only available via Nuget)
- Nuget 2.7+
- ArcGIS API for Silverlight Resource Center
- ArcGIS API for Silverlight download (requires ArcGIS Developer account)
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Anyone and everyone is welcome to contribute.
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.
[](Esri Tags: ArcGIS API Silverlight C-Sharp VB C# XAML) [](Esri Language: DotNet)