Questions tagged [openrasta]

OpenRasta is an open-source MVC framework that can run on .net 2.0 and above, built from the ground-up to enable ReSTful scenarios.

Resources

OpenRasta Site
OpenRasta GitHub Project
OpenRasta Documentation Wiki

149 questions
59
votes
15 answers

IIS 7.5 + enable PUT and DELETE for RESTFul service, extensionless

i am trying to understand how IIS 7.5 handles POST and PUT request. I am writing a RESTful service using OpenRasta framework. The POST operation works without any problem, but the PUT operation for the same URL does not. It returns error like the…
Eatdoku
  • 6,569
  • 13
  • 63
  • 98
27
votes
3 answers

How to support Partial Updates (PATCH) in REST

I want to implement the partial updates for my resource as i have large resource and want to update the partial information from it.I have gone through the following links but not able to figure out whether to use HTTP POST or PATCH methods. HTTP…
prashant
  • 2,181
  • 2
  • 22
  • 37
13
votes
3 answers

Getting started with OpenRasta

Hi can anyone suggest ways of getting started with OpenRasta? Perhaps articles, tutorials, sample apps & documentation?
Mark
  • 424
  • 3
  • 17
9
votes
3 answers

Authentication with OpenRasta

I'm trying to use OpenRasta for a simple RESTful service. This service needs to be secured with either http Basic authentication or (preferably) Digest. Looking around the net, there are tens of webpages writing how wonderful OpenRasta is and that…
Khash
  • 2,500
  • 4
  • 30
  • 56
7
votes
3 answers

What is better for REST API? WCF Web API (Preview 4) or OpenRasta or something else?

I see in this question that WCF Web API is still in preview and I've just started looking at OpenRasta. Though OpenRasta looks more mature than WCF Web API, I'm still a bit confused. Or please suggest if there is any other better framework for…
IsmailS
  • 10,797
  • 21
  • 82
  • 134
6
votes
2 answers

OpenRasta DI PerRequest lifetime problem

I'm using OpenRasta 2.0.3214.437 in an ASP.NET 4 web application. I'm registering a custom dependency in the internal container using: ResourceSpace.Uses.CustomDependency(DependencyLifetime.PerRequest); This works perfectly…
Sam
  • 4,694
  • 2
  • 36
  • 47
5
votes
3 answers

Does OpenRasta support Mono?

Although Mono support is not a big deal for us, I figured OpenRasta supported it cause it has some commit messages about it.. Well, I tried to build it on Mono and got Ambiguous type references(after manually creating like 10 obj directories.) So I…
Earlz
  • 62,085
  • 98
  • 303
  • 499
5
votes
1 answer

Server side caching in openrasta

I have a site that is being polled rather hard for the JSON representation of the same resources from multiple clients (browsers, other applications, unix shell scripts, python scripts, etc). I would like to add some caching such that some of the…
Neil Mosafi
  • 460
  • 1
  • 4
  • 14
4
votes
1 answer

any OpenRasta reference applications or examples?

I'm looking for projects, reference apps, examples, so on, for reference, with code, of course. Not simple helloworlds, do you know any? thanks in advance.
Jorge Gamba
  • 63
  • 2
  • 6
4
votes
1 answer

OpenRasta bad request does not return as JSON

I've built a service using OpenRasta. I'm validating resources in a operation interceptor. If validation fails a BadRequest is returned with an ErrorResource as JSON. The ErrorResource contains a list of error messages. On my local machine the…
4
votes
1 answer

Using Spark or Razor viewengine with OpenRasta

has anyone used Spark or Razor view engine with OpenRasta framework? or any suggestion on the view engine other than the build in WebForms ?
Eatdoku
  • 6,569
  • 13
  • 63
  • 98
4
votes
2 answers

OpenRasta w/ .Net 4.0 running under Win 7 64 with IIS7.5

I am trying to follow along with the getting started OpenRasta application. https://github.com/openrasta/openrasta-stable/wiki/Building-Your-First-OpenRasta-Website I am using .Net4 under windows 7 64 bit, and I am targeting IIS 7.5. I have set my…
NYCChris
  • 649
  • 5
  • 13
4
votes
2 answers

OpenRasta unit testing

I’m about to start work on an OpenRasta project (an xml over http web service). OpenRasta looks great but unfortunately worked examples seem few and far between on the internet. Looking at the test side of the project, if my handlers are returning…
Vman
  • 3,016
  • 2
  • 24
  • 20
4
votes
0 answers

OpenRasta vs. ServiceStack vs. Nancy

I comparing the above frameworks, and note in ServiceStack that it can output different formats, not just JSON, or XML, but CSV, SOAP, Text and HTML. However, when I compare this with OpenRasta and Nancy, in their documentation, I don't find this…
Andy5
  • 2,319
  • 11
  • 45
  • 91
4
votes
2 answers

DataContractJsonSerializer Date Serialization

Is there a way to change how the DataContractJsonSerializer serializes dates? Currently, it'll convert a date to something like: { "date": "/Date(1260597600000-0600)/" } I want to convert it into human readable date format. I am building a RestApi…
prashant
  • 2,181
  • 2
  • 22
  • 37
1
2 3
9 10