Re: [OzSilverlight] Success or Failure of SL.?
Hi, First on the AJAX/JavaScript comment: I completely agree. This is something I mentioned in the Future of the web discussion panel at Tech Ed in Sydney. I think that in the end JavaScript might be a stronger competitor to Silverlight than Flash. JavaScript is getting significant faster in Chrome, FireFox and Safari (and Microsoft is playing catch-up in IE8). New frameworks like jQuery (now embraced by Microsoft) is making it easier to build rich JavaScript based applications, and the tooling support is also getting more solid. By using plain AJAX/JavaScript you don't have to depend on any add-in or vendor lock-in. In the future Canvas and Video, when ever implemented in all browsers, might make AJAX/JavaScript an even more compelling alternative to Flash and Silverlight. That being said I am big Silverlight 2 fan, and definitely think the technology is ready for main-stream development work. I think Silverlight 2 will be an easier alternative for businesses wanting to build Rich Internet Applications. The reason: tools they know (VS2008), same language on client/server, and consistent API/documentation/tooling (compared to the web where you have to know multiple technologies to do it well). I also think that the requirements and expectations within (internal) line of business applications will go up as the users get used to great online user experiences on the public web. These users will expect something more inside the company, and I think that in the future having great internal software might be a differentiator for companies wanting to recruit information workers. As to the Flex vs Silverlight 2 decision I don't know enough about Flex to really comment on it. However, I think that most of us have seen great examples of Flash-based RIAs, so the technology is more than capable of delivering great applications. One of my current favorites is http://www.sliderocket.com/. So if you and your team knows Flex, and the company sees that as a important technology in the future, by all means use it! That makes perfect business sense. What I'm saying is that Silverlight 2 feels a need for the .NET/Microsoft development crowd who is comfortable in VS2008 and C#, and now need to meet higher expectations to deliver great user experiences online. - Jonas On Mon, Oct 20, 2008 at 9:08 AM, Barry Beattie [EMAIL PROTECTED]wrote: You want me to give you a run sheet of our entire game plan so you can run it off to your buddies at Adobe, think again bazza :) think again! :) Sorry, nice try but no cigar. no, Scott, it's not that. I actually don't cut much code anymore these days: analysis, design, recommendations, etc. I'm trying to get a deeper understanding on SL's place in the world now/soon and I'm not going to recommend spending resources on cutting edge (if not bleeding edge) if it's not yet worth it to solve real business problems. I don't work in a design agency, I don't work with general-public-facing web. I mean, because I know Flex, I can see more than one option so I'm looking at ROI, product differentiation, what works for where and why, alternatives**, etc. E.g: SL's use of C#, while important for teams, can be negated in other ways: what Peter DeHaan at Adobe is up, etc. As for getting SL infront of eyeballs, I've already given you one suggestion - but I do admit cross-department logistics make it a long shot, which is a shame. so I *am* pumping you for information, Scott, but not for the reasons you think. But you did do a good job shedding a bit more light a couple of emails back, and for that many thanks. barry.b out. ** I've come across more than one example where a DHTML/Ajax-y app would work better than what's been served up with Flex. Perhaps both Flex and SL share a competitor there? --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Success or Failure of SL.?
True, but there is heaps of web designers out there who knows CSS and HTML. So the designer friendliness might tip both ways when comparing traditional web applications and Silverlight (at least at the moment). You can also buy tons of HTML templates and designs online you can include in your application, something currently not as available for WPF/Silverlight. For the interactive part you're right, there isn't any good JavaScript tools at the moment to help designers. However, there are jQuery books and tutorials focusing on the interactive styling and animation aspects of jQuery (rather than the AJAX data stuff). CSS selectors is a key concepts in jQuery, and something widely used and understood by web designers, making jQuery a really approachable JavaScript library even for designers. But yes - as designers starts to pick up on Blend, and we as developers understand how to architect our applications to make them designer-friendly, we can see some great developer-designer workflows. On Mon, Oct 20, 2008 at 9:35 AM, Jordan Knight [EMAIL PROTECTED]wrote: The reason: tools they know (VS2008), same language on client/server, and consistent API/documentation/tooling (compared to the web where you have to know multiple technologies to do it well). +1 - but don't forget designers here... there aren't really any good tools to bridge the gap from design to JS. This is why I think that even though JS is getting faster and faster with engines like TraceMonkey and V8 I just can't see it passing the usability/creatability (sic) test that designers require... i.e. they will continue to be scared of it. SL and Flash are far more friendly environments for our designing comrades. Add in a compiler, testability and familiarity for developers and the environment is nicer all round. *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jonas Follesø *Sent:* Monday, 20 October 2008 9:27 AM *To:* listserver@ozsilverlight.com *Subject:* Re: [OzSilverlight] Success or Failure of SL.? Hi, First on the AJAX/JavaScript comment: I completely agree. This is something I mentioned in the Future of the web discussion panel at Tech Ed in Sydney. I think that in the end JavaScript might be a stronger competitor to Silverlight than Flash. JavaScript is getting significant faster in Chrome, FireFox and Safari (and Microsoft is playing catch-up in IE8). New frameworks like jQuery (now embraced by Microsoft) is making it easier to build rich JavaScript based applications, and the tooling support is also getting more solid. By using plain AJAX/JavaScript you don't have to depend on any add-in or vendor lock-in. In the future Canvas and Video, when ever implemented in all browsers, might make AJAX/JavaScript an even more compelling alternative to Flash and Silverlight. That being said I am big Silverlight 2 fan, and definitely think the technology is ready for main-stream development work. I think Silverlight 2 will be an easier alternative for businesses wanting to build Rich Internet Applications. The reason: tools they know (VS2008), same language on client/server, and consistent API/documentation/tooling (compared to the web where you have to know multiple technologies to do it well). I also think that the requirements and expectations within (internal) line of business applications will go up as the users get used to great online user experiences on the public web. These users will expect something more inside the company, and I think that in the future having great internal software might be a differentiator for companies wanting to recruit information workers. As to the Flex vs Silverlight 2 decision I don't know enough about Flex to really comment on it. However, I think that most of us have seen great examples of Flash-based RIAs, so the technology is more than capable of delivering great applications. One of my current favorites is http://www.sliderocket.com/. So if you and your team knows Flex, and the company sees that as a important technology in the future, by all means use it! That makes perfect business sense. What I'm saying is that Silverlight 2 feels a need for the .NET/Microsoft development crowd who is comfortable in VS2008 and C#, and now need to meet higher expectations to deliver great user experiences online. - Jonas On Mon, Oct 20, 2008 at 9:08 AM, Barry Beattie [EMAIL PROTECTED] wrote: You want me to give you a run sheet of our entire game plan so you can run it off to your buddies at Adobe, think again bazza :) think again! :) Sorry, nice try but no cigar. no, Scott, it's not that. I actually don't cut much code anymore these days: analysis, design, recommendations, etc. I'm trying to get a deeper understanding on SL's place in the world now/soon and I'm not going to recommend spending resources on cutting edge (if not bleeding edge) if it's not yet worth it to solve real business problems. I
[OzSilverlight] Colorful Expression Add-In
Hi, Tried sending this mail two days ago, but the e-mail list has been down for some reason, so trying again: Just want to tell you about Colorful Expression, a project I've been working on a couple of weeks. It's an add-in for Expression Blend and Design (but can be run as a standalone application as well). The add-in brings your Adobe Kuler into Blend/Design as a new panel. Adobe Kuler (http://kuler.adobe.com ) is a great online RIA to create color themes. You select a base color, and it has different rule sets to help you find four matching colors. You can save your color themes online and share them with the community. The project (screen shots, downloads and code) is available over at http://www.codeplex.com/colorful . Cheers, Jonas Follesø --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Testing
It is! woho :) On Fri, Oct 3, 2008 at 1:14 PM, Damian Edwards [EMAIL PROTECTED]wrote: Testing if list server is back up Regards, *Damian Edwards *Microsoft MVP https://mvp.support.microsoft.com/profile/Damian.Edwards| ASP/ ASP.NET Readify | Senior Consultant Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: 0448 545 868 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: www.readify.net -- The content of this e-mail, including any attachments is a confidential communication between Readify Pty Ltd and the intended addressee and is for the sole use of that intended addressee. If you are not the intended addressee, any use, interference with, disclosure or copying of this material is unauthorized and prohibited. If you have received this e-mail in error please contact the sender immediately and then delete the message and any attachment(s). --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
[OzSilverlight] Colorful Expression
Hi, Now that the list is finally up again I figured I could celebrate by spamming it with my Colorful Expression Codeplex project: Just want to tell you about Colorful Expression, a project I've been working on a couple of weeks. It's an add-in for Expression Blend and Design (but can be run as a standalone application as well). The add-in brings your Adobe Kuler into Blend/Design as a new panel. Adobe Kuler (http://kuler.adobe.com ) is a great online RIA to create color themes. You select a base color, and it has different rule sets to help you find four matching colors. You can save your color themes online and share them with the community. The project (screen shots, downloads and code) is available over at http://www.codeplex.com/colorful . Cheers, Jonas --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Test
John, I didn't see it (but it sounds interesting, so do a re-send ;) On Wed, Sep 24, 2008 at 10:26 PM, John OBrien [EMAIL PROTECTED]wrote: Damian, Did you see a post from me this morning RE: Silverlight deepzoom 360 horizontal panning? I never saw it come through L John. *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Damian Edwards *Sent:* Wednesday, 24 September 2008 7:18 PM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Test Testing list server... Regards, *Damian Edwards *Microsoft MVP https://mvp.support.microsoft.com/profile/Damian.Edwards| ASP/ ASP.NET Readify | Senior Consultant Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: 0448 545 868 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: www.readify.net -- The content of this e-mail, including any attachments is a confidential communication between Readify Pty Ltd and the intended addressee and is for the sole use of that intended addressee. If you are not the intended addressee, any use, interference with, disclosure or copying of this material is unauthorized and prohibited. If you have received this e-mail in error please contact the sender immediately and then delete the message and any attachment(s). --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] A couple of questions
Well, I can't answer for Jordan but I'll try to illustrate. While using the Model-View-ViewModel pattern you have all your UI state and behavior in a separate class. This class is normally set as the data context on your View (XAML page), and you bind everything against this class. Even things like IsSaveEnabled to enable the save button. The View communicates back to the ViewModel by commands. The benefit is that you don't have any btnSave_Click event handler in your codebehind. Instead your ViewModel waits for that Command to trigger, and then do the work. The benefit of designing your application using these patterns is that you can build quite big applications with (almost) no code-behind. This makes your app easier to test, more maintainable, and easier to work with for a designer using Blend. So what is the problem? The problem is that there is no declarative(XAML) way of triggering animations when thing happens. So if you want to start a storyboard then the ViewModel IsBussy property is true, you will have to write this code by hand. Typically that would involve listening to a PropertyChanged event in the codebehind of the form, and when the ViewModel IsBussy changes to true, then start the storyboard, when it changes to false, then stop it. This isn't the end of the world, but when we're so close to achieving no-code behind it would be nice to go all the way. Also, doing this forces your designer to have a stroyboard with that exact name (say ShowProgressanimation) present, so you as the developer ends up owning part of the user experience. If the designer accidentally deletes the storyboard the app will fail at runtime, or perhaps not even compile. The less named elements in your XAML file the better. - Jonas On Fri, Sep 19, 2008 at 1:12 PM, Barry Beattie [EMAIL PROTECTED]wrote: It's a PITA to make apps with all the bells and whistles in XAML then have to break M-V-VM to finish it off. got an example to show what you mean? (just curious/wanting to learn) --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] A couple of questions
The whole point is to have as little code as possible. And doing storyboards in code is deff. not the solution to this problem. The whole point is to use patterns that lets your designer own the user experience and not depend on code and Visual Studio. But sure, procedural animations is a powerful technique, and useful in a bunch of cases (where to want some randomness/dynamicness to the animation. On Fri, Sep 19, 2008 at 1:41 PM, .net noobie [EMAIL PROTECTED] wrote: but you can write storyboards in code, not that is is as easy as just drop and drag in blend On Fri, Sep 19, 2008 at 1:23 PM, Jonas Follesø [EMAIL PROTECTED] wrote: Well, I can't answer for Jordan but I'll try to illustrate. While using the Model-View-ViewModel pattern you have all your UI state and behavior in a separate class. This class is normally set as the data context on your View (XAML page), and you bind everything against this class. Even things like IsSaveEnabled to enable the save button. The View communicates back to the ViewModel by commands. The benefit is that you don't have any btnSave_Click event handler in your codebehind. Instead your ViewModel waits for that Command to trigger, and then do the work. The benefit of designing your application using these patterns is that you can build quite big applications with (almost) no code-behind. This makes your app easier to test, more maintainable, and easier to work with for a designer using Blend. So what is the problem? The problem is that there is no declarative(XAML) way of triggering animations when thing happens. So if you want to start a storyboard then the ViewModel IsBussy property is true, you will have to write this code by hand. Typically that would involve listening to a PropertyChanged event in the codebehind of the form, and when the ViewModel IsBussy changes to true, then start the storyboard, when it changes to false, then stop it. This isn't the end of the world, but when we're so close to achieving no-code behind it would be nice to go all the way. Also, doing this forces your designer to have a stroyboard with that exact name (say ShowProgressanimation) present, so you as the developer ends up owning part of the user experience. If the designer accidentally deletes the storyboard the app will fail at runtime, or perhaps not even compile. The less named elements in your XAML file the better. - Jonas On Fri, Sep 19, 2008 at 1:12 PM, Barry Beattie [EMAIL PROTECTED]wrote: It's a PITA to make apps with all the bells and whistles in XAML then have to break M-V-VM to finish it off. got an example to show what you mean? (just curious/wanting to learn) --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net -- .net noobie™ --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] A couple of questions
Jordan - that's a clever way to do create dummy data - looking forward to your blog post. Like I mentioned at TechEd I've been playing with the idea of using a HTTP proxy to sniff up test data, but your approach is probably easier. A more drastic approach a colleague of mine is using (for WPF) is to have a SQL Compact Edititon database with dummy data. So we're toying with the idea of building something similar to the Dummy Data Generator in Visual Studio Data Dude (don't know the official name of that product), as well as a simple general purpose UI for the designer to interact with the SQL Compact Edititon database to add new test data to it... Scott - You're right. I've seen examples over and over of developers getting a little confused of the whole server vs client scenario with AJAX and particular Silverlight applications. And really making sure people understand that users can tamper with the data, and really caring about security is key. Looking forward to your post on dynamic loading. Personally I find that exciting from a composite application where you might want to load different modules for different users. I'll give you a private reply with my involvement with Silverlight - But it's a deep love relationship;) On Fri, Sep 19, 2008 at 3:41 PM, Jordan Knight [EMAIL PROTECTED]wrote: For dummy data I've been serialising out my models to iso storage, then picking up the files from the iso directory and placing them in the XAP for deserialisation … it's been a great way to get real dummy data. I have a blog post in the works on this *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Scott Barnes *Sent:* Friday, 19 September 2008 3:33 PM *To:* listserver@ozSilverlight.com *Subject:* RE: [OzSilverlight] A couple of questions · Commands. I've seen a few requests around this, and I've made notes of them with the team already but yeah, I agree. · Triggers/Data. Well Nikhil's one of our architects in the Silverlight camp, so the fact he wrote about may indicate our thinking of where this will end up eventually ;) · Guidance is a blindspot, 100% agree and I'm working with the Patterns Practices team on this, so stay tuned. · Dummy Data. Interesting approach, hadn't thought of that, I'll defer my answer until after I speak with some of the teams about some ideas around this. · Validation + Data Binding. We're spending a lot of time and energy on this, and I'd love to share but it's still early days on what our plans are here. That being said, I'll make sure to follow-up with the list as things draw closer (adding this email to my follow-ups) to ensure we explain ourselves here. That all put aside, I'm also really curious to see what types of solutions folks are building. I'm also super keen to find out how most of you landed on Silverlight and what your love/hate with the product is? (Can I ask you send me this via little-r so I can continue the conversation with folks privately as it may get noisy with the list if we echo it all outloud?) *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jonas Follesø *Sent:* Thursday, September 18, 2008 5:24 AM *To:* listserver@ozsilverlight.com *Subject:* Re: [OzSilverlight] A couple of questions I tend to favor the Model-View-ViewModel pattern for Silverlight and WPF, and is _really_ concerned with providing a best possible design time experience. I always strive for no-code behind in my applications. These are some of the challenges: - No support for commands. Can be implemented using attached properties. But commands is important to prevent coupling between event invoker (button/UI element) and event handler. The fewer named elements you have to hook events against the better. More flexibility to designer, less chance to screw up. - No support for triggers/data triggers. Today there is no easy way to trigger an animation based on changes made in the ViewModel. For instance, say I set an IsBussy property to true, in that case I would like to start a ProgressBarAnimation. Today I have to write code behind to do that. Nikhil Kothari has some interesting examples on how to use behaviors to achieve trigger-like behavior in Silverlight. But his current implementation breaks Blend 2.5 support, so I haven't been able to use it. - Not allot of guidance on multi page navigation. This is something I've gotten allot of questions. I normally solve this by swapping parts in and out of a master page, and have a navigation helper on the Application object. But some clear guidance on this would be helpful. - How to provide design time dummy data. I solve this by providing mock implementations of external services, and it works quite well. I use the HtmlPage.IsEnabled to detect weather or not the code is running in Blend. I know this isn't a good check
Re: [OzSilverlight] A couple of questions
From a Silverlight client point of view, what else do you really need? Everything that has to do with validation, accessing user store etc. has to happen on the server and not on the client. Some thing, like Authorization (does this user belong to this role) is useful from the UI, as you can enable/disable certain buttons and functionality. But in the end you have to redo all the validation on the server as you can't trust any input coming from the client. The reason you got allot more functionality in ASP.NET is because you're running on the server, and that is a whole different ball game. You got functionality to create new users, create roles, change role assignment etc. To do those things from a Silverlight client you would have to expose (and secure) the individual pieces your self. On Thu, Sep 18, 2008 at 2:00 PM, .net noobie [EMAIL PROTECTED] wrote: Authentication Application Service, via WCF is a very limited set of functionality compared to what you have in a ASP.NET page, you can do a few things like Login, Logout and one to two there things right..? when I was checking it out I ended up making a normal WCF service for my Silverlight application, then adding the membership to it via just wrapping the methods of the Membership class I wanted, but it also had a few issues doing it that way to, but I got all the parts of Membership I wanted to use...? is this a bad way to go about it in the future? please note it was just a learning application for myself, so I was not really worried about any security issues passing the data back and forth at the time On Thu, Sep 18, 2008 at 12:51 PM, Ross McKinnon [EMAIL PROTECTED] wrote: Thanks to both of you. -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jordan Knight *Sent:* Thursday, 18 September 2008 12:44 PM *To:* listserver@ozSilverlight.com *Subject:* RE: [OzSilverlight] A couple of questions You where slowed down by all the extra detail J Regards, *Jordan Knight* Readify - Senior Developer Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 403 532 404 | E: [EMAIL PROTECTED] | W: www.readify.net *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jonas Follesø *Sent:* Thursday, 18 September 2008 12:42 PM *To:* listserver@ozsilverlight.com *Subject:* Re: [OzSilverlight] A couple of questions Haha - looks like you beat me too by 5 min Jordan ;) On Thu, Sep 18, 2008 at 12:38 PM, Jordan Knight [EMAIL PROTECTED] wrote: Sorry Ross J - not Michael. Regards, *Jordan Knight* Readify - Senior Developer Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 403 532 404 | E: [EMAIL PROTECTED] | W: www.readify.net *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jordan Knight *Sent:* Thursday, 18 September 2008 12:35 PM *To:* listserver@ozSilverlight.com *Subject:* RE: [OzSilverlight] A couple of questions Hi Michael, I can answer 1 and 3 for you (and maybe a bit of 4): The short answer is Forms Authentication and/or ASP.NET membership - i.e. use the normal stuff J. Whenever Silverlight accesses the server, it uses the standard browser networking stack, so you will have access to session state, cookies and all the other goodies you expect. To find out which user is logged in you can use the ASP.NETAuthentication Application Service, which can be exposed via WCF quite easily (then you can log in and check login status etc from Silverlight). 4 is a little more tricky, but basically you could hook up events to AJAX changes in the page then fire through pieces of information to Silverlight using the HTML JavaScript bridge... It's quite easy to do, have a Google around. Regards, *Jordan Knight* Readify - Senior Developer Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 403 532 404 | E: [EMAIL PROTECTED] | W: www.readify.net *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ross McKinnon *Sent:* Thursday, 18 September 2008 12:20 PM *To:* listserver@ozSilverlight.com *Subject:* [OzSilverlight] A couple of questions Hi all, I am the CIO of Michael Hill Jeweller which is an international (US, Canada, New Zealand, Australia) jewellery retail chain whose global head office is based in Brisbane and we are in the process of replacing our global website. The executive here are very excited by the opportunities presented by silverlight and we will be developing the new site using this technology and are trying to release it as soon as possible. I did have a couple of questions which I have posed to Microsoft, but they have been unable to answer and most of them are directed towards my personally perceived weaknesses of silverlight and I was hoping that someone would be able to point out how they can be achieved. Hopefully our work arounds
Re: [OzSilverlight] A couple of questions
Yepp. You're right Barry. And with Silverlight this gets even more confusing since it's all happening in the browser. So the rule of thumb is that Silverlight has WAY more in common with WPF than ASP.NET. So use the WPF mindset, not the ASP.NET mindset when thinking about these application. That being said, you often end up replicating business logic on both server and client. You want to have the logic on the client so that the user don't have to do lots of edits, then only to get an exception back from the server saying that the input data was invalid. But at the same time your server cannot depend on the client passing in valid data. Building these (rich) clients that have a deep understanding of the server is tricky. Pat Helland discusses this in his The Emissary Design Pattern and RIAs talk ( http://blogs.msdn.com/pathelland/archive/2008/08/10/the-emissary-design-pattern-and-rias-rich-internet-applications.aspx). And I expect some of these ideas making it into this PDC08 talk: Microsoft Silverlight Futures: Building Business Focused Applications What if you could develop your solutions with the ease pioneered by Microsoft Office Access, deploy them like an Internet application, and take advantage of the power of Microsoft .NET? Learn about an exciting new technology that is all about making business applications for RIA (Rich Internet Applications) much easier to build. In this session, hear how we've made n-tier application development as simple as traditional 2-tier, provided application level solutions to developers, and how we're doing all of this with the same .NET platform and tools on both the client and server. On Thu, Sep 18, 2008 at 2:17 PM, Barry Beattie [EMAIL PROTECTED]wrote: The reason you got allot more functionality in ASP.NET is because you're running on the server, and that is a whole different ball game. bingo. from what I've seen people do (and truth be told I sometimes fall into this myself) is being so caught up in this blurring between client and server (esp coding within VS) that this can be easy to forget. it's standard Client/Server with a twist - the client is only occasionally connected (at least until you can push from Server back to client without polling) meh, my 2c --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] A couple of questions
Well, you can actually do all this from a Silverlight application. And anything you could do from MS AJAX, you could do from Silverlight. And to be fair the Client Application Services (for Windows Forms/WPF) comes with classes that abstract away the service interaction, and actually gives you a client side Membership- and Role Provider. But under the hood it's all HTTP JSON calls (I assume for performance reasons, as their API only has synchronous methods for accessing the Membership- and Role Provider). Check this post: http://blogs.msdn.com/brada/archive/2007/05/23/net-client-application-services.aspx for more information on what you can do. The service-end point used by the Client Application Services client libraries are: http://localhost/myservice/Profile_JSON_AppService.axd http://localhost/myservice/Authentication_JSON_AppService.axd http://localhost/myservice/Role_JSON_AppService.axd You don't get WSDL for these services, but you can invoke them as REST services and do things like create user, create role etc. given that the currently authenticated user have the permissions needed. On Thu, Sep 18, 2008 at 2:19 PM, .net noobie [EMAIL PROTECTED] wrote: new users, create roles, change role assignment etc. they are the things I wanted to do... so really I would be better off handling all this in the ASP.NET page that is hosting my Silverlight Applications and then talking too and from the ASP.NET page with my Silverlight Application to do these things? then to stop the page reloading I would need to do these tasks new users, create roles, change role assignment etc. via something like MS AJAX...? On Thu, Sep 18, 2008 at 2:07 PM, Jonas Follesø [EMAIL PROTECTED] wrote: From a Silverlight client point of view, what else do you really need? Everything that has to do with validation, accessing user store etc. has to happen on the server and not on the client. Some thing, like Authorization (does this user belong to this role) is useful from the UI, as you can enable/disable certain buttons and functionality. But in the end you have to redo all the validation on the server as you can't trust any input coming from the client. The reason you got allot more functionality in ASP.NET is because you're running on the server, and that is a whole different ball game. You got functionality to create new users, create roles, change role assignment etc. To do those things from a Silverlight client you would have to expose (and secure) the individual pieces your self. On Thu, Sep 18, 2008 at 2:00 PM, .net noobie [EMAIL PROTECTED]wrote: Authentication Application Service, via WCF is a very limited set of functionality compared to what you have in a ASP.NET page, you can do a few things like Login, Logout and one to two there things right..? when I was checking it out I ended up making a normal WCF service for my Silverlight application, then adding the membership to it via just wrapping the methods of the Membership class I wanted, but it also had a few issues doing it that way to, but I got all the parts of Membership I wanted to use...? is this a bad way to go about it in the future? please note it was just a learning application for myself, so I was not really worried about any security issues passing the data back and forth at the time On Thu, Sep 18, 2008 at 12:51 PM, Ross McKinnon [EMAIL PROTECTED] wrote: Thanks to both of you. -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jordan Knight *Sent:* Thursday, 18 September 2008 12:44 PM *To:* listserver@ozSilverlight.com *Subject:* RE: [OzSilverlight] A couple of questions You where slowed down by all the extra detail J Regards, *Jordan Knight* Readify - Senior Developer Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 403 532 404 | E: [EMAIL PROTECTED] | W: www.readify.net *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jonas Follesø *Sent:* Thursday, 18 September 2008 12:42 PM *To:* listserver@ozsilverlight.com *Subject:* Re: [OzSilverlight] A couple of questions Haha - looks like you beat me too by 5 min Jordan ;) On Thu, Sep 18, 2008 at 12:38 PM, Jordan Knight [EMAIL PROTECTED] wrote: Sorry Ross J - not Michael. Regards, *Jordan Knight* Readify - Senior Developer Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 403 532 404 | E: [EMAIL PROTECTED] | W: www.readify.net *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jordan Knight *Sent:* Thursday, 18 September 2008 12:35 PM *To:* listserver@ozSilverlight.com *Subject:* RE: [OzSilverlight] A couple of questions Hi Michael, I can answer 1 and 3 for you (and maybe a bit of 4): The short answer is Forms Authentication and/or ASP.NET membership - i.e. use the normal stuff J. Whenever Silverlight accesses the server, it uses the standard
Re: [OzSilverlight] How to play swf extension files in silverlight.?
Yepp. That's the easiest way to show the SWF content. If you need to interact between Silverlight and Flash I've written an article about that on http://www.silverlightshow.net/items/Silverlight-and-Flash-Interoperability-using-HTML-Bridge-and-ExternalInterface-API.aspx . Overlaying SWF ontop of Silverlight, and then using the HTML Bridge, JavaScript and ExternalInterface is also the technique I used for the Webcam POC app: http://jonas.follesoe.no/WebcamInSilverlight2MacGyverStyle.aspx On Wed, Sep 17, 2008 at 1:37 PM, Sam Lai [EMAIL PROTECTED] wrote: If all you want to do is play swf files within a silverlight interface, you could do some javascripting that loads the swf in a html div and overlay that on top of the silverlight interface. On 9/16/08, Scott Barnes [EMAIL PROTECTED] wrote: You can't. SWF is a proprietary binary solution built by Adobe and has no support inside Silverlight. From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Muhammad Niaz Sent: Monday, September 15, 2008 10:55 AM To: listserver@ozSilverlight.com Subject: [OzSilverlight] How to play swf extension files in silverlight.? Hi all, can anybody tell me how to play with swf files in silverlight. Regards, Muhammad Niaz --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] [Serialization]
You might have to mark them as [DataContract] to use them across your WCF layer On Wed, Aug 27, 2008 at 2:51 PM, Muhammad Niaz [EMAIL PROTECTED] wrote: Hi All, I am using WCF service Layer for Silver light communication. And I am and old DTOs Layer which have lot of classes and also developed in .NET 2.0 and I do't want to recompile it in .NET 3.0 or 3.5. Is it possible that I use this DTOs Layer's classes in WCF Service Layer by just decorating them with [Serializable].? Regards, Muhammad Niaz --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Silverlight 2 and Sharepoint Web Services
I assume you've done all the regular tricks such as using Fiddler to look at the HTTP traffic to verify that it actually downloads the crossdomain policy file? I mean, it _should_ work - it's just HTTP... Could it be an authentication issue? That the resource you're accessing requires authentication, and the XAP is served through a public site and the auth info haven't been added to the request? Have you tried download just a plain XML or TXT file? If you're using the WebClient or HttpWebRequest you're not touching the WCF stack, so it's not a binding/serialization type of issue. So my guess: some security issue accing either the policy file or the resource itself. Cheers, Jonas On Mon, Aug 18, 2008 at 8:03 PM, Philip Beadle [EMAIL PROTECTED]wrote: Hi All, I'm not having any luck with getting Silverlight to call a Sharepoint web service. Using wither the HttpWebrequest or the WebClient I get security errors. I have used SP Designer to drop both the access policy files into the root and still no go. I have SP1 installed. Has anyone got this to work? Regards, *Philip Beadle* Readify | Principal Consultant Microsoft MVP - ASP/ASP.NET, MCAD, MCT [image: cid:image001.gif@01C7F6E2.B7EEA2A0] Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 417 301 024 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: www.readify.net -- The content of this e-mail, including any attachments is a confidential communication between Readify Pty Ltd and the intended addressee and is for the sole use of that intended addressee. If you are not the intended addressee, any use, interference with, disclosure or copying of this material is unauthorized and prohibited. If you have received this e-mail in error please contact the sender immediately and then delete the message and any attachment(s). *P** **Please consider your environmental responsibility before printing this e-mail* --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Can't see it
If it's not your site you probably have to proxy the request through your own server. It's fairly straight forward to create a general purpuse HttpHandler that proxy web requests. You can also usea third party service like Yahoo Pipes. More on that over at http://jonas.follesoe.no/UsingYahooPipesAsASilverlightCrossDomainProxy.aspx If you look at the comments for that post there is a proxy class you can use if you don't want to depend on Yahoo Pipes. I think Tim wrote a similar post, but with some other alternatives (Popfly I think) On Tue, Aug 12, 2008 at 1:50 AM, Stephen Price [EMAIL PROTECTED]wrote: Thanks Tim! I knew about cross-domain restrictions with WCF services but it didn't click that all web requests had the restriction. Makes sense now I think about it. Will check out the options. cheers, Stephen On Mon, Aug 11, 2008 at 11:18 PM, Tim Heuer [EMAIL PROTECTED]wrote: SyndicationFeed is not immune to the cross-domain restrictions. No clientaccesspolicy.xml file exists on this domain to be able to get the feed. Luckily you still have options: http://timheuer.com/blog/archive/2008/06/03/use-silverlight-with-any-feed-without-cross-domain-files.aspx -th *tim heuer* *|* (602) 405-4567 | *im*: [EMAIL PROTECTED] *blog*: http://timheuer.com/blog/ | *twitter: [EMAIL PROTECTED]http://twitter.com/timheuer *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Monday, August 11, 2008 5:58 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Can't see it Hey all, Came across the SyndicationFeed class while reading Scott's links from earlier (thanks Scott!) and found some code examples that don't seem to work for me. Was wondering if someone else would have a look and tell me if its something I've done wrong or if maybe there has been a change since the code was posted that has broken it? Put this in a default Page() and it should work, but the response has nothing in it. The url works so hmmm? private const string feedAddress = http://lythixdesigns.com/blog/?feed=rss2;; public Page() { InitializeComponent(); GetFeed(); } public void GetFeed() { // Begin HTTP request to get feed HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(feedAddress)); request.BeginGetResponse(new AsyncCallback(responseHandler), request); } private void responseHandler(IAsyncResult asyncResult) { // Get HTTP response try { HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult); // Load feed into SyndicationFeed XmlReader reader = XmlReader.Create(response.GetResponseStream()); SyndicationFeed feed = SyndicationFeed.Load(reader); // Set up databinding for list of items feedList.DataContext = feed.Items; } catch (Exception ex) { throw; } } // Add a listbox to the xaml called feedList. thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Can't see it
If it's not your site you probably have to proxy the request through your own server. It's fairly straight forward to create a general purpuse HttpHandler that proxy web requests. You can also usea third party service like Yahoo Pipes. More on that over at http://jonas.follesoe.no/UsingYahooPipesAsASilverlightCrossDomainProxy.aspx If you look at the comments for that post there is a proxy class you can use if you don't want to depend on Yahoo Pipes. I think Tim wrote a similar post, but with some other alternatives (Popfly I think) On Tue, Aug 12, 2008 at 1:50 AM, Stephen Price [EMAIL PROTECTED]wrote: Thanks Tim! I knew about cross-domain restrictions with WCF services but it didn't click that all web requests had the restriction. Makes sense now I think about it. Will check out the options. cheers, Stephen On Mon, Aug 11, 2008 at 11:18 PM, Tim Heuer [EMAIL PROTECTED]wrote: SyndicationFeed is not immune to the cross-domain restrictions. No clientaccesspolicy.xml file exists on this domain to be able to get the feed. Luckily you still have options: http://timheuer.com/blog/archive/2008/06/03/use-silverlight-with-any-feed-without-cross-domain-files.aspx -th *tim heuer* *|* (602) 405-4567 | *im*: [EMAIL PROTECTED] *blog*: http://timheuer.com/blog/ | *twitter: [EMAIL PROTECTED]http://twitter.com/timheuer *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Monday, August 11, 2008 5:58 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Can't see it Hey all, Came across the SyndicationFeed class while reading Scott's links from earlier (thanks Scott!) and found some code examples that don't seem to work for me. Was wondering if someone else would have a look and tell me if its something I've done wrong or if maybe there has been a change since the code was posted that has broken it? Put this in a default Page() and it should work, but the response has nothing in it. The url works so hmmm? private const string feedAddress = http://lythixdesigns.com/blog/?feed=rss2;; public Page() { InitializeComponent(); GetFeed(); } public void GetFeed() { // Begin HTTP request to get feed HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(feedAddress)); request.BeginGetResponse(new AsyncCallback(responseHandler), request); } private void responseHandler(IAsyncResult asyncResult) { // Get HTTP response try { HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult); // Load feed into SyndicationFeed XmlReader reader = XmlReader.Create(response.GetResponseStream()); SyndicationFeed feed = SyndicationFeed.Load(reader); // Set up databinding for list of items feedList.DataContext = feed.Items; } catch (Exception ex) { throw; } } // Add a listbox to the xaml called feedList. thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Can't see it
If it's not your site you probably have to proxy the request through your own server. It's fairly straight forward to create a general purpuse HttpHandler that proxy web requests. You can also usea third party service like Yahoo Pipes. More on that over at http://jonas.follesoe.no/UsingYahooPipesAsASilverlightCrossDomainProxy.aspx If you look at the comments for that post there is a proxy class you can use if you don't want to depend on Yahoo Pipes. I think Tim wrote a similar post, but with some other alternatives (Popfly I think) On Tue, Aug 12, 2008 at 1:50 AM, Stephen Price [EMAIL PROTECTED]wrote: Thanks Tim! I knew about cross-domain restrictions with WCF services but it didn't click that all web requests had the restriction. Makes sense now I think about it. Will check out the options. cheers, Stephen On Mon, Aug 11, 2008 at 11:18 PM, Tim Heuer [EMAIL PROTECTED]wrote: SyndicationFeed is not immune to the cross-domain restrictions. No clientaccesspolicy.xml file exists on this domain to be able to get the feed. Luckily you still have options: http://timheuer.com/blog/archive/2008/06/03/use-silverlight-with-any-feed-without-cross-domain-files.aspx -th *tim heuer* *|* (602) 405-4567 | *im*: [EMAIL PROTECTED] *blog*: http://timheuer.com/blog/ | *twitter: [EMAIL PROTECTED]http://twitter.com/timheuer *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Monday, August 11, 2008 5:58 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Can't see it Hey all, Came across the SyndicationFeed class while reading Scott's links from earlier (thanks Scott!) and found some code examples that don't seem to work for me. Was wondering if someone else would have a look and tell me if its something I've done wrong or if maybe there has been a change since the code was posted that has broken it? Put this in a default Page() and it should work, but the response has nothing in it. The url works so hmmm? private const string feedAddress = http://lythixdesigns.com/blog/?feed=rss2;; public Page() { InitializeComponent(); GetFeed(); } public void GetFeed() { // Begin HTTP request to get feed HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(feedAddress)); request.BeginGetResponse(new AsyncCallback(responseHandler), request); } private void responseHandler(IAsyncResult asyncResult) { // Get HTTP response try { HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult); // Load feed into SyndicationFeed XmlReader reader = XmlReader.Create(response.GetResponseStream()); SyndicationFeed feed = SyndicationFeed.Load(reader); // Set up databinding for list of items feedList.DataContext = feed.Items; } catch (Exception ex) { throw; } } // Add a listbox to the xaml called feedList. thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Can't see it
If it's not your site you probably have to proxy the request through your own server. It's fairly straight forward to create a general purpuse HttpHandler that proxy web requests. You can also usea third party service like Yahoo Pipes. More on that over at http://jonas.follesoe.no/UsingYahooPipesAsASilverlightCrossDomainProxy.aspx If you look at the comments for that post there is a proxy class you can use if you don't want to depend on Yahoo Pipes. I think Tim wrote a similar post, but with some other alternatives (Popfly I think) On Tue, Aug 12, 2008 at 1:50 AM, Stephen Price [EMAIL PROTECTED]wrote: Thanks Tim! I knew about cross-domain restrictions with WCF services but it didn't click that all web requests had the restriction. Makes sense now I think about it. Will check out the options. cheers, Stephen On Mon, Aug 11, 2008 at 11:18 PM, Tim Heuer [EMAIL PROTECTED]wrote: SyndicationFeed is not immune to the cross-domain restrictions. No clientaccesspolicy.xml file exists on this domain to be able to get the feed. Luckily you still have options: http://timheuer.com/blog/archive/2008/06/03/use-silverlight-with-any-feed-without-cross-domain-files.aspx -th *tim heuer* *|* (602) 405-4567 | *im*: [EMAIL PROTECTED] *blog*: http://timheuer.com/blog/ | *twitter: [EMAIL PROTECTED]http://twitter.com/timheuer *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Monday, August 11, 2008 5:58 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Can't see it Hey all, Came across the SyndicationFeed class while reading Scott's links from earlier (thanks Scott!) and found some code examples that don't seem to work for me. Was wondering if someone else would have a look and tell me if its something I've done wrong or if maybe there has been a change since the code was posted that has broken it? Put this in a default Page() and it should work, but the response has nothing in it. The url works so hmmm? private const string feedAddress = http://lythixdesigns.com/blog/?feed=rss2;; public Page() { InitializeComponent(); GetFeed(); } public void GetFeed() { // Begin HTTP request to get feed HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(feedAddress)); request.BeginGetResponse(new AsyncCallback(responseHandler), request); } private void responseHandler(IAsyncResult asyncResult) { // Get HTTP response try { HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult); // Load feed into SyndicationFeed XmlReader reader = XmlReader.Create(response.GetResponseStream()); SyndicationFeed feed = SyndicationFeed.Load(reader); // Set up databinding for list of items feedList.DataContext = feed.Items; } catch (Exception ex) { throw; } } // Add a listbox to the xaml called feedList. thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Can't see it
If it's not your site you probably have to proxy the request through your own server. It's fairly straight forward to create a general purpuse HttpHandler that proxy web requests. You can also usea third party service like Yahoo Pipes. More on that over at http://jonas.follesoe.no/UsingYahooPipesAsASilverlightCrossDomainProxy.aspx If you look at the comments for that post there is a proxy class you can use if you don't want to depend on Yahoo Pipes. I think Tim wrote a similar post, but with On Tue, Aug 12, 2008 at 1:50 AM, Stephen Price [EMAIL PROTECTED]wrote: Thanks Tim! I knew about cross-domain restrictions with WCF services but it didn't click that all web requests had the restriction. Makes sense now I think about it. Will check out the options. cheers, Stephen On Mon, Aug 11, 2008 at 11:18 PM, Tim Heuer [EMAIL PROTECTED]wrote: SyndicationFeed is not immune to the cross-domain restrictions. No clientaccesspolicy.xml file exists on this domain to be able to get the feed. Luckily you still have options: http://timheuer.com/blog/archive/2008/06/03/use-silverlight-with-any-feed-without-cross-domain-files.aspx -th *tim heuer* *|* (602) 405-4567 | *im*: [EMAIL PROTECTED] *blog*: http://timheuer.com/blog/ | *twitter: [EMAIL PROTECTED]http://twitter.com/timheuer *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Monday, August 11, 2008 5:58 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Can't see it Hey all, Came across the SyndicationFeed class while reading Scott's links from earlier (thanks Scott!) and found some code examples that don't seem to work for me. Was wondering if someone else would have a look and tell me if its something I've done wrong or if maybe there has been a change since the code was posted that has broken it? Put this in a default Page() and it should work, but the response has nothing in it. The url works so hmmm? private const string feedAddress = http://lythixdesigns.com/blog/?feed=rss2;; public Page() { InitializeComponent(); GetFeed(); } public void GetFeed() { // Begin HTTP request to get feed HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(feedAddress)); request.BeginGetResponse(new AsyncCallback(responseHandler), request); } private void responseHandler(IAsyncResult asyncResult) { // Get HTTP response try { HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult); // Load feed into SyndicationFeed XmlReader reader = XmlReader.Create(response.GetResponseStream()); SyndicationFeed feed = SyndicationFeed.Load(reader); // Set up databinding for list of items feedList.DataContext = feed.Items; } catch (Exception ex) { throw; } } // Add a listbox to the xaml called feedList. thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Can't see it
If it's not your site you probably have to proxy the request through your own server. It's fairly straight forward to create a general purpuse HttpHandler that proxy web requests. You can also usea third party service like Yahoo Pipes. More on that over at http://jonas.follesoe.no/UsingYahooPipesAsASilverlightCrossDomainProxy.aspx If you look at the comments for that post there is a proxy class you can use if you don't want to depend on Yahoo Pipes. I think Tim wrote a similar post, but with On Tue, Aug 12, 2008 at 1:50 AM, Stephen Price [EMAIL PROTECTED]wrote: Thanks Tim! I knew about cross-domain restrictions with WCF services but it didn't click that all web requests had the restriction. Makes sense now I think about it. Will check out the options. cheers, Stephen On Mon, Aug 11, 2008 at 11:18 PM, Tim Heuer [EMAIL PROTECTED]wrote: SyndicationFeed is not immune to the cross-domain restrictions. No clientaccesspolicy.xml file exists on this domain to be able to get the feed. Luckily you still have options: http://timheuer.com/blog/archive/2008/06/03/use-silverlight-with-any-feed-without-cross-domain-files.aspx -th *tim heuer* *|* (602) 405-4567 | *im*: [EMAIL PROTECTED] *blog*: http://timheuer.com/blog/ | *twitter: [EMAIL PROTECTED]http://twitter.com/timheuer *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Monday, August 11, 2008 5:58 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Can't see it Hey all, Came across the SyndicationFeed class while reading Scott's links from earlier (thanks Scott!) and found some code examples that don't seem to work for me. Was wondering if someone else would have a look and tell me if its something I've done wrong or if maybe there has been a change since the code was posted that has broken it? Put this in a default Page() and it should work, but the response has nothing in it. The url works so hmmm? private const string feedAddress = http://lythixdesigns.com/blog/?feed=rss2;; public Page() { InitializeComponent(); GetFeed(); } public void GetFeed() { // Begin HTTP request to get feed HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(feedAddress)); request.BeginGetResponse(new AsyncCallback(responseHandler), request); } private void responseHandler(IAsyncResult asyncResult) { // Get HTTP response try { HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult); // Load feed into SyndicationFeed XmlReader reader = XmlReader.Create(response.GetResponseStream()); SyndicationFeed feed = SyndicationFeed.Load(reader); // Set up databinding for list of items feedList.DataContext = feed.Items; } catch (Exception ex) { throw; } } // Add a listbox to the xaml called feedList. thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Can't see it
Haha, thanks for lettming me know n00b ;) I'm hosting follesoe.no using Google Apps for Your Domain - and Google have had serious GMail trouble this morning. I keept getting an ERROR when hitting send (so I keept hitting it a couple of times) - obvisouly it had queued the message for sending each of the times, and when it got back up it send the same message four times... BAD Google... BAD GOOGLE! Should be fixed now. Sorry for that. On Tue, Aug 12, 2008 at 11:41 AM, .net noobie [EMAIL PROTECTED]wrote: oh dear Jonas your email is seeming to be suck in a endless loop, have you checked your #includes... hehe this mail has shown up 4 times now... On 8/12/08, Jonas Follesø [EMAIL PROTECTED] wrote: If it's not your site you probably have to proxy the request through your own server. It's fairly straight forward to create a general purpuse HttpHandler that proxy web requests. You can also usea third party service like Yahoo Pipes. More on that over at http://jonas.follesoe.no/UsingYahooPipesAsASilverlightCrossDomainProxy.aspx If you look at the comments for that post there is a proxy class you can use if you don't want to depend on Yahoo Pipes. I think Tim wrote a similar post, but with some other alternatives (Popfly I think) On Tue, Aug 12, 2008 at 1:50 AM, Stephen Price [EMAIL PROTECTED]wrote: Thanks Tim! I knew about cross-domain restrictions with WCF services but it didn't click that all web requests had the restriction. Makes sense now I think about it. Will check out the options. cheers, Stephen On Mon, Aug 11, 2008 at 11:18 PM, Tim Heuer [EMAIL PROTECTED]wrote: SyndicationFeed is not immune to the cross-domain restrictions. No clientaccesspolicy.xml file exists on this domain to be able to get the feed. Luckily you still have options: http://timheuer.com/blog/archive/2008/06/03/use-silverlight-with-any-feed-without-cross-domain-files.aspx -th *tim heuer* *|* (602) 405-4567 | *im*: [EMAIL PROTECTED] *blog*: http://timheuer.com/blog/ | *twitter: [EMAIL PROTECTED]http://twitter.com/timheuer *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Monday, August 11, 2008 5:58 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Can't see it Hey all, Came across the SyndicationFeed class while reading Scott's links from earlier (thanks Scott!) and found some code examples that don't seem to work for me. Was wondering if someone else would have a look and tell me if its something I've done wrong or if maybe there has been a change since the code was posted that has broken it? Put this in a default Page() and it should work, but the response has nothing in it. The url works so hmmm? private const string feedAddress = http://lythixdesigns.com/blog/?feed=rss2;; public Page() { InitializeComponent(); GetFeed(); } public void GetFeed() { // Begin HTTP request to get feed HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri(feedAddress)); request.BeginGetResponse(new AsyncCallback(responseHandler), request); } private void responseHandler(IAsyncResult asyncResult) { // Get HTTP response try { HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult); // Load feed into SyndicationFeed XmlReader reader = XmlReader.Create(response.GetResponseStream()); SyndicationFeed feed = SyndicationFeed.Load(reader); // Set up databinding for list of items feedList.DataContext = feed.Items; } catch (Exception ex) { throw; } } // Add a listbox to the xaml called feedList. thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed
Re: [OzSilverlight] Silverlight LAMP
Well, the whole point of using standards like XML Web Services is that you don't have to do anything special to get interop (at least as long as you follow the standards)... So yes, we had Silverlight client code talking to a Java web service. We even had basic HTTP authentication authenticating against an Oracle ID store thingy. The only minor issues we bumped into where things like nullable types, some date issues, and the byte order mark problem. To stop the WCF client to emit the UTF8 byte order mark you do this: BasicHttpBinding binding = new BasicHttpBinding(); binding.TextEncoding = new UTF8Encoding(false); EndpointAddress address = new EndpointAddress(youServiceUrl); serviceClient = new GetNewsClient(binding, address); The false paramter in the UTF8Encoding constructur is what you need... Cheers, Jonas On Sun, Aug 10, 2008 at 9:42 PM, Stephen Price [EMAIL PROTECTED]wrote: Exactly the question I should have asked! So if I read your message correct, you used the Silverlight WCF stack but made it call a Java web service instead or a .net web service? Sounds just what I'm after. Do you have any example code you could blog? Would love to see Silverlight play well with others. Might also be a good excuse to play with some Ruby, I've not had a reason to yet (nor the time!) thanks! Stephen On Sun, Aug 10, 2008 at 6:55 PM, Jonas Follesø [EMAIL PROTECTED] wrote: So the actual question is really how do I create a web service in something that is not .NET. Which by the way is a fair question ;) Java is probably the easiest answer (if C# is your primary language, doing Java should be fairly simple). There are multiple web service frameworks from Java you can use. I guess it also depends on what other stuff your hoster have enabled on your server. Something more fun would perhaps be to build something in Python or Ruby, a quick google search show that there are heaps of frameworks to help you with this as well. As for hosting XAP the only thing you need to do is set up the MIME type: *.xap* to *application/x-silverlight-app*. I've done some work with a Silverlight service talking to an Oracle (Java) web service, hosted by Apache. The only problem was with UTF8 byte order marks (the Silverlight WCF stack automatically add the byte order mark), but the Java service didn't like that ;) Cheers, Jonas On Sun, Aug 10, 2008 at 8:46 PM, .net noobie [EMAIL PROTECTED]wrote: you can host a silverlight app on any webserver as far as i can see, the .xap file is downloaded and run in the users web browser On 8/10/08, Stephen Price [EMAIL PROTECTED] wrote: Hey all, Was just wondering if anyone had thought of (or tried?) a way of running Silverlight on a purely LAMP system? I use a webhost that uses Apache and MySQL. I'd like to be able to use MySQL for the backend but am not sure how I'd get around not being able to run my webservice on a non-microsoft web server. I'm assuming that I'd have to write a java (or some other similar technology) to get that working. So the webserver would of course serve my Silverlight app, which would make calls to the webservice which talks to the MySQL server. cheers, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net -- .net noobie™ This Framework is not Big Enough for the both of us... --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Silverlight UI patterns, dependency injection and more
Hi Rodrigo, The Model-View-ViewModel or Presentation Model as Fowler calls it is in my eyes a special case of the Model-View-Presenter pattern focusing even more on the data binding and commands. When using the MVP pattern your presenter communicates with the view through interfaces. The view creates a presenter and passes in a reference to the view interface. For instance you may have an ICustomerView, a CustomerPresenter and a concrete WebCustomerView. This would look something like this: public interface ICustomerView { string Name { get; set; } } public class CustomerPresenter { private ICustomerView view; public CustomerPresenter(ICustomerView view) { this.view = view; } public void LoadCustomer() { view.Name = My Customer!; } public void SaveCustomer() { string value = view.Name; // Save to DB } } public class WebCustomerView : ICustomerView { private CustomerPresenter presenter; public string Name { get { return txtName.Text; } set { txtName.Text = value; } } public WebCustomerView() { presenter = new CustomerPresenter(this); } public void Page_Load(object sender, EventArgs e) { presenter.LoadCustomer(); } public void btnSave_Click(object sender, EventArgs e) { presenter.SaveCustomer(); } } As you can see the concrete view implementation listen to UI-events and call methods on the presenter. The presenter then talks to the Model (database, web service or what ever) and gets thata and updates the view. The bennefit of this pattern is that it's UI agnostic, meaning that the thing that couples your presenter to your View is the View-interface. So the MVP framework would work nicely in both Windows Forms, WPF, Silverlight and APS.NET applications... The draw-back is that you need modre code-behind in your XAML files to implement the IView-interface. WPF and Silverlight has fantastic databinding support, and patterns like ViewModel/PresentationModel really lets you take advantage of that. The Command-Patern lets you lously couple UI-events (like buttons beeing pressed) with the subscriber (the ViewModel). The benefit of having slim (or no) code-behind your XAML files is that it makes it easier for designers to be creative and really own the UI experience. Once you have alot of code you're view interface implementation is bound to the concrete UI widgets (textboxes, checkboxes etc), and changing the UI in XAML would require to change some C# code as well. If you're about to start on a new WPF project I would recommend checking out Prism (now known as Composite WPF - http://www.codeplex.com/CompositeWPF). For an easy-to-follow introduction to MVP check out http://msdn.microsoft.com/en-gb/magazine/cc188690.aspx - It's using Windows Forms and ASP.NET for its samples. Cheers, Jonas Follesø On Fri, Aug 8, 2008 at 12:53 PM, Rodrigo Ratan [EMAIL PROTECTED]wrote: Hi Jonas, I'm working in a team of a WPF project and we're exploring the advantages of MVP in our project. Our main goal is to have our application logic easily-compatible with other UI technologies like Silverlight and ASP.net for Web or any other view that we would want to use. Do you think that M-V-VM (Presentation model) should be used in this scenario? By the way, Can anyone recommend a good focused WPF mail-list? Thanks in advance, []s! Rodrigo Ratan On 7/24/08, Jonas Follesø [EMAIL PROTECTED] wrote: Hi guys, I normally don't pimp my blog on the mailing list, but have two posts I'd like to share with you guys: - YouCard Re-visited: Implementing the ViewModel pattern ( http://jonas.follesoe.no/YouCardRevisitedImplementingTheViewModelPattern.aspx ) - YouCard Re-visited: Implementing Dependency Injection in Silverlight ( http://jonas.follesoe.no/YouCardRevisitedImplementingDependencyInjectionInSilverlight.aspx ) Lately I've been spending allot of time thinking about how to best architect a Silverlight application and which patterns that apply. Since Silverligth is so similar to WPF we can learn from their experiences. There are several frameworks being brought over from WPF to Silverlight, such as Unity ( http://michaelsync.net/2008/07/11/unity-application-block-unity-for-silverlight-and-stoplight-quickstart) and Composit WPF/Prism ( http://www.codeplex.com/CompositeWPFContrib/Wiki/View.aspx?title=Prism%20to%20SilverlightreferringTitle=PrismAG ). One of the things I care allot about is providing a good design time experience in Blend, with proper test data etc. Way to often I download WPF/Silverlight samples from Microsoft, and try to put my self in the shoes of a designer who want
Re: [OzSilverlight] VSM Issue
It has to do with your name space declarations on top of the XAML file. Try removing that name space. I don't have a Silverlight machine available right now, but I don't think you need the explicit VMS name space. On Tue, Jul 8, 2008 at 2:22 PM, Alex Knight [EMAIL PROTECTED] wrote: Hi Guys, I have just been playing around with skinning an application and it seems that every time I edit something to do with VSM it changes my XAML and won't run. ItemsControl VerticalAlignment=Top x:Name=Comments Grid.Row=1 ItemsControl.ItemTemplate vsm:DataTemplate my:Comment x:Name=CommentItem/ /vsm:DataTemplate /ItemsControl.ItemTemplate /ItemsControl That's it there, it adds in the vsm: in front of the DataTemplate. Which in turn breaks the app, all I have to do fix it is delete the vsm: out of the XAML and it works again. Any thoughts? A bug maybe? Alex Knight Designer *:: OBJECTIFY.* t 1800 666 062 f 03 5444 4865 e [EMAIL PROTECTED] w www.objectify.com.au *DISCLAIMER:* This email and any files transmitted with it are intended for the named recipient/s only. The information contained in this message may be confidential, legally privileged and copyright work. Please do not copy or forward this email unless you have the express permission of the sender to do so. If you have received this email in error, please notify the sender immediately by return email and delete this message. Objectify does not warrant or guarantee that this email or any files transmitted with it are free of errors, viruses or interference, or have been received in the form sent. The recipient assumes all responsibilities for any consequences resulting from any use of this email or any files transmitted with it. ** --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Silverlight AJAX Multi File Uploader - Update to Nikhils original demo
That's a great post Philip! Great example of using Silverlight for more than just UI work. Wilco Bauwer have more examples and ideas on this kind of stuff over at http://www.wilcob.com/Wilco/Silverlight/silverlight-interoperability.aspx. You could do lots of cool stuff with Silverlight to enhance traditional web pages. Client side caching is another example where it could be usefull. One could abstract away Silverlight Isolated Storage, Google Gears and Flash 6 local storage in a simple JavaScript API and get local cache that would work on lots of machines depending on which plug-in is available. :) On Fri, Jun 27, 2008 at 7:08 AM, Philip Beadle [EMAIL PROTECTED] wrote: Hi All, I have updated Nikhil's Alpha 1.1 demo from last year to run in Beta 2. Works a treat and shows off a bunch of cool SL features. Check the blog post here http://philipbeadle.net/Default.aspx?tabid=53EntryID=108 Cheers Regards, Philip Beadle Readify | Principal Consultant Microsoft MVP - ASP/ASP.NET Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 417 301 024 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: www.readify.net -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of David L. Campbell Sent: Friday, June 27, 2008 1:26 AM To: listserver@ozSilverlight.com Subject: RE: [OzSilverlight] RE: Deep Zoom Problems arggg... another 'blogspot' site... and I can't get to them from inside this (work) facility :( Dave http://www.wynapse.com http://www.silverlightcream.com From: [EMAIL PROTECTED] on behalf of Scott Barnes Sent: Wed 6/25/2008 9:00 PM To: listserver@ozSilverlight.com Subject: [OzSilverlight] RE: Deep Zoom Problems Q. How far do you want to zoom? Also - What limitations are you facing with Deep Zoom? and how do you want us to fix them should they exist? Have you all seen: http://projectsilverlight.blogspot.com/ ? p.s Meet with the Deep Zoom folks today at their HQ (sweet office in down town Seattle), there is a lot to be said for this technology, very exciting times ahead. -- Scott Barnes (Rich Platform Product Manager) Microsoft Corp. http://www.microsoft.com/ | Blog: http://blogs.msdn.com/msmossyblog http://blogs.msdn.com/msmossyblog | Mobile: + 1 (425) 802-9503 (New!) Twitter: twitter.com/mossyblog http://twitter.com/mossyblog | MSN: [EMAIL PROTECTED] P Please consider your environmental responsibility before printing this e-mail From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Ola Karlsson Sent: Wednesday, June 25, 2008 8:04 PM To: listserver@ozSilverlight.com Subject: [OzSilverlight] RE: Deep Zoom Problems Hi Alex, Not sure if this is related to the issue you're having, but I was listening to a DotNetRocks show http://www.dotnetrocks.com/default.aspx?showNum=348a while back where they were talking Deep zoom. And it seems there are some limitations on how far you can zoom, a quick Google and I also found a post on the Expressions team's blog mentioning some limitations http://blogs.msdn.com/expression/archive/2008/06/07/what-s-new-in-deep-zoom-composer.aspx#8602273 Good luck, Ola From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Alex Knight Sent: Thursday, 26 June 2008 10:44 AM To: listserver@ozSilverlight.com Subject: [OzSilverlight] Deep Zoom Problems Hi Everyone, I have been playing around with deep zoom a little and have run into an issue with it only allowing me to zoom so far. I have written a quick blog about it: http://agkdesign.wordpress.com/2008/06/26/deep-zoom-white-screen-of-zoom-doom/ Any ideas? Thanks! Alex Knight --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by
Re: [OzSilverlight] Mouse events on Slider control
Hi, I'm quite sure you're beeing bit by the changes in routed events and event bubbling made in SL2 Beta 2. Check http://silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspxfor details. I'm on my way out the door for Vic.NET UG meeting, so can't check if this is your prolbem, but I'm quite sure it is ;) On Tue, Jun 10, 2008 at 5:09 PM, Stephen Price [EMAIL PROTECTED] wrote: Hey all, I'm not sure if I'm going crazy or if this is a bug. Maybe someone else can verify if this is a Silverlight beta 2 bug? I've tried via code and via Xaml, but I just can't get the Mouse events to raise. I don't think they are gone, they are still in the docs. MouseLeftButtonDown and MouseEnter (haven't checked the others) don't work. ValueChanged works fine. My code worked in beta 1 but not now. Can anyone else reproduce this? public Page() { InitializeComponent(); theSlider.MouseLeftButtonDown += new MouseButtonEventHandler(theSlider_MouseLeftButtonDown); theSlider.MouseEnter += new MouseEventHandler(theSlider_MouseEnter); theSlider.ValueChanged +=new RoutedPropertyChangedEventHandlerdouble(theSlider_ValueChanged); } void theSlider_MouseEnter(object sender, MouseEventArgs e) { Debug.WriteLine(theSlider.Value.ToString()); } void theSlider_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Debug.WriteLine(theSlider.Value.ToString()); } private void theSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgsdouble e) { if (theSlider != null) { if (theSlider.Value 0) { Debug.WriteLine(theSlider.Value.ToString()); } } } --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Deep Zoom with Virtual Earth Part2
John, That is just A.W.E.S.O.M.E! Getting Silverlight talking directly to Virtual Earth was a key piece to get going - And the current POC runs really smoothly. Do you know if this is the same approach used on http://silverlight.idvsolutions.com/ (from the Silverlight Showcase gallery)? It's not updated to Beta 2 so you need a Beta 1 machine to run it. They say it's a 100% silverlight Virtual Earth app - But no code available. Haven't bothered downloading the XAP and checking out what they're doing. They have a pretty slick zoom level control that would be nice to mimick. Cheers, Jonas :) On Wed, Jun 11, 2008 at 11:05 AM, John OBrien [EMAIL PROTECTED] wrote: Hey guys, thanks to Shaun Becker I now have Silverlight talking directly to the Virtual Earth tiles. Check out live example: http://deepzoom.soulclients.com/VE/ The plan is to create a codeplex project, I have a tonne of knowledge around Virtual Earth to contribute but I'm looking for others to help and think outside the square. What is super cool is the XAP file is only 7.7KB so far. If you're interested give me a yell. Looking for good architecture, coding up sections and importantly design and UX skills for controls, panels, pop-ups and pins. John. --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Silverlight 2 Beta 2 coming this week
Finally announced :) So this week/next week will be all about updating my blog posts and work code to Beta 2. There will deff. be lots of interesting Silverlight 2 B2 as well as Blend 2.5 CTP announcements this week :) yay On Wed, Jun 4, 2008 at 6:41 AM, Jordan Knight [EMAIL PROTECTED] wrote: Came across this in my RSS scans this morning: http://blogs.msdn.com/silverlight_sdk/archive/2008/06/03/silverlight-2-beta-2-releasing-soon.aspx __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Basic Http Authentication on Cross Domain SOAP service calls in Silverlight 2
Hi Jonathan, Silverlight 2 Beta 1 doesn't care about your client configuration file. It's simply not read. Will be implemented in Beta 2. Eugene Osovetsky has a good talk titled Working with Data and Web Services in Silverlight 2 from MIX08 that covers working with services really well. So even tough you have access to the HTTP headers on the HttpWebRequest object you can ONLY set headers on HTTP GET, on same domain. So there is currently no way you can set authentication headers on your requests... But, we worked around it by hosting the silverlight app on the same domain as the oracle services. Okay for now. Cheers, Jonas On Wed, May 14, 2008 at 1:19 AM, Jonathan Parker [EMAIL PROTECTED] wrote: I think BasicHttpSecurityMode.TransportCredentialOnly is what you need. Try puting this inside the binding element of your client config file security mode=TransportCredentialOnly / *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jonas Follesø *Sent:* Monday, 12 May 2008 12:40 PM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Basic Http Authentication on Cross Domain SOAP service calls in Silverlight 2 Hi, I have a question regarding Silverlight authentication. The scenario is as follow: I need to call an Oracle Soap Service, protected using basic http authentication, from a Silverlight client. The client will not be hosted on the same server, but the server will have a crossdomain.xml file allowing my Silverlight client to call the service. In my auto-generated service client I can't access the HttpHeader collection to add the basic http authentication header.. However, if I use the raw HttpWebRequest class I can add the authentication header before making the request. Do I really have to use the HttpWebRequest class and parse the returned XML my self, or is there a way to set basic http credentials on the web service proxy? cheers, Jonas Follesø --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Weird debugging
Yeah, that's my guess as well. I tried to unzip the XAP, and there is no PDB file in it, so I guess you have the assembly, the PDB and the code available in VS, which is attached to your browser from your last debug session... So I don't think VS cares that the code comes from the web, as long as you have the PDB and code available locally. My guess. On Wed, May 7, 2008 at 12:30 PM, Damian Edwards [EMAIL PROTECTED] wrote: Completely guessing here, but VS is attached to your instance of IE running locally (like it does to debug javascript) so opening in another tab still means the debugger is able to see any code executing there, and because it's the same assembly running VS hits your breakpoint. Regards, *Damian Edwards *Readify | Senior Consultant M: 0448 545 868 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: www.readify.net *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Stephen Price *Sent:* Wednesday, 7 May 2008 11:46 *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] Weird debugging Ok, now I just stumbled upon something very weird. I have a local Silverlight app that I am working on and I was in debug mode... and sitting on a breakpoint. Business as usual. I uploaded the bits needed to run it to my web host and in the same browser as the one running the Silverlight app locally (paused on breakpoint) I ran the online version in a new Tab. OMG it hit a breakpoint in Visual Studio! Is this trickery? I understand the Silverlight is running in a local browser, so now that I think about it debugging a remote web site (assuming the Web.Config file lets me) shouldn't be an issue. But how did I attach to the thing? Also, I guess, how do I debug a remote web site intentionally? (Without having to fool it by running a local copy in debug). Do I just put the remote url in the debug properties of the site? might try that out... This is very cool. Is this common knowledge? I'm still cutting my teeth here porting my skills from WPF to Silverlight... cheers, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
[OzSilverlight] Strange databinding problem
I'm doing some Silverlight databinding, and get a strange message in the Output window when running in debug mode: BINDING: Can't convert type myFosters.SilverlightOrder to type System.Windows.DOWrapper BINDING: Can't convert type myFosters.SilverlightOrder to type System.Windows.DOWrapper BINDING: Can't convert type myFosters.SilverlightOrder to type System.Windows.DOWrapper BINDING: Can't convert type myFosters.SilverlightOrder to type System.Windows.DOWrapper ListBox x:Name=ordersList ItemsSource={Binding} ListBox.ItemTemplate DataTemplate myFosters:OrderStatusLine DataContext={Binding} / /DataTemplate /ListBox.ItemTemplate /ListBox So basically I create a custom control for each SilverlightOrder and bind it... I tried googeling for System.Windows.DOWrapper - No hits... Any ideas? The app runs fine, and I can bind to properties on the SilverlightOrder object inside the OrderStatusLine control, but I still want to figure out what that message means. cheers, Jonas --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
[OzSilverlight] Introduction and test message
Hi, Just joined the mailing list and wanted to send a quick test message, as well as introduce my self. My name is Jonas Follesø, come from Norway, I work as a Senior Consultant at Capgemini, doing a one-year transfer to the Capgemini Melbourne Office. My blog is up at http://jonas.follesoe.no, where I blog about things that interests me, such as diving, .NET development, Silverlight and more. I probably met some of you at CodeCampOz in Wagga Wagga last weekend, where I gave a presentation on interactive video using Silverlight. Hope to meet many of you at REMIX in Sydney or Melbourne. Cheers, Jonas Follesø Senior Consultant Capgemini Microsoft Regional Director, Norway http://jonas.follesoe.no --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] MediaElement
Philip is right. Just wanted to add this link: Silverlight 2: Demystifying URI references for app resources at http://nerddawg.blogspot.com/2008/03/silverlight-2-demystifying-uri.html. It explains the different way you can work resources, and how the URI scheme work for resources. Cheers, Jonas On Wed, Apr 30, 2008 at 8:17 AM, Philip Beadle [EMAIL PROTECTED] wrote: If you set the build action to Content it will be included in the xap file and should work for you. Regards, *Philip Beadle* Readify | Principal Consultant Microsoft MVP - ASP/ASP.NET Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 417 301 024 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: www.readify.net -- The content of this e-mail, including any attachments is a confidential communication between Readify Pty Ltd and the intended addressee and is for the sole use of that intended addressee. If you are not the intended addressee, any use, interference with, disclosure or copying of this material is unauthorized and prohibited. If you have received this e-mail in error please contact the sender immediately and then delete the message and any attachment(s). *P** **Please consider your environmental responsibility before printing this e-mail* -- *From:* [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Stephen Price [EMAIL PROTECTED] *Sent:* Wednesday, 30 April 2008 1:20 AM *To:* listserver@ozsilverlight.com *Subject:* [OzSilverlight] MediaElement Has anyone played with the MediaElement much? I'm having an interesting problem with it. This works; MediaElement x:Name=VideoElement Source= http://localhost:53018/TestVideo.wmv; / But this doesn't; MediaElement x:Name=VideoElement Source=TestVideo.wmv / I'm not sure if I'm supposed to set Copy if newer or don't copy. When it's running locally on my machine it works because the wmv file is in the top level directory. Should I be putting it in bin/TestVideo.wmv? Also when I copy the whole thing up to my webhost and run it, it loads the MediaElement but no video. No errors or anything... Puzzling. Suggestions on how to see where it is looking on the server for the file? thanks, Stephen --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
Re: [OzSilverlight] Introduction and test message
Philip: Was good meeting you to! I really liked your session on TDD. I'm not quite there my self, but I'm trying! Also liked how you touched upon different types of testing. Personally I've had sucsess with automated smoke tests of the UI using Watir (Ruby based), so this Watin is something I have to look into. But yeah, we should deff catch up over a beer, perhaps after REMIX :) Stepen: Thanks for the link! My presentation was pretty much one big demo, and it's available on my blog over at http://jonas.follesoe.no. Need Silverlight 2 Beta 1 to run the samples. I'll be giving the New possibilities with Microsoft Silverlight 2 presentation at REMIX, so catch you at REMIX melb :) Cheers, Jonas On Wed, Apr 30, 2008 at 9:03 AM, Stephen Price [EMAIL PROTECTED] wrote: Hi Jonas, Welcome to the list! I unfortunately missed your session at Code Camp this year. I'm in Perth and didn't get over there but I heard your session was a good one. I sent my boys Maurice and DG over and they gave you a good review. See photo on nick's blog for photo of them at Code camp. :) http://www.nickhodge.com/blog/archives/2528 I'll be at Remix '08 in Melbourne (wearing Quokka shirt) so will be good to catch up. Oh, is your Code Camp session posted up anywhere yet? I'd love to check out what I missed. cheers, Stephen On Tue, Apr 29, 2008 at 4:15 PM, Jonas Follesø [EMAIL PROTECTED] wrote: Hi, Just joined the mailing list and wanted to send a quick test message, as well as introduce my self. My name is Jonas Follesø, come from Norway, I work as a Senior Consultant at Capgemini, doing a one-year transfer to the Capgemini Melbourne Office. My blog is up at http://jonas.follesoe.no, where I blog about things that interests me, such as diving, .NET development, Silverlight and more. I probably met some of you at CodeCampOz in Wagga Wagga last weekend, where I gave a presentation on interactive video using Silverlight. Hope to meet many of you at REMIX in Sydney or Melbourne. Cheers, Jonas Follesø Senior Consultant Capgemini Microsoft Regional Director, Norway http://jonas.follesoe.no --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net --- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net