Pablo M. Cibraro (aka Cibrax)
My thoughts on Web Services and .NET development
-
PollingAgent and AtomPubClient in the WCF Rest Starter kit preview 2
PollingAgent is an utility class for consuming REST services that implement conditional gets. An instance of this class will periodically invoke the service within a predefined interval of time, and fire an event on the client side when a new response is available to consume. It is internally layered on top of the HttpClient class, so all the pipeline infrastructure provided by this last one is also supported for this pooling agent.
-
HttpClient in the WCF REST Starter Kit Preview 2
HttpClient is a new utility class introduced in the WCF REST Startert Kit Preview 2 for consuming REST services. This new class is made up of three different parts,
-
Code generation with T4, Entities to DTOs example
T4 is a powerful template engine for code generation shipped out of the box within Visual Studio. It is an evolution of T3, which was initially introduced a couple of years ago as part of the DSL toolkits and the software factories.
-
WCFMock, a mocking framework for WCF services
WCFMock, a mocking framework for WCF services. Not a very original name, but it was the first one that came out to my mind :). If you have been following my blog for a while, you might notice that I discussed different approaches in the past to unit test WCF services, here and here. One of the major pains that you will find today for unit testing WCF services is the static operation context (OperationContext and WebOperationContext). If you service implementation relies on that context for doing something, you will have a hard time trying to test that functionality.
-
Brokered authentication for REST active clients with SAML
I have been thinking for a while about what could be a good way to support brokered authentication for active REST clients. Something I did not want to do was to force the use of WS-Trust Active profile, which is in essence SOAP based.
-
Carrying sensitive information in SAML assertions
When SAML is used in conjunction with WS-Security, only an small piece of the token is encrypted, the proof key for the relying party. The rest of the token goes in plain text, that also includes the user's claims.
-
Contract Projections in WCF declarative services
As my friend Jesus mentioned in the post "Using XAML serialization in WCF 4.0", WCF 4.0 introduces a new way to implement services that are totally defined in XAML, which receive the name of "declarative services". In the past, creating a simple service involved three basic steps,
-
Issues to subdivide an entity framework model
The other day, my team and I ran into some design issues while trying to split a big Entity Framework model into smaller pieces according to areas of functionality. At first glance, it seemed to be a common design problem, something easy to overcome, but it did not result that way. I could not find much information about people having the same issue either.
-
Some thoughts on OpenID and OAuth for Desktop clients
OpenID and OAuth are today excellent solutions for "Single Sign On" (SSO) and "Authorization Delegation" respectively. They are, however, based on Http Redirections and therefore, tied to passive clients or commonly called web browsers.
-
Upcoming MSDN WebCast "Geneva Cardspace" for Latin America
I will be presenting a MSDN webcast about "Geneva Cardspace" next Thursday 12th at 2 PM (GMT-05:00 Colombia, Panama). The event will be conducted in Spanish for all the community in Latin America.