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

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

Related

C# - mshtml and SHDocVw Complete Documentation

I'm not sure if this is a valid question here but I am having a hard time finding proper documentation for these 2 DLLs, mshtml and SHDocVw.
I'm trying to do some automation using these 2 DLLs. To do that, I must read and understand first what these 2 libraries contain, all its methods, functions, etc.
But I can't seem to find any complete documentation online. I tried checking in MSDN and even in Microsoft but it is somewhat lacking in information. For example, I can't find any information regarding HTMLInputTextElement and IHTMLSelectElement.
I'd like to ask for your help on websites/books that contain adequate/complete information on these 2 libraries. I hope you guys can point me to them.
Ok I found documentation for MSHTML:
https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa741317(v=vs.85)
https://msdn.microsoft.com/en-us/library/aa741322(VS.85).aspx
SHDocVW is basically IE, I dug around and found this: https://web.archive.org/web/20070416164409/http://msdn.microsoft.com/workshop/browser/webbrowser/WebBrowser.asp

Clear "Temporary Internet Files" from a server

Basically I use http://support.microsoft.com/kb/326201 for clearing the cache.
But in a article http://msdn.microsoft.com/en-us/library/windows/desktop/aa383990(v=vs.85).aspx it is mentioned that the above KB cannot be used from the server.
They asked to use WinHTTP, can anyone suggest me a way to implement this.
I searched in net but can't get any proper article for this implementation.
I am a beginner too, so find it difficult for implementing.
Please help me anyone...
Thanks in advance

Reading blogger entries from .NET

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.

authorize.net C# wrappers/library

Are there any good libraries or wrappers for Authorize.net? The code samples available from their site seem a little ... raw. I'm looking for an easy to use, object oriented API that I can simply set some properties, and it takes care of all the plumbing code under the hood.
I've found a few random blog posts of people offering their code that they've written, but code offered in a blog post doesn't give a high degree of confidence generally that it's been well tested. I mean, we'll consider these if we have to, but we'd prefer something that looks like it's gone through some sort of release/testing cycle ... even if it's just that it has been posted on codeplex or something.
Thanks! :-)
A little late answering, but perhaps this?
http://code.google.com/p/payment-processor/
I use SharpAuthorize.com on a few eCommerce sites. One of which makes around $10K / month...
MinimumCreditCard authNet = new MinimumCreditCard()
.Login("testdrive")
.Password("password")
.TransType(TransType.AUTH_CAPTURE)
.CardNum(_cardNumField.Text)
.ExpDate(_cardExpField.Text)
.CardCode(_cardCodeField.Text)
.Amount(8.00);
if (authNet.Authorize())
{
// Money in your pocket!
}
It is noted on the site, but you should use a transaction id instead of the username and password in real code.
See my answer here, it should help you out. In my answer, I point to a blog post as a reference. You may need to view the revisions to see my whole answer, though. For some reason it is getting cut off for me. Check out the Gateway Provider Implementations section of the blog post. It should help you out and get you going on implementing your own code for talking to the Authorize.Net API. I've used a similar implementation and it has worked well for me.

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