I'm planning a new service for my ASP.NET MVC app and want to use tags. I've never really been too fond of tags, but SO delivers so I'll give it a shot.
Here's the simplified schema I'm thinking about:
Post Table
------------------
PK PostId BigInt (or perhaps uniqueidentifier)
...more post related fields...
Tags nvarchar(200)
Then I'd LINQ query something like:
_db.Posts.Where(p => p.Tags.Contains("TagToFind"));
Obviously, this is super simple, but would do what I need. Do you see any glaring problems with this? Likely performance, I'd imagine .Contains() isn't exactly fast.
UPDATE I plan to have a pre-built array of allowable tags that the user can pick from.