| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
14 Articles match "Silverlight"
See all articles with
"Silverlight"
| The Latest from www.leastprivilege.com | MORE | | Access Control Service: Passive/Active Transition Sample In addition to the existing front ends (web [WS-Federation], console [SOAP & REST], Silverlight [REST]) and error handling , it now also includes a WPF client that shows the passive/active transition with a SOAP service as illustrated here. Here you can find my updated ACS2 sample. All the ACS interaction is encapsulated in a WPF user control that: retrieves the JSON feed. displays a list of supported identity providers. triggers the sign in via a browser control. retrieves the token response. All you need to supply is the ACS namespace and the realm. Have fun! Azure IdentityModel www.leastprivilege.com - Thursday, June 23, 2011 Access Control Service: Transitioning between Active and Passive Scenarios As an active client (Silverlight, WPF, WP7, WinForms etc). As I mentioned in my last post, ACS features a number of ways to transition between protocol and token types. One not so widely known transition is between passive sign ins (browser) and active service consumers. Let’s see how this works. We all know the usual WS-Federation handshake via passive redirect. But ACS also allows driving the sign in process yourself via specially crafted WS-Federation query strings. So you can use the following URL to sign in using LiveID via ACS. wa=wsignin1.0& wa=wsignin1.0& catch(err){. www.leastprivilege.com - Wednesday, June 22, 2011 Access Control Service: Walkthrough Videos of Web Application, SOAP, REST and Silverlight Integration Part 4 – Silverlight and Web Identity Integration. The Silverlight Client shows ho to sign in to the application using a registered identity provider (including web identities) and using the resulting SWT token to call our REST service. Over the weekend I worked a little more on my ACS2 sample. Instead of writing it all down, I decided to quickly record four short videos that cover the relevant features and code. Have fun ;). Part 1 – Overview. This video does a quick walkthrough of the solution and shows the web application part. watch. Part 2 – SOAP Service and Client. watch. www.leastprivilege.com - Tuesday, May 24, 2011 | | The Best from www.leastprivilege.com | MORE | | Using Silverlight to Access WIF secured WCF Services Disclaimer: At the time of this writing, the current version of Silverlight is v3 and WIF is in beta 2. Another technology that comes up very often is Silverlight – and especially the “story” of Silverlight and WCF/WIF. When thinking about Silverlight and back-end security in general – there are two fundamental scenarios – short of really good names – I call them “passive” and “active”. An example would be that the user first authenticates with the web application and then starts the Silverlight app from there. Hopefully this will be a non-issue soon. Passive. www.leastprivilege.com - Wednesday, October 28, 2009 Using Silverlight to Access WIF secured WCF Services (Part 2) Requesting Tokens from within Silverlight. Since Silverlight does not support issued token credentials, we must handcraft the SOAP security header. If Silverlight would only support client certificate credentials…. This was one of my most popular blog post in the recent time (please read it first to get the necessary background information). thought I give this another shot with the new SL/WIF integration. There are other ways to accomplish the below things, e.g. using the SL application service or passive identity providers. endpoint (like the one in StarterSTS or ADFS2). www.leastprivilege.com - Sunday, March 21, 2010 Access Control Service: Walkthrough Videos of Web Application, SOAP, REST and Silverlight Integration Part 4 – Silverlight and Web Identity Integration. The Silverlight Client shows ho to sign in to the application using a registered identity provider (including web identities) and using the resulting SWT token to call our REST service. Over the weekend I worked a little more on my ACS2 sample. Instead of writing it all down, I decided to quickly record four short videos that cover the relevant features and code. Have fun ;). Part 1 – Overview. This video does a quick walkthrough of the solution and shows the web application part. watch. Part 2 – SOAP Service and Client. watch. www.leastprivilege.com - Tuesday, May 24, 2011 | - Access Control Service: Passive/Active Transition Sample
In addition to the existing front ends (web [WS-Federation], console [SOAP & REST], Silverlight [REST]) and error handling , it now also includes a WPF client that shows the passive/active transition with a SOAP service as illustrated here. Here you can find my updated ACS2 sample. All the ACS interaction is encapsulated in a WPF user control that: retrieves the JSON feed. displays a list of supported identity providers. triggers the sign in via a browser control. retrieves the token response. All you need to supply is the ACS namespace and the realm. Have fun! Azure IdentityModel www.leastprivilege.com - Thursday, June 23, 2011 - Windows Phone 7 and WS-Trust
First I converted the Silverlight library that comes with the Identity Training Kit to WP7. Due to a bug in the combination of the Silverlight library and the WP7 runtime – symmetric key tokens seem to have issues currently. A question that I often hear these days is: “Can I connect a Windows Phone 7 device to my existing enterprise services?”. Well – since most of my services are typically issued token based, this requires support for WS-Trust and WS-Security on the client. Let’s see what’s necessary to write a WP7 client for this scenario. Very nice! KeyTypes.Bearer). {. works. www.leastprivilege.com - Friday, February 25, 2011 - Access Control Service: Transitioning between Active and Passive Scenarios
As an active client (Silverlight, WPF, WP7, WinForms etc). As I mentioned in my last post, ACS features a number of ways to transition between protocol and token types. One not so widely known transition is between passive sign ins (browser) and active service consumers. Let’s see how this works. We all know the usual WS-Federation handshake via passive redirect. But ACS also allows driving the sign in process yourself via specially crafted WS-Federation query strings. So you can use the following URL to sign in using LiveID via ACS. wa=wsignin1.0& wa=wsignin1.0& catch(err){. www.leastprivilege.com - Wednesday, June 22, 2011 - Thinktecture.IdentityModel: WIF Support for WCF REST Services and OData
You can either use WSTrustChannelFactory (for the full CLR), WSTrustClient (Silverlight) or some other way to obtain a token. The latest drop of Thinktecture.IdentityModel includes plumbing and support for WIF, claims and tokens for WCF REST services and Data Server (aka OData). Cibrax has an alternative implementation that uses the WCF Rest Starter Kit. His recent post reminded me that I should finally “document” that part of our library. Features include: generic plumbing for all WebServiceHost derived WCF services. support for SAML and SWT tokens. Setting up the Data Service. www.leastprivilege.com - Wednesday, May 5, 2010 - StarterRP v1.2
This version is based on.NET v4 and includes two sample Silverlight clients. A small update for StarterRP is now live on codeplex. Major update to StarterSTS coming soon…. www.leastprivilege.com - Wednesday, August 11, 2010 - A more elegant way of embedding a SOAP security header in Silverlight 4
The current situation with Silverlight is, that there is no support for the WCF federation binding. This means that all security token related interactions have to be done manually. Requesting the token from an STS is not really the bad part, sending it along with outgoing SOAP messages is what’s a little annoying. So far you had to wrap all calls on the channel in an OperationContextScope wrapping an IContextChannel. This “programming model” was a little disruptive (in addition to all the async stuff that you are forced to do). rstr = rstr; }. if (rstr == null ). {. rstr = rstr; }. www.leastprivilege.com - Thursday, May 13, 2010 - Using Silverlight to Access WIF secured WCF Services (Part 3)
In this last part of the series (see here and here ) I want to show you how to use the WIF/SL integration ClaimsIdentitySessionManager to request tokens and talk to WIF secured services. The ClaimsIdentityManager registers as an ApplicationService in SL. Once registered, it can encapsulate the process of requesting a token for a relying party, caching that token as well as setting the SOAP security header for outgoing service requests. Registration. ClaimsIdentitySessionManager gets registered in app.xaml. In this sample I am using the ADFS2 Windows/Transport endpoint from my last post. www.leastprivilege.com - Tuesday, March 30, 2010 %>
143 Articles match "Silverlight"
See all articles with
"Silverlight"
| The Latest from DevelopMentor | MORE | | Llewellyn Falco (Approval Tests): What I've learned about open source by pairing with Simon Cropp That Silverlight experiment? 'Over the last 2 weeks I have be fortunate enough to pair with Simon Cropp for about 8 hours on my open source project ApprovalTests. Simon has taught me a lot about running a better open source project, this blog is an attempt to share some of that for those not fortunate enough to be able to pair with Simon themselves. Think about your ''brand'' Often I am writing ApprovalTests because I use ApprovalTests myself. am happy that others find it useful as well and believe in sharing and open source, so I also make it an open source project. There isn''t. DevelopMentor Courses - Saturday, May 25, 2013 Installing RavenDB 2 This Management Studio is a Silverlight application that will let us manage different aspects of the server. Before we get started with RavenDB we need to install the required parts. There are several ways we can do this and one of the easiest is using the NuGet Package manager from within Visual Studio 2012 with the available RavenDB NuGet packages. Which package to install? As should be obvious from the screenshot above there are quite a few NuGet packages to choose from. It turns out we need to use two packages to get started, the client and server part. The RavenDB Management Studio. The Problem Solver - Friday, January 4, 2013 Maurice de Beijer: Installing RavenDB 2 This Management Studio is a Silverlight application that will let us manage different aspects of the server. Before we get started with RavenDB we need to install the required parts. There are several ways we can do this and one of the easiest is using the NuGet Package manager from within Visual Studio 2012 with the available RavenDB NuGet packages. Which package to install? As should be obvious from the screenshot above there are quite a few NuGet packages to choose from. It turns out we need to use two packages to get started, the client and server part. The RavenDB Management Studio. The Problem Solver - Friday, January 4, 2013 | -
| The Best from DevelopMentor | MORE | - Easier Async for Silverlight Apps using MVVM
WPF and Silverlight have Dispatcher.CheckAccess / Dispatcher.BeginInvoke. Technical MVVM SilverlightIt makes sense to execute long-running tasks on a background thread, in order to keep the UI responsive by not tying up the main thread. However, as is the case with other UI frameworks such as Windows Forms or WPF, you should not touch UI elements from worker threads. This has to do with how Windows apps process messages, which are always handled on the thread that created the visual element. Windows Forms has the Control.InvokeRequired / Control.BeginInvoke API. Tony and Zuzana's World - Saturday, January 29, 2011 - Using Model – View – ViewModel with Silverlight
have found it extremely easy to use when developing very different applications and have used the design pattern recently in both ASP.NET, WPF and Silverlight applications. Even thought the UI technology used doesn't change the basic MVVM pattern there are some subtle differences, like not easily being able to use ICommand in Silverlight, so I decided to create a small Silverlight sample. The basic structure goes like this: The user interacts with a View, implemented as a Silverlight user control. Tags: NET DevCenter WPF Silverlight 11: {. 13: set. 14: {. The Problem Solver - Tuesday, April 7, 2009 - Madam Silverlight
Just wanted to call out attention to a new Silverlight site created by Maine’s own Carolyn Smith: www.silverlightmadam.com. Silverlight Madam is the creation of Carolyn Smith. Then she discovered computer graphics and now she specializes in creating art in Silverlight.”. SilverlightFor many years Carolyn's preferred medium was watercolors. Note: Carolyn also runs the site www.pixycolors.com. DevelopMentor Courses - Thursday, June 9, 2011 - Paging with the Silverlight RIA services DomainDataSource
Using the declarative DomainDataSource that is part of the upcoming Silverlight 3 RIA services makes it quite easy to work with data. Tags: NET VB DevCenter Silverlight Data Access ASP.NET.All you need to do is add a DomainDataSource control to the the XAML, point it to the generated DomainContext class (in this case NorthwindContext) and tell it which method to use to load the data from the web service(in this case LoadCustomers). Next add a DataGrid to display the data and you are good to go. Adding paging. assume this is just a small bug in the current preview. Enjoy! The Problem Solver - Monday, April 27, 2009 - Using dynamic objects in Silverlight 4
Note: This blog post is written using Silverlight 4.0 RC 1 One of the cool new features in Silverlight 4 is the ability to data bind to indexed properties. Tags: NET Silverlight ASP.NET VS2010 This means that even if you don’t know at design time what properties you data object has you can still data bind to them. The syntax is very similar to a normal data binding, only in this case you need to use the [key] syntax instead. For example in example below the FirstName is a regular property while the LastName below is an indexed property. get; set; }. public Person(). {. The Problem Solver - Monday, April 12, 2010 %>
| | |