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…
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…
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…
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…
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…
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) {
…
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…
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…
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…
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…
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…
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…
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;…
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…
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…