Welcome!

Design Guidelines, Managed code and the .NET Framework

Brad Abrams

Subscribe to Brad Abrams: eMailAlertsEmail Alerts
Get Brad Abrams via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Brad Abrams

I have gotten lots of good comments on my series updating my Mix09 talk “building business applications with Silverlight 3”.  Some customers have asked about the “live” version I have running on one of Scott Haneslman’s servers (thanks Scott!) The demo requires (all 100% free and always free): VS2008 SP1 (Which includes Sql Express 2008) Silverlight 3 RTM .NET RIA Services July '09 Preview Also, download the full demo files and, of course, check out the running application. Scott gave me a FTP access and a web server, but I didn’t want to hassle with setting up a database (though he did offer).  So I thought I'd use the POCO support in RIA Services to just get data from plain old CLR objects.  Personally, I think far too many of our samples show only Entity Framework… So this is a good excuse to show that off.  So, back to your application diagram, i want to use thi... (more)

Exposing a WCF Service in Silverlight

I am having a blast with the series where I am updating my simple Mix 09 Business Application demo.  In this part, I wanted to consider the scenario that I hope is a common one.  The developer writes their Silverlight app using the RIA Services pattern and the application becomes wildly successful.  So successful in fact there is a demand to put a services head on top of the same application logic to facilitate writing a bunch of other clients.  This is the sort of pattern we see happening with applications like Twitter and Sharepoint.   You can see the full series here. The de... (more)

Silverlight 4 + RIA Services: Exposing Data from Entity Framework

To continue our series I wanted to look next at how to expose your data from the server side of your application. The interesting data in your business applications come from a wide variety of data sources.  From a SQL Database, from Oracle DB, from Sql Azure, from Sharepoint, from a mainframe and you have likely already chosen a datamodel such as NHibernate, Linq2Sql, Entity Framework, Stored Proc, a service.   The goal of RIA Service in this release is to make it easy to work with data from any (or many) of the sources in a seamless way from a Silverlight application.  This wa... (more)

Silverlight 4 + RIA: Exposing WCF (SOAP\WSDL) Services

Continuing in our series, I wanted to touch on how a RIA Services can be exposed as a Soap\WSDL service. This is very useful if you want to enable the exact same business logic\data access logic for clients other than Silverlight. For example to a WinForms application or WPF or even a console application.  SOAP is a particularly good model for interop with the Java\JEE world as well. First you need to add a reference to Microsoft.ServiceModel.DomainSerivves.Hosting.EndPoints assembly from the RIA Services toolkit. Then you need to edit the endpoints section of the domainserivc... (more)

Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight

In ASP.NET 2.0, we introduced a very powerful set of application services in ASP.NET (Membership, Roles and profile).  In 3.5 we created a client library for accessing them from Ajax and .NET Clients and exposed them via WCF web services.    For more information on the base level ASP.NET appservices that this walk through is based on, please see Stefan Schackow's excellent book Professional ASP.NET 2.0 Security, Membership, and Role Management. In this tutorial I will walk you through how to access the WCF application services from a directly from the Silverlight client.  This wor... (more)