GotDotNet is a big repository for interesting projects (obviously, if you're lucky to check it during the days where it works...
). Today, thanks to Jason Bentley (and Ryan Farley), I've discovered a project that could be really interesting for me: an ADO.NET Data Provider for NNTP.
Why is so cool? If you want to search on newsgroups, with this ADO.NET provider you could write something like this:
nntpConnection conn = new nntpConnection("news.microsoft.com");
try
{
conn.Open();
nntpCommand cmd = new nntpCommand("select top
10 * from microsoft.public.dotnet.languages.csharp", conn);
nntpDataAdapter da = new nntpDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
dataGrid1.DataSource = ds.Tables[0];
cmd.Dispose();
}
finally {
conn.Dispose();
}
And you're ready to go... really nice and easy to query the newsgroup world! 