Reading blogger entries from .NET - c#

What is the best way to read entries programatically from Blogger using .NET/C#?

GData has a Blogger API. There is a C# library that can be downloaded. This is an official library from Google. I've used it in the past (though in PHP). The documentation is a bit light, but the code works very well.

The documentation is absolutely atrocious. It literally has zero pertinent information for anything valuable. Your best bet is to get your FeedQuery and then step through in debugger. Once in the debugger you can see all entities and pick out the ones you want. If you have any questions, post em here, I've been working with this API for the last two weeks.

Related

What is the .Net core equivalent of KerberosRequestorSecurityToken?

I am specifically trying to replicate a few lines of code, but cannot seem to find the equivalent in .net core. Any help in replacing would be appreciated, or at least some direction in where to look. I did try looking into Kerberos.NET but it didn't seem to have this kind of functionality.
System.IdentityModel.Tokens.KerberosRequestorSecurityToken Ticket = null;
try
{
Ticket = new System.IdentityModel.Tokens.KerberosRequestorSecurityToken(UserSPN);
}
So, I came across a blog post published the day I posted this question and I've been messing around with it. It does effectively replace the System.IdentityModel.Tokens.KerberosRequestorSecurityToken class. The blog is from Harmj0y, who effectively wrote PowerView and helped write Sharphound. My next step is trying to replace the interop features, since the .dll files referenced won't be available on *nix type systems. That may end up being another question. The blogs link is below.
http://www.harmj0y.net/blog/redteaming/kerberoasting-revisited/

What are some good resources for learning json?

does anyone know of any good resources for learning JSON? And preferably, if it even matters, from a .NET point of view? It seems like there aren't any straight forward resources for learning it yet its obviously used extensively (facebook api and twitter api and many, many more). I know I'm not the only one with this question so I'm sure many would benefit from any answers posted.
Thanks.
The most thorough resource is the RFC. That is reasonable to read, but has good examples and will fill in the small gaps left in those tutorials. It does include a little you can probably gloss over, like how to auto-detect the Unicode encoding.
The Wikipedia article is also good now.
Make sure you also look into JSONP, which is a way of padding JSON with a JavaScript function call to get around same-domain restrictions.
http://www.json.org/
http://en.wikipedia.org/wiki/JSON

WCF REST: ReadAsDataContract with Twitter Client (Aaron Skonnard)?

I am looking for some help with ReadAsDataContract in WCF REST. I found screencast and walthrough from Aaron Skonnard which shows how to ReadAsDataContract.
For some reason I can't seem to find it again. I have found 1 screencast from him but it only shows info about ReadAsXML etc
Is anybody aware of this screencast and where I can locate it?
I believe the example screencast was a demo of a twitter client - but i could be wrong.
I also may have got the person wrong, Aaron Skonnard?
Failing that anybody know of good info / screencast. If i remember correctly you need to add some attributes and specifically clear the CLR namespace or something like that - such a long time ago i can't remember.
You can probably find the video you're looking for here:
http://www.pluralsight-training.net/microsoft/olt/howtovideos.aspx?category=WCF%20REST

Subsonic 3.0 General Questions

Ok,
I was eagerly awaiting the release of subsonic 3.0 to use as my low-level data layer, and now its out. I'm currently using the ActiveRecord templates (having tried both the repository and advanced templates) and I have one HUGE request and a few questions:
Request: Other than bug fixes, Rob please spend the time to provide documentation. I don't mean 5 examples, I mean API complete documentation. Here's why:
I'm testing subsonic by writing ASP.NET MembershipProvider and RoleProvider classes and simple questions continually slow me up using subsonic:
Q. Assuming I have a class 'User' and I update/save/delete a record using
user.Save();
I need information on how to get success/failure? Do I look for an exception on failure or can I get a count of 'affected' records (old school?)
Q. If I get an exception, which exception(s) can I expect?
I'll have more issues, but I really believe a good functional API documentation would solve the problem.
If the answer is 'read the source code', then I'm sure you're going to chase quite a few developers away from subsonic. I really want to use the library, but the point is "use" the library, not reverse engineer it.
-Jeff
Q. I need information on how to get success/failure? Do I look for an exception on failure or can I get a count of 'affected' records (old school?)
If it doesn't throw an exception then it's worked
Q. If I get an exception, which exception(s) can I expect?
You can expect a DbException
We don't use custom exceptions. I spent 5 weeks writing docs - so yah I did spend some time on this. You could also find your answer there as well: http://subsonicproject.com/docs
3.0 is a little too buggy for me so far. I think I am going back to 2.x for now, thanks for all the hard work though.

How to get into SubSonic?

A month ago I searched for some tools that will generate C# classes out for my SQL database/tables. So I don't have to write DAL classes manually and to save a lot of time.
I came across "ORM" and subsonic. I watched the webcasts on the homepage http://subsonicproject.com/ and was pretty impressed by it.
But I am still missing more documentation/knowledge to feel comfortable with subsonic to use it in our projects. Today I read about the "migration" feature somewhere - accidental.
How to get into subsonic? How to get more comfortable with it? How to know about all the features/possibilities it provides? Are there any good blogs/tutorials/whatever for subsonic?
Unfortunately, the best SubSonic "documentation" is in the form of screencasts, but they are very easy to follow.
Quite a lot about SubSonic on Rob Conery's (original creator) blog http://blog.wekeroad.com/tags/subsonic/.
Personally found the best thing is (like Matt said) to just use it, set it up in external tools in VS, get the connection string and a few other config settings sorted, and you're just about good to go. You can get the basics down in an afternoon.
The forum is quite active http://forums.subsonicproject.com/forums/, and a good place if you get stuck.
SubSonic is irritatingly short on documentation (which is one reason I abandoned it). Scott Kuhl wrote a "Getting Started with SubSonic" document (just Google his name and SubSonic) but parts of it appeared to be out of date.
Here is Scott's blog - a place to start at least.
Here is the document's home page. I was curious as to whether the document is indeed out of date and I think it is: the web page has a last updated date in 2006.
Unfortunately, I know of no other documentation and I did look for it.
Update: See the link to documentation that Rob Conery provided in his answer.
I admit it - our docs suck :(. I did try to put a site together:
http://subsonicproject.com
Hope this helps.
Just start using it.
It is very simple and pretty straight forward. There are several screencasts on how to generate your classes with sub commander, once you have that just hit . and see what you can do with them.
I put together a template project referencing SubSonic generated off the Northwind Database. A very simple project, but should easily be enough to get started on your first project. Check it out here:
http://ajondeck.net/post/2008/12/29/ASPNET-20-SubSonic-Project-Template-With-SQL-Server-2005-Northwind-DB.aspx

Categories

Resources