This blog describes how you can convert a string like "Alex" to a Guid with value: 1fe62611-cd3f-46e3-1e09-0ccb19e446e7. The same string always results in the same guid.
Towns in the Netherlands exchange information about (soil)locations with a unique ID that start with a unique part of the town, following by a number. Something like "Amsterdam512" and "TheHague881". This is not a handy as locaties sometimes becomes part of to an other town. The towns decided to use guids to make an ID unique for the whole country.
All guid's needs to be converted once, new guid's can be created with "Guid.NewGuid();" (If created in C#);
To convert al ID's to guids, they created a webservice. It creates a new guid for each new ID and put the combination in a database. If request contains a ID already in the database, the guid is returned from the database.
A webservice is not needed if you use (part) of a secure hash. This performs much better and a method is easier to call than a webservice. Also you don't have to deal with concurrency issues.
Example calling client:
The guid is created this way:
using these extension methods: