Tags: | Categories: Blog Posted by admin on 2/12/2010 11:38 AM | Comments (1)

Finally this weekend I had time to work in the Map Stats to bring it to an useful tool.  It was overdue in a face lift.

MapStats is a simple script that when added to your website or blog, provides you with a Silverlight Map Control with the status and location of the people hitting your website by time.

I used ESRI technology and base maps. You can download the ArcGIS API for Microsoft Silverlight/WPF version 1.1 here.



  • Changed the map to Web Mercator Auxiliary 102100 to consume a great ArcGIS Online map
  • Added better symbology with a color ramp and animation
  • Added a slider when open full screen to see different times.
  • Upgraded to ESRI SDK for Silverlight 1.1.
  • Added a legend.


With the slider you can see the history of the requests, by default shows you all request of the last 3 days.

How to add MapStats to your website?

Just add the script below to your website you can change the Width and Height to fit anywhere in your website.

<script type="text/javascript" src="http://mapstats.net/Stats.ashx?Width=300&Height=200"></script>


You’ll be able to see the map and will start gathering information of the users hitting your page, by IP address will find the location and show them on the map.

How do I check the top websites with the Map installed?

You can check the website MapStats.NET for the number or geocoded IPs collected on your website.

If you press the button to see the Full Screen you then can interact with the map and see the tooltips as well as the legend. Being able to see the history of the requests to your website is very useful by just sliding the bar. If you want to see it running, just look to your right and down as you read this post, you’ll find the map, click the button to open it full screen and browse around.

Ok, I need ideas and feedback of where to go from here.



None of my opinions reflects opinions or views by my employer nor Microsoft. This is just my personal blog that is provided "AS IS" with no warranties and confer no rights. The postings on this site are my own and don’t necessarily represent ESRI’s positions, strategies or opinions.

Tags: | Categories: Blog Posted by admin on 2/11/2010 6:13 AM | Comments (0)

This fantastic walkthrough is for developers who need to build and deploy a server object extension for use in server applications. It describes the process of extending the MapServer to provide methods for performing a specific type of spatial analysis on the features in one layer of the map.  The scenario consists of four parts:

  • Developing the server object extension
  • Developing the ArcCatalog and ArcGIS Server Manager administration property pages for the server object extension
  • Registering the custom server object extension  
  • Developing a client application to work the server object extension

Read the whole complete tutorial here:


If you are thinking in extending ArcGIS Server, this is the best documentation I found that got me running.

You can actually get the sample here.

Even if the link says 9.3 it works in 9.3.1.



Related links.

Extending a ArcGIS Server geocoder.

Creating a Map Service Browser

Tags: | Categories: Blog Posted by admin on 2/9/2010 5:25 PM | Comments (0)

Always waiting until the official notice comes out before opening my mouth. Scott Guthrie just did that, Release candidate for Visual Studio 2010 and .NET 4 is out.

You can download the RC here if you are an MSDN subscriber. You’ll be able to chose from all the versions of VS2010 and .NET 4 (x86, 64bit)

I have downloaded and install and I have to say I didn’t see any problem installing with the existing Visual Studio 2008 and Silverlight 3. Still all my application are working fine, will let you know after a few more tests. Yet broke my Silverlight 4 application :-(

Happy coding.



PS. In the same token I needed the formula to generate the radius for tomorrows work, so I thought just to posted here as I keep forgetting it. Sorry

Tags: | Categories: Blog Posted by admin on 2/9/2010 5:04 PM | Comments (1)


I can only speak for myself in this one, I have seen other people master the balancing world of development without much ado, in my case, is being a lifetime of learning the way that works for me, hopefully my few tips can help you out or amused you to know that I’m still struggling in that battle.

The biggest problem for any developer is that is consumed by the project that works at every single time, developers like to put all their energy to deliver a complete solution using the framework and tools setup to accomplish that task. Saying that, is difficult to come up for air to see what’s around. The biggest sign you have that problem is that after working in a huge project, you realize how many things you have been missing.

Looks like every project always comes with a hard deadline, never seen any project without it, just finding the way to find any other time is an impossible mission.

In previous years I have been consumed by technology and getting that project to completion, now I find myself organizing myself better on the task at hand, being able to break down the tasks to small manageable pieces that will give me a better overview of the complete solution as well as the project deadline. I personally try to have more than one project at the same time, allows me to switch gears and pull myself out of not being consume by the project.

If you can, try to work in project with different tools and technologies, so if you have a ASP.NET project, try to get a dynamic language project consuming other kind of data. Will allow you to completely force you to think differently and not to confuse them. I have mistake before to different ASP.NET projects in C#!

Something really hard to do is to leave a task not completed, I wouldn’t recommend to add time schedules, I would stay on the task until is being completed before changing projects, that will allow you to start with a clean sheet. Not finishing a task for the lack of time, or because you are pushed to move to another project, will cause you distractions. Some developers get agitated when they don’t have the time to fix a bug or something is not working the way they would like.

Overextending yourself is normally what has happen to me, I never say no to a project really, when I get the chance to sit it out or dance, I always dance, probably my advice to myself should be, I need to learn when sitting that one out is the right choice.

I personally use the Windows 7 post notes that you can create for all my tasks, so I can always see them in the desktop, every single task will be added as a new note, I’ll reorganize them in the desktop by priority. Before Windows 7 notes I use actual post-its.

All and all, I keep myself interested by multiple projects, scheduling those are the hardest part, and in the overall schedule of work, family and my time for my pet projects is probably the hardest schedule of all. I guess at that point becomes priorities instead of scheduling. I wonder why I never finish any of my pet projects.

How do you keep your sanity as a developer when not all work is a workflow? I would like to hear from you and what do you use to organize yourself.



Tags: | Categories: Blog Posted by admin on 2/8/2010 4:55 PM | Comments (3)

Feels like there are millions of conference that developers need to go every year. There is the MIX2010 that by the way Shawn Wildermuth will be presenting. If you haven’t been to one of his presentations, you are up for a treat, he is a Silverlight genius yet he can communicate it better than any one I know.

We have the big PDC in LA most of the time to bring developers to show what’s coming out. Those are expensive conference that get you out of the office to meet other developers in the same situation than you, yet, my question, are they really good for your career and knowledge? What do you really learn on those besides what’s coming out and how cool can you make something look with a good presentation?

My modest and personal opinion is those conferences won’t bring you anything you can substantially see, no now nor in the future. There are big shows by companies to serve some marketing schema. Its good for your boss to go, not for the developer. For developers we have the PDC Underground and the code camps. If you are asking yourself if I’m going to the PDC or the MIX, the answer is no, I didn’t go nor I’ll go to the PDC as well as I gave my sit at the MIX to my boss. Sad I’ll be missing the presentation about ASP.NET MVC 2.0 from Phil Haack.

Code camps is everything a developer needs, bring your computer and mingle with the experts presenting, asked them to help you out with your code, open your laptop and see them writing code with you. Let developers present for you and share your knowledge with them. In the same line with code camps, we have also the Summits, where developers also get together. I’m talking about the ESRI Developer Summit as well as the Microsoft MVP Summit.

For those 2, it will be my third year attending both. Both will have developers everywhere learning and sharing information, both will have presentations by developers learning new technologies and as the presentation happens, laptops and netbooks will be open to capture every single bit of code.

If is your first time at the MVP Summit these are a few tips for you that will help you make the best of.

  • Sign up with twitter and enable the geocode section, so you can use it and find people and presentations, the MVP Summit has many things happening at the same time and is important not to miss what you are looking for.
  • Ask your MVP Lead, has all the information and knows every single detail, if you are an ASP.NET MVP you know your lead will go an extra mile to make sure you get the information you need.
  • Find the rock starts, as you walk around the Summit, you’ll see familiar faces from blogs and conference, don’t be shy and introduce yourself, they are there to share as much as you are.
  • Find the underground meet up after the schedule, there are always meet ups for different technologies after the dinners, those are great times when wanting to talk geek.

I’ll be this year blogging almost real time, I’m not expecting to find lots of NDA presentations hopefully. Keep an eye on my twitter or the hashtag #mvp10 at Twitter.



Tags: | Categories: Blog Posted by admin on 2/7/2010 4:53 AM | Comments (1)

Many experts came out after the announcement disappointed by the iPad, after the big hype is understandable. Yet why Apple wants to follow a different formula that got them so successful? I went online to find a tool, now with a little browser you can really do lots of work. I used Google Trends to find out what people are looking for and interested. If you look at the graph below, the huge spike is people looking online or posting online information about the iPad. Compared to other devices, no other gadget had that spike until the Apple Tablet came to the announcement and stay up after as well.   

Blue : iPhone

Green BlackBerry

Yellow: Android

Red: iPad

Google Trend


For January only view to really see the spike.


The huge jump means how many people were looking the the device in January, even after the announcement.

The people has spoken, they are fascinated by the iPad, I’m expecting a huge amount of people lining up on Apple Stores to get those fresh devices of the shelves. Does people searching for that means curiosity? What other device ever had that curiosity on the web?



Tags: | Categories: Blog Posted by admin on 2/6/2010 5:14 AM | Comments (1)

The open source Graffiti CMS 1.3 project started a new trunk on the source control to make room to the effort for Graffiti CMS 2.0 development. Telligent’s Graffiti coordinator posted an announcement with ideas for Graffiti 2.0

Main new feature is moving away from the database layer to something more standard, on the post didn’t talk about a mobile theme to compete against other blog engines with those already build in.

The new renewed interest for Graffiti CMS is letting know developers that Telligent didn’t just open sourced that application to stop supporting it, the way Telligent is adding time coordinating the open source solution means that even when they are giving all that to the community, they are also believe that good applications should not die just because didn’t sell as good as they first predicted.

In my modest opinion, I believe that if the open source solution gets more attention and developers to help out on the 2.0 initiative, we could actually come up with a fantastic version to compete with any other CMS out there.

This is a project to keep an eye on it, and I’ll be upgrading my blog http://alpascual.com now running Graffiti CMS 1.3 to 2.0 when released. The important here is the timeline from the announcement to the release. Most people have a very short memory, if the projects gets on its way to migrate it to 2.0 with new shiny features with a simple release cycle, the open source solution has the chance to be counted among the blog engines out there.

If you decide to help, this are the steps. Download the source code one time or connect to the TFS server / subversion. Whatever you prefer.

Project Name: graffiticms

Subversion URL: https://graffiticms.svn.codeplex.com/svn

TFS Server URL: https://tfs02.codeplex.com

Source control client connection instructions

Read the announcement from Kevin at Telligent and sign up for a task.

Happy coding..



Tags: | Categories: Blog Posted by admin on 2/2/2010 10:49 AM | Comments (0)

I got many questions and emails from people about my previous post about problems running windows communication foundation .svc in Windows 7 upgrade

Looks like many systems after you install .NET 3.0 the system does not register the SVC services, I have seen that in Windows XP normally and of course upgraded versions of Windows 7. If you get an error 500 the first thing to do is to enable the service for debug

Enabling debug on the svc Web Service, open the web.config and change the

<serviceDebug includeExceptionDetailInFaults="false" /> to

<serviceDebug includeExceptionDetailInFaults="true" />


If the problem is that IIS does not understand the svc extension, do not add it in the mimetype, follow the steps below:

Registering the SVC service run the ServiceModelReg –i on the C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation directory.

The output should be this:

C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>service
modelreg -i
Microsoft(R) Windows Communication Foundation Installation Utility
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]
Copyright (c) Microsoft Corporation.  All rights reserved.

Installing: Machine.config Section Groups and Handlers

Installing: System.Web Build Provider

Installing: System.Web Compilation Assemblies

Installing: HTTP Handlers

Installing: HTTP Modules

Installing: Web Host Script Mappings

C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>



<extendedProtectionPolicy policyEnforcement="Never" />


Hope this helps


Tags: | Categories: Blog Posted by admin on 2/1/2010 6:39 PM | Comments (0)

Soon the .NET 4 final release will be here with Visual Studio 2010 to be the application you’ll be using 80% of your time at work. The date hasn’t been confirmed by Microsoft. As a developer this is your new homework, learning the new version of .NET if you are a .NET developer is a must, who do you know that got stuck on .NET 1.1?

This one is a major release from Microsoft, not like the .NET 3.0 and 3.5. If we are talking about ASP.NET IIS will be running applications in 2.0 and 4.0 in the same computer. The major new feature in my modest opinion is parallel processing.

In the new list I would like to feature can be found at wikipedia that keeps track of those changes, no point for me to relisted here.

Hopefully this post for the 2 readers I have is a heads up to invest some time to learn this new and very exciting release from Microsoft.

Where to learn?

Best place I found is “as always” Scott’s Guthrie’s blog that spent his time creating videos to explain each feature and how to use it. Please start here, Mr. Guthrie’s blog is always great when new technologies from Microsoft are coming up.





Tags: | Categories: Blog Posted by admin on 1/31/2010 1:10 PM | Comments (0)

Apple introduced the iPad back on January 27th as the missing link between the smart phone, or the iPhone as they want to presented, and you laptop or desktop computer, the market need something in between, their answer the iPad. My full  review can be found here.

The price for the iPad is a little to expensive, cheaper than projected, starts at $499 for a simple 16 GB of storage. Yet I do believe that Apple is right, there is room for a device between the full computer and the smartphone, Steve Jobs made it clear that is not the Netbooks. I believe those devices have been really popular and I am sure Mr. Jobs sees them as a threat to his beloved iPad.

This weekend my wife, she is more technical that she thinks, surprised me with one of this Netbooks the Asus  Eee PC 1005, with 250 GB hard disk, 1 GB of RAM, 10 inch screen, just like the iPad and with Window 7 Starter already installed.

My first impression was the weight then I took it out of the box, very light 2 pounds only, perfect to carry on your backpack. Battery life is one of the best features in this device, between 9 to 11 hours, depending on what are you doing with it. I fully charged the device and while I’m typing this I haven’t use even 3% of the battery. Also is good to note the power supply is pretty small, many laptops or netbooks come with this huge power supplies that make carrying the device, not that good if the power supply is heavier than the computer.

The mouse pad has a zoom in, zoom out feature using 2 fingers in some applications; Adobe Reader and Microsoft Word, I tried with Adobe Reader and works just like the iPhone. The computer comes with a webcamera and microphone build on the top of the screen. If I look for a feature that disappoints me a little, I have to say the keyboard. Even being a full keyboard, is pretty small, when you are used to something bigger, I think I’ll get used to soon, also the noise and how it feels when you are typing is very cheap plastic feeling. I should not expect the Commodore 64 keyboard in one of this computers.

Something to note, this device comes with a manufacture application to provide you with online storage, I won’t be disabling that at all. Looks like you can share that storage with other computers, I wonder if I can set it up as my backup destination.

In a few words, this is the device to do the normal things of every days tasks. Still going to install Visual Studio 2010 on it.

Related read about the iPad