I've added the source code for the library that I use in the later part of the session on to the end of this blog post on my site;
Mike.
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
I've added the source code for the library that I use in the later part of the session on to the end of this blog post on my site;
Mike.
@Aaron:Aaron, that's really useful feedback - thanks a lot for that because I hadn't really thought about it.
I used var here mostly because it gives me less typing to do and less thinking about what type is actually coming back from some of those methods but, you're right, it helps me whereas it might not help the viewer so much so I'll definitely keep that in mind.
Mike.
Just a quick note - you can find a walkthrough of all the code in this talk over on my blog site;
which should help in following along. That code has also been updated for the latest drop of Rx.
Mike
Thanks for the feedback - I don't have the source code I'm afraid as I tend to put these things together for the session at the time and not keep them afterwards.
Glad that you found it useful though ![]()
Mike.
It's on my list of things to think about, yes ![]()
Mike.
Hi,
Sorry for replying so late to your question, I'd missed it as a comment.
In your code here, you're doing an import of a IWordProcessor onto your WordProcessor member variable. You're also (in the same class) initializing the composition container with all the Assemblies that have shipped with your Silverlight XAP.
By the way - you should *not* have to write that code because it is the default behaviour of MEF in Silverlight anyway so you should be able to get rid of all the code in the function InitializeContainer().
However, if you want MEF to satisfy the import that you have on your MainPage then you do need to call CompositionInitializer.SatisfyImports() on that instance so you can't comment that code out.
Hope that helps.
Mike.
Jon,
Not sure what you mean - WebClient does have support for credentials. Off the top of my head - if you're on the Browser stack then it'll on use default credentials but if you're on the Client stack it can either use default/prompt or take supplied credentials based on the UseDefaultCredentials property.
Is that not what you're seeing?
Mike.
A quick note on these videos - they have become a little less relevant with the release of the Silverlight RC.
Be wary of changes that happened between the beta and the RC. Not every video will be affected but some definitely are.
Yes, you can do that if you like. Or you can use WCF and do a similar thing via SOAP services and get a nicer programming model. Or you can use a framework like WCF Data Services to expose a data model ( Entity Framework/LINQ to SQL/Custom ) from the server side over easy to access RESTful services including a standard for how a URI can represent the query over that data. WCF RIA Services would be another choice at a higher level of abstraction stil..
Lots of choices...
Hi Mike,
It depends on your hoster, the hosting platform and the access that they give you to that platform. I'm personally using a couple of hosters at the moment for Windows hosting and they both allow me to set properties like integrated authentication albeit through very different UI's.
Mike.