Creating a unique or semi-unique ID in .NET

Posted by: Rick Strahls WebLog, on 09 Mar 2006 | View original | 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: 1908 | Hits: 394

Similar Posts

  • Easy way to create a web-based AJAX SFTP Client application more
  • Bulk Importing Content into a SharePoint Publishing Site more
  • Idle Timeouts in RIA Services Authentication more
  • Microsoft Ajax 4.0 Preview 4 now available more
  • ClientIDMode in ASP.NET 4.0 more
  • Breaking the WSS Top Link Bar in two with jQuery more
  • Accessing Html Document Content in other Frames more
  • A generic way to find ASP.NET ClientIDs with jQuery more
  • Quick thoughts on the Microsoft AJAX CDN more
  • Introduction to HealthVault Development #6 Fixing a mistake 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