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
1
vote
1 answer

Memory leaks in OpenRasta service when using StructureMap DI

We are using OpenRasta for a service to serve up binary resources (images and PDFs mostly). Some of these are relatively large (5-75MB). We were encountering issues with performance, and, using the ANTS memory profiler, determined that there…
Dave Nichol
  • 181
  • 3
  • 8
0
votes
2 answers

In OpenRasta, how should you handle codec errors or exceptions?

My scenario is this: A client application executes a HTTP POST against an endpoint exposed by OpenRasta. The body of the request contains an error that causes a problem in the codec - which is a custom implementation of…
Iain
  • 10,433
  • 16
  • 56
  • 62
0
votes
1 answer

PUT/POST Key/Value collection to OpenRasta

How should an OpenRasta handler be implemented such that it can accept a URL-template based ID together with a dictionary, Hashtable or NameValueCollection (I don't care which one)? My URL-template is "/fielddata/{correlationId}". My PUT message…
Jørn Wildt
  • 4,274
  • 1
  • 21
  • 31
0
votes
0 answers

OpenRasta with a default Index.html page?

I'm working on a site that will use OpenRasta to deliver JSON data, and then use a think JavaScript client to perform all the interactions. What we'd like to do is have an index.html page get served at the root. Currently we can get to the page…
taylonr
  • 10,732
  • 5
  • 37
  • 66
0
votes
1 answer

OpenRasta project keeps throwing InvalidOperationException

This happens when the project is running... when we are on a page (for example /Project) everything renders fine... but at random time (I can't figure out when it happens) it just gets thrown. This is the stacktrace at…
Arninja
  • 735
  • 1
  • 12
  • 24
0
votes
1 answer

Response issue with RESTful API using OpenRasta

I am implementing RESTful API using OpenRasta.I am sending a ajax request in the following manner. $.ajax("login", { type: "post", data: JSON.stringify(authData), success: function (data, textStatus, jqXHR) { …
prashant
  • 2,181
  • 2
  • 22
  • 37
0
votes
1 answer

Adding an openwrap reference

I feel like this is a stupid question, but I'm following the tutorial for OpenWrap found here: http://codebetter.com/sebastienlambla/2010/10/20/creating-a-new-project-with-openwrap/ In the Writing Some Code section, it says to run the command: o…
taylonr
  • 10,732
  • 5
  • 37
  • 66
0
votes
1 answer

Intermittent "No Default Instance defined for PluginFamily" exceptions using StructureMap with OpenRasta

This question is picking up from the following thread on the (now read-only) OpenRasta Google Group: http://groups.google.com/group/openrasta/browse_thread/thread/67df7a648a9cd843/cf8558b3c632601b?#cf8558b3c632601b Since that group was made…
Jim Liddell
  • 514
  • 3
  • 13
0
votes
1 answer

OpenRasta Dependency Injection tear-down

Is there a mechanism in the dependency injector in OpenRasta that tears down the instance of an object that is created? Regardless the dependency lifetime. I tried looking through the source, but could not directly find any tear down. Nor seems…
Jorrit Reedijk
  • 598
  • 3
  • 11
  • 22
0
votes
0 answers

OpenRasta Basic Authentication in VB.Net

To ask the question is to answer it. I was looking for OpenRasta code samples in VB.Net and could not find what I was looking for. Based on C# code and the excellent Basic Authentication sample of Scott Littlewood…
Jorrit Reedijk
  • 598
  • 3
  • 11
  • 22
0
votes
1 answer

Overloading Post Handler Methods for a Collection Resource

I'm using OpenRasta 2.0.3.0. I have a collection resource called ListOfActivity, and two distinct types of activity, FileUploadActivity and CommentActivity. Both activity classes inherit from ActivityBase. If I issue a GET request to…
Jim Liddell
  • 514
  • 3
  • 13
0
votes
1 answer

Implementing simple CRUD with OpenRasta and Web Forms

I've been asked to look into OpenRasta as an alternative to MVC ASP.NET at work, and as a starting point I'm trying to replicate the Movies tutorial from the MVC ASP.NET website. I really like the ReST style of OpenRasta, and so far have got a…
Matt Hogan-Jones
  • 2,981
  • 1
  • 29
  • 35
0
votes
1 answer

Passing an object as a parameter in openrasta get method

Is it possible for an OpenRasta handler to have accept a resource as a parameter. For a URI of (for example) "/search/" could I pass something like: public class SearchRequest { public string Term { get; set; } public string[] Categories { get;…
Alex
  • 37,502
  • 51
  • 204
  • 332
0
votes
1 answer

How OpenRasta internally works?

So far I only found documentation about how to use OpenRasta and the great functionality it provides, but Is there some kind of documentation or diagrams that helps to understand its internal architecture, components and how they interact between…
0
votes
1 answer

How do I configure Open Rasta to show a webpage under site root

I am using Open Rasta 2.0 under IIS 6. I would like to redirect the root of the site to a web page. The documentation says: Note that this will disable IIS default page mapping. The work-around is to either expose your default pages using…
John
  • 29,788
  • 18
  • 89
  • 130