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
0
votes
1 answer

Are list parameters supported in OpenRasta? how they should be sent?

If I have a resource handler method receiving an object list as parameter (int list, string list or any object type list), i.e.: public class TasksCollecionHandler { public TaskCollection GetTasksByEngineer(List engineerIds) …
0
votes
2 answers

Can I register multiple resources with one handler and one URI in Open Rasta?

I want to register mutliple resources with one handler and one URI.so want to confirm that is this possible in open rasta. I have gone through a bit of websites regarding open rasta but couldn't able to conclude that whether this is possible or…
Mohit Bhandari
  • 283
  • 1
  • 2
  • 8
0
votes
1 answer

OpenRasta URI implementation issue

I am implementing URI in OpenRasta for a resource in configuration file. This perticular resource is a child entity of multiple resources. Parent and child is having one to many relation. All Parent Entities are having an int value via enum type in…
0
votes
2 answers

JSON Date Serialization Issue with Openrasta

I am currently working on Rest API using Openrasta. In this i am passing a date in JSON object to server side e.g. "/Date(1316802600000)/" for date (24/09/2011) which is standard format for sending date. But when I am receiving this on server side…
prashant
  • 2,181
  • 2
  • 22
  • 37
0
votes
1 answer

Soft-code ILogger in HostManager and InternalDependencyResolver

I created my own ILogger implementation and register an instance via ResourceSpace.Uses.Resolver.AddDependencyInstance(...) inside the using (OpenRastaConfiguration.Manual) block. This works fine for most log messages, however some…
Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
0
votes
1 answer

Should I reuse view models as resources in a REST service?

I'm developing an application that will persist view models for consumption by the UI. For a REST service, is it considered a good idea to re-use view models directly as resources, or should I create specific resource classes and use something like…
pnschofield
  • 877
  • 1
  • 6
  • 16
0
votes
1 answer

How should I implement NHibernate with OpenRasta?

Looking for a best practice type of thing, here. What should I do in OpenRasta to implement Fluent NHibernate, including proper session management, etc.
Byron Sommardahl
  • 12,743
  • 15
  • 74
  • 131
0
votes
1 answer

Error 405 on PUTs, "ignoreme.rastahook" in IIS log

We have an Asp.Net application with OpenRasta, and when we deploy it on most of our IISes (7.5), it works fine. In one installation though, for PUT requests, the client receives "405 Method not allowed" errors, and the log shows entries…
Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
0
votes
1 answer

Workaround for OpenRasta with Optional QueryString Parameters

I have seen this bug report from last year. I was wondering if there is a work around anyone has implemented or can suggest to allow matching when there are optional query string parameters using openrasta?
John
  • 29,788
  • 18
  • 89
  • 130
0
votes
1 answer

In OpenRasta, how do I get a reference to the selected handler in a custom IPipelineContributor?

When writing a custom IPipelineContributor it isn't clear how to get a reference to the selected Handler. The purpose of the custom contributor is to dispose any handlers that implement IDisposable once they have returned a result. Given the…
Iain
  • 10,433
  • 16
  • 56
  • 62
0
votes
1 answer

Getting 406 when using OpenRasta HTTPEntity as return response?

In my handler code trying to return the redirect response with necessary openid headers/body to do the user-agent redirection to do the authentication, but when I set the return response with HTTPEntity in the Operation result I get 406 Not…
srs
  • 516
  • 1
  • 4
  • 20
0
votes
1 answer

How to handle multipart POST using a URI template of form /prefix/{suffix} in OpenRasta?

I'm trying to handle a POST of a multipart document in OpenRasta with a URI template declaration of /content/{contentId}, but it fails. The configuration…
0
votes
1 answer

Why does OpenWrap cause my projects to fail with a "InitializeVisualStudioIntegration" compilation error?

Suddenly I cannot compile the following openrasta projects (see errors at end): OpenRasta.Codecs.WebForms OpenRasta.Hosting.AspNet This has happened after I did two things: I installed the latest version of OpenWrap from the wiki. This is the…
biofractal
  • 18,963
  • 12
  • 70
  • 116
0
votes
1 answer

Validation with OpenRasta

We're starting a new project, on the client side, we'll use a asp.net mvc3 application, accessing resources exposed by OpenRasta. asp.net mvc has built in validation with Data Annotations, how usually people do validation with OpenRasta?
Rafael Mueller
  • 6,028
  • 3
  • 24
  • 28
0
votes
1 answer

OpenRasta: Prioritize requests or: make requests asynchronous

Two years ago, there was a discussion on asynchronous request processing in OpenRasta: http://groups.google.com/group/openrasta/browse_thread/thread/34a599e21bf65d53 Googleing 'openrasta' and 'async' doesn't yield much more than the above link, and…
Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156