Questions tagged [rhino-commons]

Rhino commons is a collection of useful .NET libraries and classes by Ayende Rahien.

Ayende describes it as follows: "Rhino Commons is a set of classes that I found to be useful in more than one project. It makes use of NHibernate, Castle, and various other tidbits that I have gathered in my travels. Rhino Commons is a library to help me do advanced stuff easier, and as such, it is advanced in itself."

Project home

24 questions
68
votes
1 answer

Castle DynamicProxy - Failure when creating proxy involving a GTP used as a GTR

OK, now I'm really confused. I originally had this problem, which is, according to posters, an issue with the version of Castle.DynamicProxy that's ILMerged into the latest Rhino.Mocks library. It has, according to several authorities on the…
KeithS
  • 70,210
  • 21
  • 112
  • 164
5
votes
1 answer

Rhino Commons and Rhino Mocks Reference Documents?

Ok, is it just me, or does there seem to be a lack of (easy to find) reference documentation for Rhino Commons and Rhino Mocks? My coworkers have started using Rhino Mocks and Rhino Commons (particularly the NHibernate stuff), and I found a few…
Ogre Psalm33
  • 21,366
  • 16
  • 74
  • 92
4
votes
3 answers

Auto mocking container for Windsor and Rhino

I am want to do automocking with Windsor so that I can do something like _controller = _autoMockingContainer.Create(); There used to be a Windsor auto mocking container in Ayende's Rhino libraries. But that…
Dan
  • 29,100
  • 43
  • 148
  • 207
4
votes
3 answers

How to configure sandbox security in in Rhino JavaScript engine

I want to interpret html pages scripts, but want to disable any posibility of harming my computer. Is there are any official tutorial or example how to configure such feature? (i dont find it in offcial site)
yura
  • 14,489
  • 21
  • 77
  • 126
4
votes
2 answers

Any Rhino Commons Getting Started Tutorials?

There used to be a great one at this blog: http://www.hanneyetc.co.uk/ but it is offline now.
Kyle West
  • 8,934
  • 13
  • 65
  • 97
3
votes
4 answers

How do you mock UnitOfWork from Rhino.Commons?

My application is using Rhino.Commons - NHRepository and UnitOfWork. I like the With.Transaction() syntax for transactions and have been using it for some time. But I ran into a problem - how do I mock a UnitOfWork for testing? Especially this is…
3
votes
1 answer

Rhino.Commons + Fluent NHibernate

Is there a way to use Rhino.Commons with Fluent Nhibernate, (in particular AutoMapping)? Many thanks fromano
fromano
  • 45
  • 4
3
votes
1 answer

Where to place the coordinates of text in a C# graphic bitmap

I wrote a C# Render method that renders a heatmap onto a Grasshopper canvas. Grasshopper is a Rhino plugin that allows for a simple GUI programming interface. protected override void Render(Grasshopper.GUI.Canvas.GH_Canvas canvas, Graphics…
theGreenCabbage
  • 5,197
  • 19
  • 79
  • 169
2
votes
1 answer

Enterprise Service Bus (.NET flavors) - Consuming a batch of messages at a time

Is there a way to delay the consumption of a message in an Enterprise Service Bus until either X similar messages are ready or Y time elapsed? My goal is to serialize and aggregate several messages in the consumer so I don't hit my storage for a…
Raciel R.
  • 2,136
  • 20
  • 27
2
votes
1 answer

NHIbernate & Rhino-Security does not save unless I call session.Flush()

I am having an issue using nHibernate and Rhino.Security. After struggling for hours to get the right config setup, I finally got the code to run without any errors. However, no entries are being saved to the database unless I call…
rboarman
  • 8,248
  • 8
  • 57
  • 87
1
vote
2 answers

Delete points from a pointcloud in RhinoCommon?

I am using this code to have the user select specific points from a loaded point cloud. The point is to allow them to manually prune the pointcloud and later create an automatic outlier detection to prune these points. However, I can't find anywhere…
Niek
  • 11
  • 1
1
vote
1 answer

Rhino UnitOfWorkApplication + Castle Automatic Transaction Management application does not flush automatically on request end

I'm building ASP.Net MVC aplication based on UnitOfWorkApplication and I'd like to use Castle ATM facility. At the moment I've problem with flushing the session on request end. My service class (which is called in my controller action method) looks…
1
vote
2 answers

Rhino.Commons with StructureMap

Has anybody tried to use StructureMap for IoC with Rhino.Commons? Thanks
fromano
  • 45
  • 4
1
vote
1 answer

Rhino Commons Nhibernate Module w/ Structuremap

Has anyone gotten the NH session management bits from RhinoCommons to work with Structure Map? We already use SM and do not want a dependency on Windsor.
MarcR
  • 11
  • 1
1
vote
1 answer

Rhino Security - Configure multiple users

I am using Rhino Security and everything works fine when I configure the security settings as follows: Security.Configure(cfg, SecurityTableStructure.Prefix); However, this depends on having a single User type that implements the IUser…
JP.
  • 5,536
  • 7
  • 58
  • 100
1
2