Saturday, January 31, 2009

ArcGIS Silverlight Demo Video

If you are still wondering what's coming up in the ArcGIS API for Silverlight,, ESRI has released a video peaking at the new features, showing some animation capabilities and announcing the it will be released after the Dev Summet 2009

You Can Find the video HERE

Thursday, January 29, 2009

ArcGIS API for Microsoft Silverlight (Coming Soon)

The ArcGIS API for Microsoft Silverlight enables you to integrate ArcGIS Server and Microsoft Virtual Earth services and capabilities in a rich interactive application. With the ArcGIS API for Microsoft Silverlight.. read more Here

also take a look at the mapping capability with SilverLight Here

Wednesday, January 28, 2009

ArcGIS API for Microsoft Silverlight

it seems that ESRI is releasing the ArcGIS API for Microsoft Silverlight soon as they are discussing it in the developer summit in March 26

Take a look at Introduction to the ArcGIS API for Microsoft Silverlight here

Take a look at Patterns and Best Practices for Building Applications with the ArcGIS API for Microsoft Silverlight here

Saturday, January 24, 2009

Saturday, January 17, 2009

ArcGIS Server 9.3 & Windows 7 Beta Build 7000

Likewise i installed ArcGIS Server 9.3 on Windows 7 Beta and everything works fine.

here are some screenshots


ArcGIS Server Manager




ArcGIS Server Connection Through ArcCatalog

ArcGIS Desktop 9.3 & Widnows 7 Beta Build 7000

I downloaded windows 7 Beta build 7000 last week and installed it on a virtual box with 512MB of RAM and everything went smooth, the performance is so good just like XP, then i thought to try installing ESRI products on it, i started with ArcGIS Desktop 9.3, i went all right without any problems, infact i feel that performace wise it little faster then XP or Windows 2003, didn't run any performance analysis program but just felt it. here are some screen shots

ArcMap 9.3 Installation



ArcMap Up and Running

Tuesday, January 13, 2009

How to accept an invalid SSL certificate programmatically

In my Arclogistics Navigator application, im sending the location of the vehicles to back to our servers in able to see where the vehicles, i created a web service that receives the raw data and process it but it turns out that the web service that is being called over a web service with a certificate that its name doesn't match the server name, calling the client support to resolve this issue would take ages since people here in kuwait are very slow. so i though i'll google a bit to to to know how to accept any certificate no matter what is the error, well this is a POC ;)

here is how you do it

// callback used to validate the certificate in an SSL conversation
private static bool ValidateRemoteCertificate(
object sender,
X509Certificate certificate,
X509Chain chain,
SslPolicyErrors policyErrors
)
{
if (Convert.ToBoolean(ConfigurationManager.AppSettings["IgnoreSslErrors"]))
{
// allow any old dodgy certificate...
return true;
}
else
{
return policyErrors == SslPolicyErrors.None;
}
}



what u need to do is to create a parameter in the app.config and give it a key
"IgnoreSslError" and set this to true or false up to ur conviniece and here is how you

streetmps_buffered.TrackingWS.Service m_proxy = new streetmps_buffered.TrackingWS.Service();

ServicePointManager.ServerCertificateValidationCallback += new RemoteCertificateValidationCallback(ValidateRemoteCertificate);

m_proxy.WriteDataAsync(m_DriverName, m_CurrentGPSPoint.X.ToString(), m_CurrentGPSPoint.Y.ToString(), (int)SMNavigation.MilesToKilometers(m_CurrentSpeed), DateTime.Now.ToString());


hope it helps others

Friday, January 2, 2009

Creating an ESRI Toolbar With ArcGIS Server Flex API

My First Flex ArcGIS Server App was to create a reusable Toolbar with (zoomin , zoomout , pan , zoom to full extent , zoom next , zoom previous) that i can use in all my Flex applications with the ability to set the orientation of the Toolbar (vertical or horizontal), anytime u need toolbar u just have to drag and drop from custom and set two proprties and ur done.

you can view a sample HERE and as its goning to be always you can get the source code HERE

just set 2 properties, ApplicationMap to you Map Id and the ToolbarDirection to horizontal or vertical and ur done