Creating a unique or semi-unique ID in .NET

Posted by: Rick Strahls WebLog, on 09 Mar 2006 | View original | NEW Bookmarked: 0 time(s)

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
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1298 | Hits: 231

Similar Posts

  • Bind InfoPath form to XML, Tables, SharePoint Lists & Web Services more
  • Export Word documents to XPS - Open XML Paper Specification format more
  • Create or Manage XPDL 1.0 & 2.1 packages using Aspose.Workflow more
  • Application Identifiers (AI) for EAN-128 barcode generation more
  • Quick thoughts on the Microsoft AJAX CDN more
  • Idle Timeouts in RIA Services Authentication more
  • Create charts & add ad hoc capabilities to .NET Web & WinForm apps more
  • Live Mesh as an application platform more
  • ClientIDMode in ASP.NET 4.0 more
  • A generic way to find ASP.NET ClientIDs with jQuery more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | 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