I’ve got an internal customer running my WSS RSS feed generator (perhaps Scoble will be next?) and I’ve discovered a common issue with most news aggregators. They don’t handle feeds that require authentication. Windows SharePoint is designed to be a team collaboration tool. Obviously, part of team collaboration is not allowing non-team members access. I checked through the source code to RSS Bandit and discovered that while it handles many HTTP errors, including redirection and moved permanently, it doesn’t handle unauthorized. I was able to add support for credentials via one line of code (request.Credentials = CredentialCache.DefaultCredentials;). Of course, what I want is to try the default credentials first, then pop up a dialog to allow the user to enter alternative credentials. XP provides some of this plumbing, but I’m not sure how much is exposed via BCL.
Categories
Tags
ASP.NET (31)
Blogging (128)
C# (18)
Community (81)
dasBlog (12)
Database (13)
Debugger (23)
DLR (25)
Domain Specific Languages (15)
Dynamic Languages (12)
Entertainment (14)
ETech (15)
F# (51)
Family (33)
Functional Programming (18)
Games (18)
Hockey (34)
IronRuby (16)
Lanugages (43)
LINQ (24)
Microsoft (31)
Modelling (61)
Movies (23)
Music (20)
Parsing Expression Grammar (16)
PowerShell (41)
REST (18)
Ruby (23)
Service Broker (14)
Silverlight (20)
SOA (94)
Visual Studio (21)
Washington Capitals (43)
WCF (31)
Web 2.0 (67)
Web Services (12)
WF (21)
Windows Live (29)
Working at MSFT (23)
Xbox 360 (54)
XNA (15)
Series
Disclaimer
The information in this weblog is provided "AS IS" with no warranties,
and confers no rights. This weblog does not represent the thoughts,
intentions, plans or strategies of my employer. It is solely my opinion.
Inappropriate comments will be deleted at the authors discretion.