Skip to content

zjlyaogan/arcgis-samples-silverlight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
  1. 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:
  1. Run the application.

Requirements

  • Blend SDK for Silverlight 5
  • Silverlight 5 Toolkit
  • Microsoft Async (only available via Nuget)
  • Nuget 2.7+

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.

[](Esri Tags: ArcGIS API Silverlight C-Sharp VB C# XAML) [](Esri Language: DotNet)

About

ArcGIS API for Silverlight interactive sample app in C# and VB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published