Skip to content

darusam/openrasta-codecs-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#CDMSmith.OpenRasta.Legacy

Library containing tools for use with OpenRasta on .NET 2.0

Currently this library contains a simple JSON Codec for OpenRasta

JsonCodec may be used with .TranscodedBy<JsonCodec>() or with the extension .AsJsonData()

Example

With TranscodedBy:

ResourceSpace.Has.ResourcesOfType<Home>()
  .AtUri("/home")
  .HandledBy<HomeHandler>()
  .TranscodedBy<JsonCodec>(null);

With AsJsonData:

ResourceSpace.Has.ResourcesOfType<Home>()
  .AtUri("/home")
  .HandledBy<HomeHandler>()
  .AsJsonData();

With Json.NET and LINQBridge this codec is fully compatible with .NET 2.0 and higher.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages