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
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2008 | Hits: 439

Similar Posts

  • New Entity Framework Feature CTP for VS2010 Beta 2 more
  • Improving JavaScript Skills more
  • Idle Timeouts in RIA Services Authentication more
  • ClientIDMode in ASP.NET 4.0 more
  • A generic way to find ASP.NET ClientIDs with jQuery more
  • Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth more
  • Quick thoughts on the Microsoft AJAX CDN more
  • Creating Objects with Observable Properties in JavaScript more
  • Remove the business context from your services more
  • Organizational Chaos Followup 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