Select to view content in your preferred language

Getting ready for the new ArcGIS Runtime SDK for the Microsoft .NET Framework

3568
6
04-06-2014 11:38 PM
Labels (1)
MichaelBranscomb
Esri Frequent Contributor
Last summer we announced in this blog post we were working on a new SDK called ArcGIS Runtime SDK for the Microsoft .NET Framework. This SDK would take all our experience building APIs and SDKs for the Windows desktop, Windows Phone and Windows Store app platforms, and bring them together in one SDK. Since the announcement, we know many of you have been thinking about code and skills you have developed with the existing ArcGIS Runtime SDK for WPF and asking how you can best plan for a transition to the Windows Desktop API included with the new .NET SDK.

This" rel="nofollow" target="_blank">http://blogs.esri.com/esri/arcgis/2014/03/07/getting-ready-for-... blog post will help you prepare for the arrival of the new SDK by providing tips you can follow today in the current WPF SDK.
6 Replies
VinhLe
by
Deactivated User
Hi Mike,

Thank you to the ESRI team for bringing the .NET SDK to developers.  This is great and I have been waiting for this for awhile now.
I am very keen to get into the development, but currently there is no examples on the use of the AdvancedSymbology library for the WPF.  Any example on the used of the 2525C and military messaging side would be most helpful.

Do you know if there are any available?  If yes, can you point me to the location? eg Vehicle Commander example for WPF would be awesome.

Thanks in Advance,
Vinh Le (Australia)
0 Kudos
MichaelBranscomb
Esri Frequent Contributor
Hi,

Unfortunately there are currently no military symbology samples in the .NET beta SDK. However, we intend to work on some during the next couple of scrum 'sprints'. This will initially involve replicating the samples in the existing WPF SDK and will roll those out in the samples on GitHub: https://github.com/Esri/arcgis-runtime-samples-dotnet.

Cheers

Mike
0 Kudos
SaranPon
Emerging Contributor
Hi Mike,

I am curious to know the release date for ArcGIS runtime SDK for .NET. Is this announced? If not, when is it planned?


thanks,
Saravanan
0 Kudos
MichaelBranscomb
Esri Frequent Contributor
Hi,

ArcGIS Runtime SDK for .NET 10.2.3 Beta 2 was released mid-May 2014.

The first release of the SDK will be mid-late summer 2014.

Cheers

Mike
0 Kudos
VinhLe
by
Deactivated User

Hi Mike,

Wondering if you could help me with this error ..

Unable to cast object of type 'CoreMessageGraphicsLayerWrapper' to type 'RuntimeCoreNet.CoreGraphicsLayerWrapper'.

while trying to a called MessageGraphicLayer.HitTestAsync(..)

Graphic graphics = await msggraphiclayer.HitTestAsync(EsriMapView, point); or

or IEnumerable<Graphic> graphics = await graphiclayer.HitTestAsync(EsriMapView, point, 1);

I am using the Esri.ArcGISRuntime.AdvancedSymbology and the MessageLayer to process 2525B messages and I would like to be able to select the graphics (eg using hit test) and obtain the graphics and do something with it.  But time I try to called the HitTestAsync, I get the error above and I go no idea what it saying.  Can you help?

     foreach (var layer in MsgLayer.ChildLayers)

                {

                    if (typeof(MessageGraphicsLayer) == layer.GetType())

                    {

                        MessageGraphicsLayer msggraphiclayer = (MessageGraphicsLayer)layer;

                        try

                        {

                            Graphic graphics = await msggraphiclayer.HitTestAsync(DrawingLayers.EsriMapView, point);

                        }

                        catch

                        {

                        }               

                    }

                }  

regards,

Vinh Le (Australia)

ESRI .NET Runtime SDK 10.2.3 BETA

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

We have now included a sample to demonstrate how to perform Hittesting on a MessageLayer - it is currently in the v.next branch until the product is released: arcgis-runtime-samples-dotnet/MessageProcessingSample.xaml.cs at v.next · Esri/arcgis-runtime-sample...

Cheers

0 Kudos