tag:blogger.com,1999:blog-8587389372966735312023-11-15T05:30:23.785-08:00Silver Light DeveloperChris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-858738937296673531.post-22083209168367064642009-07-15T12:54:00.000-07:002009-07-15T13:01:13.803-07:00"This collection already contains an address with scheme http. There can be at most one address per scheme in this collection"If you are using a third party host like discountasp.net and you are trying to host a wcf service<br />within your web application and you get this error message:<br /><br />"This collection already contains an address with scheme http. There can be at most one address per scheme in this collection"<br /><br />you will need to add the following web.config key:<br /><br /><servicehostingenvironment><br /><baseaddressprefixfilters><br /><add prefix="httplinktoyoursite"><br /></baseaddressprefixfilters><br /></servicehostingenvironment><br /><br />If you have any tips, tricks or resources you would like to share with the group please email them to Susan Fischer at <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-32613191470032308072009-05-27T07:07:00.000-07:002009-05-27T07:08:47.845-07:00Setting up Sharepoint for Silverlight web partsWhen trying to install Silverlight on Sharepoint 2007 or wss 3.0 its not an easy task.The first step is following the web.config tweeks in this article.<br /><br /><a href="http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax-35.html">http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax-35.html</a><br /><br />The second step is copying the System.web.silverlight.dll into either the bin folder for the site or registering it with the GAC.<br /><br />The third step is making sure the scriptmanager is loaded properly. Here is an article that will help you place it in the right spot.<br /><br /><a href="http://blogs.prexens.com/Lists/Posts/Post.aspx?List=7a299699%2Df8da%2D4559%2D920c%2Dbda481608691&ID=3">http://blogs.prexens.com/Lists/Posts/Post.aspx?List=7a299699%2Df8da%2D4559%2D920c%2Dbda481608691&ID=3</a><br /><br />If you have any tips, tricks or resources you would like to share with the group either post them as comments or email them to Susan Fischer at <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a> and we will post them.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-51180130836479315722009-04-11T18:12:00.000-07:002009-04-11T18:13:25.829-07:00404.3 Error browsing to WCF Service in the browserPROBLEM: You try to hit your WCF Service and get an error. When you try to browse to it you get the following error: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.<br /><br />SOLUTION: This usually means that WCF is not registered with IIS. You can manually register it by clicking on start and run and running the following command: C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\servicemodelreg.exe -i If the directory does not exist then it means the proper version of the .net framework is not installed. You can install the proper version from the Microsoft site.<br /><br />If you have any tips, tricks, or resources, please email them to Susan Fischer at <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a> and we will post them.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-78739855088944703232009-04-09T08:51:00.000-07:002009-04-09T08:52:09.628-07:00Silverlight meets Twitter and the result are amazingI got introduced to this the other day. For you twitter fans there is no better application than this. Its still in beta and the creators are still making it better every day. <br /><br />Check it out at:<br /><br /><a href="http://digitweet.codeplex.com/">http://digitweet.codeplex.com/</a><br /><br />If you come across any tools you think the group would find useful please email them to Susan Fischer at <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a> and we will post them here.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-55084237411865039812009-04-08T11:48:00.000-07:002009-04-08T11:53:13.321-07:00Toronto Silverlight Users Group - A First Look at Silverlight 3.0<p>I know it is kind of last minute but I recently heard myself. If you are in the Toronto Area.<br />Take a stroll over to the MSN office at 222 Bay St (near the TSE) at 6:30 pm Thursday April 9, 2009. </p><p>The Awesome Guys at DigiFlare will be on hand and there will be a first look at Silverlight 3.0 presentation by Burce Johnson. Look forward to seeing you there.</p><p>Please check out the website for more details: <a href="http://www.torontosilverlight.com/">http://www.torontosilverlight.com/</a></p><p>If you have any tips, tricks, resources, or events you would like to share with the gorup please email them to Susan Fischer at <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a> and we will post them here.</p><p> </p>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-10737929888778634182008-11-07T06:24:00.000-08:002008-11-07T06:28:24.105-08:00Headless Silverlight - A simpler way to do realtime data in htmlI was out with the gang out at Yonge and Bloor and one of they guys started talking about Headless SilverLight. I was curious so I got the talking more. What a concept!! Instead of playing and hacking with a language you cannot easily code and debug, why not code in your native c# or vb.net code. You also get the valuable .net libraries to help you out.<br /><br />That is the idea behind this headless SilverLight example. I thought I would pass it on and share it with others as this is an ingenius idea.<br /><br /><a href="http://www.marcmywords.org/page/Marchitecture-Real-time-Data-in-HTML-with-Silverlight.aspx">http://www.marcmywords.org/page/Marchitecture-Real-time-Data-in-HTML-with-Silverlight.aspx</a><br /><br />If you have any tips, tricks, resources that you think will help other SilverLight developers please email them to <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a> and I will post them.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-43794862848923834742008-09-29T07:35:00.000-07:002008-09-29T07:40:08.787-07:00Silverlight 2.0 Release Candidate its about time!!!As the Olympics ended many were sad they have to wait another 4 years but all the .NET<br />developers were excited as now the games really begin. Microsoft has now released the Silverlight 2.0 Release Candidate that it ran in beta for the games.<br /><br />You can now download it at:<br /><br />http://silverlight.net/GetStarted/sl2rc0.aspx<br /><br />I am very much looking forward to the promised fixes such as easier install of the plug-in, better performance and all the other features. I am downloading it as I write. I will update you on my findings.<br /><br />If you have already started to use it please comment on this posting and I will publish your findings too. You can also email them to me at susan@clinchportal.comAnonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-59096733750161647872008-05-02T10:11:00.001-07:002008-05-02T10:11:49.466-07:00Perpetual BeginnerFor those just learning some of the newer technologies such as subsonic, linq, mvc, etc this is going to be fast becoming the place to go. It is definitely a blog to keep an eye on. The perpetual beginner, Jesse Naiman, will soon be a name you will remember. <br /><br />Here is the link to his blog: <a href="http://alt-net-guild.blogspot.com/">http://alt-net-guild.blogspot.com/</a>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-72344444464767124082008-02-21T06:01:00.000-08:002008-02-21T06:03:46.393-08:00Moonlight: Silverlight for LinuxFor those interested in Linux and Silverlight, it looks like the Mono folks have an answer.<br /><br /><a href="http://radar.oreilly.com/archives/2007/09/moonlight-silverlight-for-linu.html">http://radar.oreilly.com/archives/2007/09/moonlight-silverlight-for-linu.html</a><br /><br /><a href="http://www.mono-project.com/Moonlight">http://www.mono-project.com/Moonlight</a>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-1755817886141382592008-02-08T06:03:00.000-08:002008-02-08T06:19:25.083-08:00Why Silverlight is still not ready for the big gameWe were still up in the air about SilverLight over Flash for different reasons. We currently use Flash 9. Here are the big issues that are stopping our transition:<br /><br />1) In flash you can use the div method so you can use alternate content for the user if they do not have flash. Most people use the download flash message but in some cases where flash is used to enrich the experience in the case of a menu. you can always show them an html menu instead. In Silverlight it<br /><br />2) The second issue is that expression blend does not support source control. <br /><br />Fixing these issues will make Silverlight a lot more usable.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-53699708780128459492008-02-01T09:22:00.001-08:002008-02-01T09:22:20.347-08:00Trouble installing Visual Studio or .net FrameworkI was having trouble installing Visual Studio 2008 after installing earlier betas of it.<br />Unfortunately the uninstall in add/remove programs was broken. I came across this tool and used it to remove the older frameworks. I thought I would pass it on:<br /><br />http://blogs.msdn.com/astebner/archive/2005/04/08/406671.aspxAnonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-3291005093423314352007-06-28T12:06:00.000-07:002007-06-28T12:09:55.932-07:00Maven Collaborates with Microsoft for Next-Generation Internet TV Experiences Using Microsoft SilverlightLooks like Silverlight is starting to gain momentum, Making it the best time to get in.<br />Below is an article on Microsoft and Maven teaming up:<br /><br /><a href="http://miranda.broadcastnewsroom.com/articles/viewarticle.jsp?id=151114">http://miranda.broadcastnewsroom.com/articles/viewarticle.jsp?id=151114</a><br /><br />I think we will see a lot more of these pairing in the next few months as SilverLight and Orca go in to full releases.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-20089831815402918532007-06-24T14:28:00.000-07:002007-06-24T14:30:54.652-07:00Silverlight and Intellisense<p>I came across this article that discusses getting visual studio to show the intellisense for<br />Silverlight development:</p><p><a href="http://blog.benhall.me.uk/2007/05/silverlight-10-intellisense-in-visual.html">http://blog.benhall.me.uk/2007/05/silverlight-10-intellisense-in-visual.html</a></p>If you know any Tips or Tricks I can add to this blog please email them to me at <a href="mailto:chrisw_88@hotmail.com">chrisw_88@hotmail.com</a>Anonymousnoreply@blogger.com1tag:blogger.com,1999:blog-858738937296673531.post-48335615026864161542007-06-24T11:06:00.000-07:002007-06-24T14:52:28.972-07:00Silverlight with Visual Studio 2005If you are trying to use Silverlight with Visual Studio 2005 there are a few issues to watch out for. Bryant Likes has created an article that contains the steps and a sample class library dll to act as a wrapper of the Silverlight binaries. I have included an excerpt below the link as well as a few issues I have found on other websites related to Silverlight and Visual Studio 2005.<br /><br /><a href="http://blogs.sqlxml.org/bryantlikes/archive/2007/05/02/silverlight-hello-world-in-c-from-vs-2005.aspx">http://blogs.sqlxml.org/bryantlikes/archive/2007/05/02/silverlight-hello-world-in-c-from-vs-2005.aspx</a><br /><br /><p>Well, in VS2005 you can create a class library which will build against the Silverlight runtime, but it's a little work.<br /></p><ol><li>Create a Class Library. </li><li>Remove all references from it.</li><li>Right-click on the Project and pick Properties. </li><li>On the Build tab, click Advanced and check 'Do not reference mscorlib.dll' </li><li>Manually add references to mscorlib, agclr, System, System.Core, System.Silverlight, and System.Xml.Core from the Silverlight install folder (\Program Files\Microsoft Silverlight\) At this point your build outputs should be Silverlight consumable binaries. It looks like the equivalent command line call to csc.exe (the C# compiler) should include the references to the mentioned binaries and the /nostdlib option but may require others as well. -Scott</li></ol><p>You may also want to check out this article as it mentions a couple issues you may run in to: <a href="http://silverlight.net/forums/t/370.aspx">http://silverlight.net/forums/t/370.aspx</a><br />Here is a summary:<br /></p><blockquote>You may get the following error message:<br /> Silverlight error<br />message ErrorCode: 2252 ErrorType: ParserErrorMessage:<br /> AG_E_RUNTIME_MANAGED_ASSEMBLY_DOWNLAODXaml File: Page.xamlLine:<br />7Position: 9<br />That's a common error message whenever the Silverlight runtime<br />can't get to the assembly. Usually either IIS isn't serving the DLL to browsers<br />or the path in the Xaml file to the assembly is not the right path relative to<br />the HTML page or Web Form consuming the Silverlight content.<br />Issue 1: IIS<br />not serving the DLL to browsers.The easiest way to check this is to manually<br />give the browse the URL to the DLL itself and see if you get the Open/Save<br />dialog from IE. If you do, the assembly is being served correctly. If you don't,<br />IIS isn't configured to serve the assembly. For us, this usually happened for<br />Virtual Directories which were configured with 'Execute Permissions' set to<br />'Scripts and Executables'. Run the inetmgr tool, right-click on your Virtual<br />Directory, and look at the value for Execute Permissions on the Directory tab.<br />It should be 'Scripts Only' so that IIS tries to serve the assembly as a file<br />rather than looking for an entry point to execute it.<br />Issue 2: Assembly path<br />isn't relative to the web page consuming the Silverlight contentCurrently the<br />Xaml files need a path to the assembly (like ClientBin/SilverlightProject1.dll)<br />and while the path is in the Xaml file, it's evaluated relative to the HTML page<br />or Web Form using the Xaml. So, if your Web Form is <a href="http://myserver/mysite/TestPage.html">http://myserver/mysite/TestPage.html</a><br />and your Xaml file says to look for ClientBin/SilverlightProject1.dll, the<br />runtime will look at <a href="http://myserver/mysite/ClientBin/SilverlightProject1.dll">http://myserver/mysite/ClientBin/SilverlightProject1.dll</a>.<br />Make sure the Xaml file and consuming page are in the same folder, or modify the<br />path in the Xaml file so that it's relative to where the consuming web page will<br />really be located. We're working on a better solution to this problem so that<br />the Xaml file doesn't need to know about the consuming page, but for now the<br />easiest solution is to put them in the same location.<br />Another user commented<br />that they fixed this issue the following way:<br />In my Page.xaml file I changed<br />the assembly=silverlight1.dll to assemby=bin/Debug/silverlight1.dll and finally<br />everything started to work.<br />Also another issue that will raise the parse<br />error is the location of the compiled Class Library *.dll file.<br />The<br />Silverlight 1.1 runtime requires the dll to be downloaded to the client. Some<br />web server configurations won't allow dll's to be downloaded from the standard<br />Bin or Cgi-bin folders which is where one typically sticks compiled dll<br />libraries. The easiest way is to just place it alongside your other xaml assets<br />while keeping in mind the above caveat of remembering the path is relative to<br />the page calling the xaml object.<br />I found another situation where the<br />ClientBin path gets messed up. Create a project with a name of the form A-B, the<br />namespace becomes A_B, the xaml file has assembly=ClientBin/A_B.dll, but the dll<br />is built as ClientBin/A-B.dll<br /></blockquote><p>Hope these excerpts of errors and issues with tips to fix them was helpful. </p><p>If you run into issues using Silverlight with Visual Studio 2005 please email them to me.<br />Also, if you know any Tips or Tricks I can add to this blog please email them to me at <a href="mailto:chrisw_88@hotmail.com">chrisw_88@hotmail.com</a><br /> </p><p></p>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-83166227712235773092007-06-22T07:27:00.000-07:002007-06-22T07:28:43.646-07:00Downloading OrcasI tried downloading Orcas from: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5d9c6b2d-439c-4ec2-8e24-b7d9ff6a2ab2&DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=5d9c6b2d-439c-4ec2-8e24-b7d9ff6a2ab2&DisplayLang=en</a> but part 5 seems to be corrupt.<br /><br />If you know of a workaround or a place to get part 5 please email me at <a href="mailto:chrisw_88@hotmail.com">chrisw_88@hotmail.com</a> and I will post it here to help others download it as well.<br /><br />For now, I am trying out the express edition at: <a href="http://msdn.microsoft.com/vstudio/express/future/default.aspx">http://msdn.microsoft.com/vstudio/express/future/default.aspx</a><br /><br />I am actually trying to play with SilverLight so I am hoping that the Web Developer version works with it.<br /><br />Please pass this on to all the SilverLight or Orcas developers you know. For more information or if you have any tips, tricks, events that you think other SilverLight orOrcas developers would benefit from, please email me at <a href="mailto:chrisw_88@hotmail.com">chrisw_88@hotmail.com</a> I will post them on either the SilverLight or Orcas blogs depending on where they are more suited.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-858738937296673531.post-56013745318251832552007-06-22T07:12:00.001-07:002007-06-22T07:16:44.688-07:00IntroductionWelcome to the SilverLight Tips and Tricks page.<br /><br />This blog is designed to contain various Tips and Tricks to help you with your SilverLight development. SilverLight is Microsofts Competing technology to Flash. Macromedia Flash is the current industry standard. We will have to see if Microsoft can pull off an industry shift.<br /><br />Since there are a lot of changes from Flash to SilverLight, hopefully this will help you with some of the pot-holes found during transition from Flash to SilverLight and for beginners help you learn SilverLight from scratch.<br /><br />I am hoping to keep this blog specifically related to SilverLight and have created a second blog at <a href="http://clinch-orcas.blogspot.com/">http://clinch-orcas.blogspot.com</a> specifically for Orcas - the next visual studio development.<br />However for those using SilverLight you may find this line blurs as the two integrate together so you may see crossover posts on both blogs.<br /><br />If you know any Tips or Tricks I can add to this blog please email them to me at <a href="mailto:chrisw_88@hotmail.com">chrisw_88@hotmail.com</a>Anonymousnoreply@blogger.com0