Contents tagged with WCF
-
Using IIS Express to Secure Silverlight and WCF Applications
I’ve been using IIS Express lately with Silverlight and WCF services and have learned to appreciate the “real-world” advantage it gives you versus the built-in Visual Studio “Cassini” server. Although I’ve always preferred to use IIS whenever possible, sometimes that’s not an option when you’re first starting a project and working on a machine that doesn’t have IIS installed. By using IIS Express you can identify security, configuration and other issues that may occur as you move an application to a real IIS 7+ server upfront rather than finding out about the issues after you move an application to a dev/staging server. In this post I’ll walk-through some of the lessons learned and walls encountered when I started working with authentication in IIS Express. It’s easy to work with once you know a few fundamentals. If you don’t already have IIS Express installed (it comes with Visual Studio 2010 SP1) you can get it through the Web Platform Installer or here.
-
Integrating Security Roles into Silverlight Applications–TechEd 2011 Talk
-
Working with User Names and Roles in Silverlight Applications
Security is a key component of applications and something that developers often struggle with to get right. How do you authenticate a user? How do you integrate roles and use them to show or hide different parts of a screen? These and other questions commonly come up as I talk with developers working on ASP.NET and Silverlight applications.
-
Syncing Data with a Server using Silverlight and HTTP Polling Duplex
Many applications have the need to stay in-sync with data provided by a service. Although web applications typically rely on standard polling techniques to check if data has changed, Silverlight provides several interesting options for keeping an application in-sync that rely on server “push” technologies. A few years back I wrote several blog posts covering different “push” technologies available in Silverlight that rely on sockets or HTTP Polling Duplex. We recently had a project that looked like it could benefit from pushing data from a server to one or more clients so I thought I’d revisit the subject and provide some updates to the original code posted.
-
Top 10 Posts in 2010
Blogging’s a lot of fun and a great way to share what you’ve learned. It’s also a great way to learn based upon comments people leave that help you see things in an entirely new way in some cases. Since we’ve now moved on to 2011 (Happy New Year’s!) I wanted to list the Top 10 posts from my blog during 2010 based on individual views. Thanks to everyone who follows my blog and adds comments from time to time. Here’s wishing everyone a great 2011! -
WCF RIA Services DomainContext Abstraction Strategies–Say That 10 Times!
The DomainContext available with WCF RIA Services provides a lot of functionality that can help track object state and handle making calls from a Silverlight client to a DomainService. One of the questions I get quite often in our Silverlight training classes (and see often in various forums and other areas) is how the DomainContext can be abstracted out of ViewModel classes when using the MVVM pattern in Silverlight applications. It’s not something that’s super obvious at first especially if you don’t work with delegates a lot, but it can definitely be done. There are various techniques and strategies that can be used but I thought I’d share some of the core techniques I find useful.
-
Code and Slides from DevConnections Las Vegas Talks
-
Code From My Silverlight Workshop at DevConnections Las Vegas
-
Silverlight Firestarter Event on December 2nd–Streamed Live!
If you’re interested in getting started with Silverlight development or enhancing your existing skills check out the upcoming Silverlight Firestarter event running December 2, 2010. The event can be attended live in Redmond, WA or viewed online (both for free). Sign-up for the event here. I’m excited about the opportunity to speak at the event along with Scott Guthrie, John Papa, Tim Heuer, Jesse Liberty, Jaime Rodriguez, Yavor Georgiev and others.
-
Tales from the Trenches – Building a Real-World Silverlight Line of Business Application
There's rarely a boring day working in the world of software development. Part of the fun associated with being a developer is that change is guaranteed and the more you learn about a particular technology the more you realize there's always a different or better way to perform a task.