WCF 4.5 http://rickgaribay.net/category/54.aspx WCF 4.5 en-US Rick G. Garibay rickgaribay@hotmail.com Subtext Version 1.9.5.176 Azure Conf Session is Up http://rickgaribay.net/archive/2012/11/16/azure-conf-session-is-up.aspx <p>I had a total blast delivering my session on WebSockets on Windows Azure at <a href="http://channel9.msdn.com/Events/WindowsAzureConf/2012" target="_blank">AzureConf</a> on Wednesday and am pleased to share that the recording of my session is now up.</p> <p>You can view it by clicking below or <a href="http://channel9.msdn.com/Events/WindowsAzureConf/2012/A01" target="_blank">follow this link to view on Channel 9</a> along with a number of other fantastic sessions that highlight how MVPs are using Windows Azure today.</p> <p><a href="http://channel9.msdn.com/Events/WindowsAzureConf/2012/A01" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/images/rickgaribay_net/Windows-Live-Writer/4af85884bd01_EAC3/image_3.png" width="553" height="484" /></a></p> <p>Thanks again to Brady, Cory and team for an amazing event!</p><img src="http://rickgaribay.net/aggbug/351.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/11/16/azure-conf-session-is-up.aspx Fri, 16 Nov 2012 23:45:55 GMT http://rickgaribay.net/archive/2012/11/16/azure-conf-session-is-up.aspx#feedback 1 http://rickgaribay.net/comments/commentRss/351.aspx http://rickgaribay.net/services/trackbacks/351.aspx The Goods: WebSockets Programming in .NET 4.5 and Windows Azure at That Conference http://rickgaribay.net/archive/2012/08/14/the-goods-websockets-programming-in-.net-4.5-and-windows-azure.aspx <p>We’re just wrapping up day 2 of sessions at <a href="http://www.thatconference.com/" target="_blank">That Conference</a> in Wisconsin Dells, WI and like yesterday, this has been a great day chock full of sessions, great conversations and meeting new people.</p> <p>On Monday I had the opportunity to support Microsoft at their table by staffing an Ask the Experts slot on Windows Azure which was a great opportunity to talk to folks about Azure, Azure Service Bus, etc. and handing out drink tickets to those with the best question.</p> <p>I was also flattered to be interviewed by <a href="http://www.russtoolshed.net/" target="_blank">Russ Fustino</a> for ComponentOne. It was great catching up with Russ- a true legend in the Microsoft developer community!</p> <p>I am really impressed by the developer scene here in the Midwest with developers from all languages and platforms coming together to invest in themselves, their organization and most of all their community for 3 days at the Kalahari Resort. Big shout out to <a href="http://twitter.com/sseely" target="_blank">Scott Seely</a> , <a href="http://twitter.com/csell5" target="_blank">Clark Sell</a> and the legions of invisible people behind the scenes for making this a great inaugural event.</p> <p>On that note, I’d like to thank everyone who attended <a href="http://www.thatconference.com/Sessions/session_198" target="_blank">my talk on WebSockets in .NET 4.5 and Windows Azure</a>. </p> <p>I essentially reprised my content from Azure Connections in Las Vegas this Spring, with updates to Visual Studio 2012 RC and Windows Server 2012.</p> <p>Please take a look at my <a href="http://rickgaribay.net/archive/2012/03/29/building-speedy-azure-applications-with-html5-and-web-sockets-today.aspx">post recapping the content</a> if you want more details but be sure to take the bits posted below instead if you are targeting the RC versions of VS 2012 and Windows Server 2012/Windows 8 as the code samples have changed to align with the RC wave:</p> <p> </p> <div align="center"> <table border="1" cellspacing="0" cellpadding="2" width="1366"><tbody> <tr> <td valign="top" width="81"> <p align="center"><strong>Demo</strong></p> </td> <td valign="top" width="562"> <p align="center"><strong>Summary</strong></p> </td> <td valign="top" width="249"><strong>Goods </strong></td> </tr> <tr> <td valign="top" width="81">Demo 1</td> <td valign="top" width="562"> <p align="left">Live chat sample of Silverlight-based client and WCF Service running on Windows Azure. <br /> <br />Please note that this implementation is deprecated and will not be carried forward. <br /> <br />Instead, please use .NET 4.5 WebSocket support in WCF and ASP.NET. </p> <p align="center"><strong>Sample:</strong></p> <p align="center"></p> <p><a title="http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html" href="http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html">http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html</a></p> </td> <td valign="top" width="249"> <p align="left"><a href="http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_4.png" width="244" height="203" /></a></p> </td> </tr> <tr> <td valign="top" width="81"> <p align="left">Demo 2</p> </td> <td valign="top" width="562"> <p align="left">Simple “Hello World” example of ASP.NET ASHX handler using WebSocketHandler and HTML 5 client demonstrating a trivial “echo” service that displays the date/time each second. <br /> <br />Also included in the Demo 2 folder is a WCF version of the same implementation (which I did not demo during my talk). </p> <p align="left"> </p> <p><strong>Projects:</strong> </p> <p> <br />SimpleEventingSample <br />SimpleEventingService <br /> <br /><font color="#ff0000">Requires Visual Studio 2012 RC &amp; Windows 8/Windows Server 2012 RC/RP</font> </p> <p align="left"></p> </td> <td valign="top" width="249" align="center"> <p align="left"><a href="http://rickgaribay.net/images/rickgaribay_net/Windows-Live-Writer/ed8f9a7b9892_137BA/image_2.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/images/rickgaribay_net/Windows-Live-Writer/ed8f9a7b9892_137BA/image_thumb.png" width="244" height="149" /></a></p> <p><iframe height="120" src="https://skydrive.live.com/embed?cid=DF930EE6F91132FD&amp;resid=DF930EE6F91132FD%211307&amp;authkey=AOD71R5iqJfI5sM" frameborder="0" width="98" scrolling="no"></iframe></p> </td> </tr> <tr> <td valign="top" width="81"> <p align="left">Demo 3</p> </td> <td valign="top" width="562"> <p align="left">Example of using the Twitter Search API as an event stream with WCF using  WebSocketService, Linq to Twitter and HTML 5 with some nice JQuery and CSS animation. </p> <p><strong>Projects:</strong> </p> <p> <br />StatusStreamClient <br />StatusStreamService <br />StatusStreamServiceTests </p> <p align="left"><font color="#ff0000"></font></p> <p align="left"><font color="#ff0000">Requires Visual Studio 2012 RC &amp; Windows 8/Windows Server 2012 RC/RP</font> <br /></p> </td> <td valign="top" width="249" align="center"> <p align="left"><a href="http://rickgaribay.net/images/rickgaribay_net/Windows-Live-Writer/ed8f9a7b9892_137BA/SNAGHTML4ba4793.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="SNAGHTML4ba4793" border="0" alt="SNAGHTML4ba4793" src="http://rickgaribay.net/images/rickgaribay_net/Windows-Live-Writer/ed8f9a7b9892_137BA/SNAGHTML4ba4793_thumb.png" width="244" height="89" /></a></p> <p><iframe height="120" src="https://skydrive.live.com/embed?cid=DF930EE6F91132FD&amp;resid=DF930EE6F91132FD%211307&amp;authkey=AOD71R5iqJfI5sM" frameborder="0" width="98" scrolling="no"></iframe></p> </td> </tr> <tr> <td valign="top" width="81"> <p align="left">Demo 4</p> </td> <td valign="top" width="562"> <p align="left">Another event streaming example, this time using the Twitter Streaming API, Node.js and WebSocket.IO in Windows Azure and HTML 5 animations with CSS 3 box shadow and rotate. <br /> <br />As opposed to the Twitter Search API used in Demo 3, you can see that events are immediately captured and the Streaming API is much more reliable than the Search API. <br /></p> </td> <td valign="top" width="249" align="center"> <p align="left"><a href="http://rickgaribay.net/images/rickgaribay_net/Windows-Live-Writer/ed8f9a7b9892_137BA/image_4.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/images/rickgaribay_net/Windows-Live-Writer/ed8f9a7b9892_137BA/image_thumb_1.png" width="244" height="120" /></a></p> <p align="center"><iframe height="120" src="https://skydrive.live.com/embed?cid=DF930EE6F91132FD&amp;resid=DF930EE6F91132FD%211306&amp;authkey=ABQuTN27kcFSjMI" frameborder="0" width="98" scrolling="no"></iframe></p> </td> </tr> <tr><center> <td valign="top" width="81" colspan="3" align="center"><iframe height="327" src="https://r.office.microsoft.com/r/rlidPowerPointEmbed?p1=1&amp;p2=1&amp;p3=SDDF930EE6F91132FD!1308&amp;p4=&amp;ak=!AO1Dm-rT_vUnzhc&amp;kip=1" frameborder="0" width="402" scrolling="no" align="center"></iframe></td> </center></tr> </tbody></table> <div align="center"></div> </div> <p> </p> <p>On a side note, the next issue of <a href="http://code-magazine.com" target="_blank">CODE Magazine</a> (Sept/Oct 2012) will include a complete, step by step walkthrough of everything you saw in the demo so if you are interested, please check it out and let me know what you think!</p> <p>Thanks again for attending my talk and please share any comments/feedback questions by commenting below.</p><img src="http://rickgaribay.net/aggbug/342.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/08/14/the-goods-websockets-programming-in-.net-4.5-and-windows-azure.aspx Wed, 15 Aug 2012 02:52:26 GMT http://rickgaribay.net/archive/2012/08/14/the-goods-websockets-programming-in-.net-4.5-and-windows-azure.aspx#feedback http://rickgaribay.net/comments/commentRss/342.aspx http://rickgaribay.net/services/trackbacks/342.aspx Building Speedy Azure Applications with HTML5 and Web Sockets Today http://rickgaribay.net/archive/2012/03/29/building-speedy-azure-applications-with-html5-and-web-sockets-today.aspx <p>I had the pleasure of presenting at Spring DevConnections today in Las Vegas and as promised, below are the samples for each of my demos.</p> <p>To recap. WebSocket brings full-duplex, bi-directional TCP sockets to web, desktop and mobile applications, introducing an alternative to XHR and long-polling, particularly when latency is a primary focus. What makes WebSocket so significant to developers in addition to providing a direct, socket-based connection is that it is standardized by both the IETF Hybi working group and W3C which has brought wide industry support across both browser vendors implementing the client support and platform vendors providing support for building WebSocket servers. </p> <p><a href="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image.png"><img style="background-image: none; border-right-width: 0px; margin: 2px 8px 2px 2px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="left" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_thumb.png" width="244" height="133" /></a>Microsoft has been an early champion of the WebSocket protocol, sharing some early investments via HTML5 <a href="http://html5labs.interoperabilitybridges.com/" target="_blank">Interoperability Labs</a> website and maintaining that investment with support for the WebSocket protocol announced at //Build 11 which introduced WebSocket support to Windows 8, Windows Server 8. .NET 4.5 and IE 10 Developer Preview based on the hybi-10 specification.</p> <p><a href="https://www.windowsazure.com/nodejs" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_3.png" width="244" height="110" /></a>With the release of .NET 4.5 Beta 1, all of the above have been updated to RFC 6455, which is the latest specification and expected to be final. </p> <p>Along with broad native support for WebSockets in modern browsers like Chrome, IE 10, Safari and FireFox, the standardization dust has settled making this the right time to jump in.</p> <p>In my talk, we took a lap around the WebSocket support in .NET 4.5, highlighting the APIs that Microsoft has made available in the Microsoft.WebSocket namespace that ships <a href="http://nuget.org/packages/Microsoft.WebSockets" target="_blank">as a package on NuGet</a>. While you can go as deep as you want in the new System.Net.WebSockets namespace that forms the core of Microsoft’s investment in the protocol, the Microsoft.WebSocket package provides higher level abstractions for developing WebSocket solutions today with WCF using WebSocketService and ASP.NET using WebSocketHandler.</p> <p>Since .NET 4.5 and Window 8/Server 8 have not yet been released, it is currently not possible to deploy your .NET 4.5 applications to Windows Azure. That said, while Windows Azure will certainly be updated to support these key technologies following RTM, Azure supports a variety of non-Microsoft programming languages and platforms including Node.js. </p> <p>Demonstrating the latest <a href="https://www.windowsazure.com/nodejs" target="_blank">Azure SDK for Node.js</a>, we got a fully RFC 6455 complain WebSocket service up and running on Windows Azure in a worker role running Node.js and using the WebSocket.IO module to integrate with Twitter’s Streaming API which provides a one-way firehose for tapping into Twitter’s event stream which proved to be a great example of using these capabilities together while having a little fun with HTML 5 JQuery and CSS 3.</p> <div align="center"> <table border="1" cellspacing="0" cellpadding="2" width="1366"><tbody> <tr> <td valign="top" width="81"> <p align="center"><strong>Demo</strong></p> </td> <td valign="top" width="562"> <p align="center"><strong>Summary</strong></p> </td> <td valign="top" width="472"> <p align="center"><strong>Artifacts</strong></p> </td> <td valign="top" width="249"> </td> </tr> <tr> <td valign="top" width="81">Demo 1</td> <td valign="top" width="562"> <p align="left">Live chat sample of Silverlight-based client and WCF Service running on Windows Azure. <br /> <br />Please note that this implementation is deprecated and will not be carried forward. <br /> <br />Instead, please use .NET 4.5 WebSocket support in WCF and ASP.NET. <br /></p> </td> <td valign="top" width="472"> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"><a title="http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html" href="http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html">http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html</a></p> </td> <td valign="top" width="249"> <p align="left"><a href="http://html5labs.cloudapp.net/WebSockets/ChatDemo/wsdemo.html"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_4.png" width="244" height="203" /></a></p> </td> </tr> <tr> <td valign="top" width="81"> <p align="left">Demo 2</p> </td> <td valign="top" width="562"> <p align="left">Simple “Hello World” example of ASP.NET ASHX handler using WebSocketHandler and HTML 5 client demonstrating a trivial “echo” service that displays the date/time each second. <br /> <br />Also included in the Demo 2 folder is a WCF version of the same implementation (which I did not demo during my talk). <br /></p> </td> <td valign="top" width="472"> <p align="center"> </p> <p align="center"><a title="http://sdrv.ms/HofK53" href="http://sdrv.ms/HofK53">http://sdrv.ms/HofK53</a> </p> <p align="center"> <br />Projects: <br />SimpleEventingSample <br />SimpleEventingService <br /> <br />Requires Visual Studio 11 Beta 1 &amp; Windows 8/Windows 8 Server</p> </td> <td valign="top" width="249"> <p align="left"><a href="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_5.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_thumb_3.png" width="244" height="190" /></a></p> </td> </tr> <tr> <td valign="top" width="81"> <p align="left">Demo 3</p> </td> <td valign="top" width="562"> <p align="left">Example of using the Twitter Search API as an event stream with WCF using  WebSocketService, Linq to Twitter and HTML 5 with some nice JQuery and CSS animation. <br /></p> </td> <td valign="top" width="472"> <p align="center"><a title="http://sdrv.ms/HofK53" href="http://sdrv.ms/HofK53">http://sdrv.ms/HofK53</a> <br /> <br />Projects: <br />StatusStreamClient <br />StatusStreamService <br />StatusStreamServiceTests <br /> <br /></p> <p align="center">Requires Visual Studio 11 Beta 1 &amp; Windows 8/Windows 8 Server</p> </td> <td valign="top" width="249"> <p align="left"><a href="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_6.png"><img style="border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_thumb_4.png" width="244" height="113" /></a></p> </td> </tr> <tr> <td valign="top" width="81"> <p align="left">Demo 4</p> </td> <td valign="top" width="562"> <p align="left">Another event streaming example, this time using the Twitter Streaming API, Node.js and WebSocket.IO in Windows Azure and HTML 5 animations with CSS 3 box shadow and rotate. <br /> <br />As opposed to the Twitter Search API used in Demo 3, you can see that events are immediately captured and the Streaming API is much more reliable than the Search API. <br /></p> </td> <td valign="top" width="472"> <p align="center"> </p> <p align="center"> </p> <p align="center"><a title="http://sdrv.ms/H1DVru" href="http://sdrv.ms/H1DVru">http://sdrv.ms/H1DVru</a></p> <p align="center"> <br />Use any text editor or your favorite JavaScript IDE. <br /></p> </td> <td valign="top" width="249"> <p align="left"><a href="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_7.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_thumb_5.png" width="244" height="183" /></a></p> </td> </tr> <tr> <td valign="top" width="81"> <p align="left">Deck</p> </td> <td valign="top" width="562"> <p align="left"></p> </td> <td valign="top" width="472"><a title="http://sdrv.ms/Hf5oZB" href="http://sdrv.ms/Hf5oZB"> <br /> <br /> <br />http://sdrv.ms/Hf5oZB</a></td> <td valign="top" width="249"><iframe style="padding-bottom: 0px; background-color: #fcfcfc; padding-left: 0px; width: 204px; padding-right: 0px; height: 118px; padding-top: 0px" title="Preview" height="120" marginheight="0" src="https://skydrive.live.com/embed?cid=DF930EE6F91132FD&amp;resid=DF930EE6F91132FD%21751&amp;authkey=ALQ9gS4_Yvb89c0" frameborder="0" width="98" marginwidth="0" scrolling="no"></iframe></td> </tr> </tbody></table> </div> <div align="center"> </div> <p>Please feel free to play with any of the samples, extend them and make them your own.</p> <p>Please remember that demos 2 and 3 require .NET 4.5 Consumer Preview and either Windows 8 or <a href="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_8.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="http://rickgaribay.net/Images/customcontent/c1f79a9417a5_B3EF/image_thumb_6.png" width="644" height="356" /></a>Windows 8 server.</p> <p>Since the Microsoft.WebSockets NuGet package is the easiest way to get started with WebSocketHandler and WebSocketService, I’d recommend starting with Demo 2 and Demo 3. </p> <p>For demo 4, you will need an Azure account which you can sign up for free (really, free) at <a href="http://azure.com">http://azure.com</a> </p> <p>As we discussed during my talk, even though .NET 4.5 and Windows 8 are not yet RTM:</p> <p>•Now is the time to dive into WebSockets in .NET 4.5!</p> <p>•Consider how WebSockets can improve existing near real-time messaging scenarios.</p> <p>•Start building WebSocket apps on Windows 8 and Windows Server 8 today.</p> <p>•.NET 4.5 support in Windows Azure is coming soon. In the meantime, consider alternate frameworks like Node.js which is supported today!</p> <p>Last but not least, here are the resources I provided on my last slide for easy access:</p> <p>•Microsoft.Web.WebSockets NuGet Package: <a href="http://nuget.org/packages/Microsoft.WebSockets">http://nuget.org/packages/Microsoft.WebSockets</a></p> <p>•Paul Batum’s blog: <a href="http://www.paulbatum.com/2011/09/getting-started-with-websockets-in.html">http://www.paulbatum.com/2011/09/getting-started-with-websockets-in.html</a></p> <p>•Damir Dobric’s blog on WCF WebSockets: <a href="http://developers.de/blogs/damir_dobric/archive/2011/11/26/wcf-duplex-via-websocket.aspx">http://developers.de/blogs/damir_dobric/archive/2011/11/26/wcf-duplex-via-websocket.aspx</a></p> <p>•ASP.NET Documentation: </p> <p>●<a href="http://msdn.microsoft.com/en-us/library/system.web.websockets(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/system.web.websockets%28v=vs.110%29.aspx</a></p> <p>●<a href="http://msdn.microsoft.com/en-us/library/system.net.websockets(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/system.net.websockets%28v=vs.110%29.aspx</a></p> <p>•WebSocket.IO: <a href="https://github.com/learnboost/websocket.io">https://github.com/learnboost/websocket.io</a></p> <p>•Nice CSS &amp; JQuery scripts/samples: <a href="http://marcofolio.net">http://marcofolio.net</a></p> <p>Last but not least, I’d like to thank <a href="http://twitter.com/paulbatum" target="_blank">@paulbatum</a>, PM at Microsoft working on the WCF and ASP.NET  WebSocket features for helping me grok WebSockets in .NET 4.5. His guidance and thought leadership around WebSocket are invaluable to the community, so if you run into Paul, thank him or better yet, buy him a beer.</p> <p>Happy Messaging!</p><img src="http://rickgaribay.net/aggbug/337.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/03/29/building-speedy-azure-applications-with-html5-and-web-sockets-today.aspx Thu, 29 Mar 2012 07:15:00 GMT http://rickgaribay.net/archive/2012/03/29/building-speedy-azure-applications-with-html5-and-web-sockets-today.aspx#feedback http://rickgaribay.net/comments/commentRss/337.aspx http://rickgaribay.net/services/trackbacks/337.aspx Bite Size Bits: Flat WSDL Generation in WCF 4.5 http://rickgaribay.net/archive/2012/02/29/bite-size-bits-flat-wsdl-generation-in-wcf-4.5.aspx <p>Previous versions of WCF only offered nested automated WSDL generation which can cause problems with 3rd party tools and other client stacks. </p> <p>Flat WSDL is now an option for every WSDL/IMetadataExchange endpoint.</p> <p><a href="http://rickgaribay.net/Images/customcontent/c2d0c96a7eb1_A877/Flat-WSDL.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Flat WSDL" border="0" alt="Flat WSDL" src="http://rickgaribay.net/Images/customcontent/c2d0c96a7eb1_A877/Flat-WSDL_thumb.png" width="589" height="484" /></a></p> <p>Learn more about the great productivity improvements to WCF 4.5 here: <a title="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx" href="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx</a></p><img src="http://rickgaribay.net/aggbug/333.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/02/29/bite-size-bits-flat-wsdl-generation-in-wcf-4.5.aspx Wed, 29 Feb 2012 19:05:19 GMT http://rickgaribay.net/archive/2012/02/29/bite-size-bits-flat-wsdl-generation-in-wcf-4.5.aspx#feedback http://rickgaribay.net/comments/commentRss/333.aspx http://rickgaribay.net/services/trackbacks/333.aspx Bite Size Bits: New WCF 4.5 Async Proxies http://rickgaribay.net/archive/2012/02/29/bite-size-bits-new-wcf-4.5-async-proxies.aspx <p>Async is hard. C# 5 makes it easier. WCF 4.5 loves Tasks.</p> <p><a href="http://rickgaribay.net/Images/customcontent/2138664bfdbc_A732/Proxy-Task.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Proxy Task" border="0" alt="Proxy Task" src="http://rickgaribay.net/Images/customcontent/2138664bfdbc_A732/Proxy-Task_thumb.png" width="644" height="433" /></a></p> <p>Learn more about the great productivity improvements to WCF 4.5 here: <a title="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx" href="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx</a></p><img src="http://rickgaribay.net/aggbug/332.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/02/29/bite-size-bits-new-wcf-4.5-async-proxies.aspx Wed, 29 Feb 2012 18:54:37 GMT http://rickgaribay.net/archive/2012/02/29/bite-size-bits-new-wcf-4.5-async-proxies.aspx#feedback http://rickgaribay.net/comments/commentRss/332.aspx http://rickgaribay.net/services/trackbacks/332.aspx Bite Size Bits: No More Client Config Bloat in WCF 4.5 http://rickgaribay.net/archive/2012/02/29/bite-size-bits-no-more-client-config-bloat-in-wcf.aspx <p>Check out this proxy configuration file. See what's missing? All that useless default configuration is just that- default. </p> <p>In WCF 4.5, you get a nice, clean conventional client config. Combined with intellisense, you can override the defaults very easily, keeping your client configuration manageable and your Ops folks happy.</p> <p><a href="http://rickgaribay.net/Images/customcontent/0d195d4167f2_A67D/Client-Config.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Client Config" border="0" alt="Client Config" src="http://rickgaribay.net/Images/customcontent/0d195d4167f2_A67D/Client-Config_thumb.png" width="644" height="313" /></a></p> <p>Learn more about the great productivity improvements to WCF 4.5 here: <a title="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx" href="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx</a></p><img src="http://rickgaribay.net/aggbug/331.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/02/29/bite-size-bits-no-more-client-config-bloat-in-wcf.aspx Wed, 29 Feb 2012 18:52:21 GMT http://rickgaribay.net/archive/2012/02/29/bite-size-bits-no-more-client-config-bloat-in-wcf.aspx#feedback http://rickgaribay.net/comments/commentRss/331.aspx http://rickgaribay.net/services/trackbacks/331.aspx Bite Size Bits: WCF 4.5 Configuration Validation http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-validation.aspx <p>Late-Bound validation of WCF config is too late. </p> <p>WCF 4.5 brings validation to Visual Studio 11 via warnings so that you catch them before you hit F5.</p> <p><a href="http://rickgaribay.net/Images/customcontent/b5f7cb5a8bc0_A59C/Validation.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Validation" border="0" alt="Validation" src="http://rickgaribay.net/Images/customcontent/b5f7cb5a8bc0_A59C/Validation_thumb.png" width="644" height="462" /></a></p> <p>Learn more about the great productivity improvements to WCF 4.5 here: <a title="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx" href="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx</a></p><img src="http://rickgaribay.net/aggbug/330.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-validation.aspx Wed, 29 Feb 2012 18:48:37 GMT http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-validation.aspx#feedback http://rickgaribay.net/comments/commentRss/330.aspx http://rickgaribay.net/services/trackbacks/330.aspx Bite Size Bits: WCF 4.5 Configuration Intellisense http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-intellisense.aspx <p>How many times have you tried to remember what that Name attribute maps to? Is it your friendly name for the service or the type itself? </p> <p>In building on the simplified configuration experience from WCF 4, WCF 4.5 adds much needed intellisense to make the config experience as simple as possible.</p> <p><a href="http://rickgaribay.net/Images/customcontent/0d88091a44b4_A4D7/Intellisense_thumb1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Intellisense_thumb[1]" border="0" alt="Intellisense_thumb[1]" src="http://rickgaribay.net/Images/customcontent/0d88091a44b4_A4D7/Intellisense_thumb1_thumb.png" width="587" height="484" /></a></p> <p>Learn more about the great productivity improvements to WCF 4.5 here: <a title="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx" href="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx</a></p><img src="http://rickgaribay.net/aggbug/329.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-intellisense.aspx Wed, 29 Feb 2012 18:44:25 GMT http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-intellisense.aspx#feedback 1 http://rickgaribay.net/comments/commentRss/329.aspx http://rickgaribay.net/services/trackbacks/329.aspx Bite Size Bits: WCF 4.5 Configuration Tooltips http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-tooltips.aspx <p>Ever wonder what that pesky system.ServiceModel element or attribute is for? </p> <p>WCF 4.5 adds much asked for tool tips on every element and attribute in the WCF configuration file to keep you productive and save you round trips to MSDN.</p> <p><a href="http://rickgaribay.net/Images/customcontent/Whats-New-in-WCF-4.5_A06A/2-29-2012-10-05-42-AM.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2-29-2012 10-05-42 AM" border="0" alt="2-29-2012 10-05-42 AM" src="http://rickgaribay.net/Images/customcontent/Whats-New-in-WCF-4.5_A06A/2-29-2012-10-05-42-AM_thumb.png" width="628" height="484" /></a></p> <p>Learn more about the great productivity improvements to WCF 4.5 here: <a title="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx" href="http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/dd456789(v=vs.110).aspx</a></p><img src="http://rickgaribay.net/aggbug/328.aspx" width="1" height="1" /> Rick G. Garibay http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-tooltips.aspx Wed, 29 Feb 2012 18:40:33 GMT http://rickgaribay.net/archive/2012/02/29/bite-size-bits-wcf-4.5-configuration-tooltips.aspx#feedback http://rickgaribay.net/comments/commentRss/328.aspx http://rickgaribay.net/services/trackbacks/328.aspx