Posts categorized 'Technology'

Role-based authentication in Lullaby

Lullaby 1.0 RC3 introduced role-based authentication. Using role-based authentication, you can further restrict access to a REST service or REST method by a role using the AllowedRoles property of the RequireAuthentication attribute. [RequireAuthentication(AllowedRoles = "User,Admin")] If using...

Continue reading "Role-based authentication in Lullaby"

Lullaby 1.0 RC3 Released

Lullaby 1.0 RC3 is now released and can be downloaded here . RC3 is the last release candidate. The next release will be the final 1.0 release and will contain bug fixes only as RC3 is feature complete. Changes: Fixed bug where security tokens were being added to the cache even though a previous security...

Continue reading "Lullaby 1.0 RC3 Released"

ReSharper License Giveaway

ReSharper is one of my favorite add-ins for Visual Studio. I'll be giving away 2 ReSharper licenses (retail price $199) during my session at the Silicon Valley Code Camp this Saturday and at upcoming speaking engagements . Below is just a small example of the power of ReSharper....

Continue reading "ReSharper License Giveaway"

Lullaby 1.0 RC2 Released

Lullaby 1.0 RC2 is now released and can be downloaded here . Changes: Fixed bug that prevented URI template matches from being found across multiple assemblies Added support for forms authentication Added feature to exclude a REST method from cache by class or method...

Continue reading "Lullaby 1.0 RC2 Released"

Not At PDC

For those of you not attending PDC , don't feel left out. Chris Love is organizing Not At PDC . The airfare, hotel, and registration is free and it's in every city across the US. The only thing to note is weather vary's by event, so please dress accordingly. I'll be submitting a session for Thursday...

Continue reading "Not At PDC"

SoCal Code Camp Presentations

I had a great time at SoCal Code Camp and it was nice getting to catch up and meet with the local and out of town speakers and attendes. I had a couple of technical difficulties, but other than that my presentations went well. You can download my presentations and sample code below. Architecting and...

Continue reading "SoCal Code Camp Presentations"

Announcing Lullaby 1.0 RC1

Lullaby, an extensible open source attribute-based framework for creating RESTful .NET services is now available for download as a release candidate. Lullaby 1.0 RC1 features include: Authentication provider model Cache provider model Cache invalidation framework configurable by both attributes and an...

Continue reading "Announcing Lullaby 1.0 RC1"

Change to RestClassAttribute and RestMethodAttribute

Shortly after posting Handling POST and PUT methods with Lullaby , I started thinking about how the implementation dictating that the type the request stream is deserialized to is the REST methods enclosing type should be changed to have the option to be configured by the user. I made a change to RestClassAttribute...

Continue reading "Change to RestClassAttribute and RestMethodAttribute"

Handling POST and PUT methods with Lullaby

UPDATE: See Change to RestClassAttribute and RestMethodAttribute . When a POST or PUT method is sent to Lullaby, the request stream is deserialized to the type of the REST class that is currently being invoked and the REST method is invoked with the deserialized object. The REST method for a POST or...

Continue reading "Handling POST and PUT methods with Lullaby"

Lullaby 1.0 Beta 3 released

Lullaby 1.0 Beta 3 is now released. You can download the latest version at http://code.google.com/p/ryanolshanrest . This release was released earlier than expected because of a bug that was discovered that prevented post and put method requests from working. New Features Service URL routing OPTIONS...

Continue reading "Lullaby 1.0 Beta 3 released"