Creating a unique or semi-unique ID in .NET

Posted by: Rick Strahls WebLog, on 09 Mar 2006 | View original

I have a few applications where I need to create some unique IDs that can't be GUIDs. GUIDs are great if you truly need a globally unique identifier, but they are a bit of overkill when it comes to application that locally unique ids. GUIDS are nice but they are big. If you need to represent them as strings the 38 characters it uses with punctuation is a bit excessive. There's nothing that I hate more than browser querystrings that have 3 GUID IDs embedded in them <g>…   The most...

Advertisement
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.

Similar Posts

  • atlas:DragOverlayExtender more
  • Atlas databinding and Custom transformers more
  • Repeating myself (should be: overriding autogenerated item IDs in Repeater) more
  • ASP.NET Podcast Show #53 - Atlas ListView and some Declarative Databinding more
  • An Atlas TabStrip control based on the Accordion control more
  • ASP.NET Podcast Show #52 - Its our Birthday and Wally talks about the Atlas Update Panel more
  • Proof of concept: popup calendar ATLAS like more
  • Proof of concept: popup calendar ATLAS like more
  • An Atlas TabStrip control based on the Accordion control more
  • Mapping: Another Inline XSLT Scenario more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD