Difference between revisions of "ESRI Silverlight & WPF"

From Richard's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
* Download ESRI SDKs for Silverlight and WPF from [http://resources.esri.com/arcgisserver/apis/silverlight/ http://resources.esri.com/arcgisserver/apis/silverlight/], link on right hand side
 
* Download ESRI SDKs for Silverlight and WPF from [http://resources.esri.com/arcgisserver/apis/silverlight/ http://resources.esri.com/arcgisserver/apis/silverlight/], link on right hand side
 +
 +
* [http://blogs.esri.com/Dev/blogs/arcobjectsdevelopment/archive/2009/11/23/ArcGIS-RIA-Developers_3A00_-QueryTask-not-returning-all-your-features_3F00_.aspx ArcGIS RIA Developers: QueryTask not returning all your features?] (Only first 500...) -
 +
 +
** Go to your service configuration file directory, and locate the appropriate configuration file:
 +
<code>
 +
<ArcGIS install location>\Server\user\cfg\<configuration file name>.cfg
 +
</code>
 +
 +
** Change the MaxRecordCount setting:
 +
<code>
 +
<MaxRecordCount>500</MaxRecordCount>
 +
</code>
 +
 +
** Restart ArcGIS Server services.
  
  

Revision as of 19:45, 2 March 2010

    • Go to your service configuration file directory, and locate the appropriate configuration file:

<ArcGIS install location>\Server\user\cfg\<configuration file name>.cfg

    • Change the MaxRecordCount setting:

<MaxRecordCount>500</MaxRecordCount>

    • Restart ArcGIS Server services.


How to fix design-time problems in VS2008

To get this version of WPF samples to work correctly at design time, I had to do the following as well as instructions included in the samples page (http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/index.html , Samples/Interactive SDK section, at the bottom of the page refers to the WPF SDK download)::


  • Download & install the Expression Blend 3 SDK from here:
 http://www.microsoft.com/downloads/details.aspx?FamilyID=f1ae9a30-4928-411d-970b-e682ab179e17&displaylang=en


  • Add the following two references to the project (these are redistributables):
 Microsoft.Expression.Interactions
 System.Windows.Interactivity
 
 
  • In the solution, edit the file LightPage.xaml ,and change references to each of the following:
   {StaticResource HoverShineBrush}
   {StaticResource PressedBrush}
   {StaticResource ShineBrush}
   {StaticResource HoverShineBrush}
 to:
   {StaticResource HoverBrush}