0
what is a GUID? “GUID is a Globally Unique Identifier or GUID is a special type of identifier used in software applications in order to provide a reference number which is unique in the context for which it is used, for example, in defining the internal reference for a type of access point in a software application, or for creating unique keys in a database. While each generated GUID is not guaranteed to be unique, the total number of unique keys is so large that the probability of the same number being generated twice is very small.” (Wikipedia)
- GUID ensures global uniqueness
How to create GUID in c#.net:
Guid CartGUID = Guid.NewGuid();
GUID's are very helpful when we are implementing e-commerce websites,for giving shopping cart id's.
Post a Comment