Difference between revisions of "ESRI Silverlight & WPF"

From Richard's Wiki
Jump to: navigation, search
Line 13: Line 13:
 
</code>
 
</code>
  
** Restart ArcGIS Server services, eg using Server Manager:
+
** Restart ArcGIS Server services, eg using Server Manager. !! This is insufficient - rebooting the server will force rereading of the cfg file, haven't found anything less draconian yet 3Mar2010 !!
 
<code>
 
<code>
 
  http://beacon-gis-t/ArcGIS/Manager
 
  http://beacon-gis-t/ArcGIS/Manager

Revision as of 20:08, 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, eg using Server Manager. !! This is insufficient - rebooting the server will force rereading of the cfg file, haven't found anything less draconian yet 3Mar2010 !!

http://beacon-gis-t/ArcGIS/Manager


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}