﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Guillaume commented on NIH alert! Writing my own RPC systems</title><description>Have you considered using some RESTful services ? (I'm not sure of ASP.Net MVC's compatibility with Mono but it could be a good start)
  
  
You may also find some interesting keys with json services (with JSON.Net for example)
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment29</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment29</guid><pubDate>Mon, 11 Jan 2010 20:58:21 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>Because I initially thought that WCF is completely not an option
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment28</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment28</guid><pubDate>Sun, 10 Jan 2010 06:26:46 GMT</pubDate></item><item><title>Mike McG commented on NIH alert! Writing my own RPC systems</title><description>I'm sure you thought of this, but if you have a moment can you explain why a separate proxy layer/service/wrapper that translates between Remoting and WCF is not a good option?
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment27</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment27</guid><pubDate>Sun, 10 Jan 2010 03:23:19 GMT</pubDate></item><item><title>Felix commented on NIH alert! Writing my own RPC systems</title><description>@Frans,
  
Thanks you for defining someone a "daredevil", it makes me feel younger. Less polite is the "big mounth",but I know, is the price we have to pay for you sharing your wisdom. but is  Actually the 'personal' contrib version i'm talking about is on the offical contrib version. I do not have so much useless time to spent, this is the reason my work is for sure a little monkey in comparison to your. I just did it cause NH give me a lot of productivity and I would like to pay back something. Basically I'm really surprised on seeing so many people complaining for documentation, the site NHForge is plain of whatever you need to starup with NH. Plus you have the source code. Plus you have a lot of people helping you basically for free ( Fabio Maulo one of the best,Ayende as well).  Furthermore, the fancy designer with fancy colored boxes is a "must have" that fail as soon the model pass the 15 entities... 
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment26</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment26</guid><pubDate>Thu, 07 Jan 2010 20:36:20 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>The actual serialization format isn't what worries me.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment25</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment25</guid><pubDate>Thu, 07 Jan 2010 09:28:26 GMT</pubDate></item><item><title>Steve Wagner commented on NIH alert! Writing my own RPC systems</title><description>It solves you problem without needing to have an external technology which is may not implemented in another platform. It also could work if java is on one of both sides.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment24</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment24</guid><pubDate>Thu, 07 Jan 2010 09:27:00 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>So I am building RPC on top of pub/sub?
  
What does this give me?
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment23</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment23</guid><pubDate>Thu, 07 Jan 2010 09:22:58 GMT</pubDate></item><item><title>Steve Wagner commented on NIH alert! Writing my own RPC systems</title><description>But you could block the execution until a reply message was received.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment22</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment22</guid><pubDate>Thu, 07 Jan 2010 09:21:00 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>Steve,
  
I need request / reply, not pub/sub
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment21</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment21</guid><pubDate>Thu, 07 Jan 2010 09:04:42 GMT</pubDate></item><item><title>Steve Wagner commented on NIH alert! Writing my own RPC systems</title><description>Why you dont create a simple ProtocolBuffers based message bus and send messages over it instead of doing RPC?
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment20</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment20</guid><pubDate>Thu, 07 Jan 2010 08:54:08 GMT</pubDate></item><item><title>Andrew commented on NIH alert! Writing my own RPC systems</title><description>Maybe a web server assembly should be used? 
[http://www.codeplex.com/webserver](http://www.codeplex.com/webserver)  
  
Bit excessive though.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment19</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment19</guid><pubDate>Thu, 07 Jan 2010 02:20:46 GMT</pubDate></item><item><title>Jeff Brown commented on NIH alert! Writing my own RPC systems</title><description>Have you looked at Thrift?
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment18</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment18</guid><pubDate>Wed, 06 Jan 2010 19:38:24 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>I mean that it is an extra step in the install process
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment17</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment17</guid><pubDate>Wed, 06 Jan 2010 18:16:37 GMT</pubDate></item><item><title>Tiz Zaqyah commented on NIH alert! Writing my own RPC systems</title><description>Ayende,
  
  
I am a little bit confused here. What do you mean but the extra one step that you are talking about. I thought it just be same for both?
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment16</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment16</guid><pubDate>Wed, 06 Jan 2010 15:34:09 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>Marc,
  
I know, but that step is an extra one that I really don't want to do
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment15</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment15</guid><pubDate>Wed, 06 Jan 2010 13:26:32 GMT</pubDate></item><item><title>Marc Gravell commented on NIH alert! Writing my own RPC systems</title><description>Is the Mono server on linux? On Windows you don't actually need to be admin to use HttpListener - you just need the port opened for http.sys (via netsh etc). Is there maybe something similar for linux?
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment14</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment14</guid><pubDate>Wed, 06 Jan 2010 13:20:20 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>Marc,
  
I need to run it as non admin user
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment13</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment13</guid><pubDate>Wed, 06 Jan 2010 13:16:25 GMT</pubDate></item><item><title>Marc Gravell commented on NIH alert! Writing my own RPC systems</title><description>@Ayende - I don't fully understand the question, but note that the current server implementation uses HttpListener, so if that is a problem... But I'm on about the RPC stack in protobuf-net; examples are in the unit-test project - see the HttpWithLambda test-fixture here: 
[code.google.com/.../HttpBasic.cs](http://code.google.com/p/protobuf-net/source/browse/trunk/Examples/Rpc/HttpBasic.cs)</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment12</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment12</guid><pubDate>Wed, 06 Jan 2010 13:08:20 GMT</pubDate></item><item><title>Demis Bellot commented on NIH alert! Writing my own RPC systems</title><description>@Ayende
  
  
Yeah admin rights is a problem with HttpListener. This is where the other options may be more appropriate. On the upside HttpListener allows you to host on the same port at the same time with IIS. 
  
  
Just sent you an email - I'm happy to change it to a more appropriate licence if needed.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment11</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment11</guid><pubDate>Wed, 06 Jan 2010 13:08:10 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>On second thought, Demis, I checked out the license, and it is GPL, which mean that I pretty much can't make any use of it
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment10</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment10</guid><pubDate>Wed, 06 Jan 2010 12:17:24 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>Marc,
  
What implementation are you talking about?
  
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment9</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment9</guid><pubDate>Wed, 06 Jan 2010 12:14:58 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>Dennis,
  
I'll look at that. My issue with HttpListener is that it requires admin privileges
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment8</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment8</guid><pubDate>Wed, 06 Jan 2010 12:14:28 GMT</pubDate></item><item><title>Demis Bellot commented on NIH alert! Writing my own RPC systems</title><description>Sounds like a good spot for a plug. 
  
  
You can use Service Stack (
[http://www.servicestack.net](http://www.servicestack.net)) - an opensource XML/JSON/REST web services framework that runs on .NET or Mono which can be hosted in IIS, XSP or even inside a standalone console app (which uses HttpListener behind the scenes).
  
  
This link below shows a live 'silverlight client' talking to XML services hosted on CentOS/Nginx server:
  
[www.servicestack.net/.../Silverlight.htm](http://www.servicestack.net/ServiceStack.Examples.Clients/Silverlight.htm)  
  
For a quick overview on servicestack here's an in-depth tutorial creating and calling mono webservices from a MonoTouch client (C# on iPhone):
  
[http://www.servicestack.net/monotouch/remote-info/](http://www.servicestack.net/monotouch/remote-info/)  
  
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment7</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment7</guid><pubDate>Wed, 06 Jan 2010 11:35:26 GMT</pubDate></item><item><title>Marc Gravell commented on NIH alert! Writing my own RPC systems</title><description>Re the protocol buffers / RPC discussion; protobuf-net has a basic RPC stack built in using HTTP, covering those error-handling, method-invocation, etc issues. I honestly haven't tried it between Silverlight and Mono, so I can't guarantee that it'll work. If you're on a framework with Expression, it allows usage like:
  
  
    var result = proxy.Invoke(svc =&gt; svc.SomeMethod("abc", someArg, obj.SomeValue));
  
  
Without Expression it is a bit less pretty.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment6</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment6</guid><pubDate>Wed, 06 Jan 2010 11:13:40 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>Rich,
  
I am using it there, but I use it as data stream, not RPC.
  
For RPC, you would need to handle a lot of things, such as error handling, method invocation, etc.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment5</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment5</guid><pubDate>Wed, 06 Jan 2010 10:56:37 GMT</pubDate></item><item><title>Davy Brion commented on NIH alert! Writing my own RPC systems</title><description>well, the simplest way to do this if you can use the mono version with WCF support is Agatha :)
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment4</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment4</guid><pubDate>Wed, 06 Jan 2010 10:54:12 GMT</pubDate></item><item><title>RichB commented on NIH alert! Writing my own RPC systems</title><description>I thought you used ProtocolBuffers in UberProf - can you use that to send messages between processes instead of RPC?
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment3</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment3</guid><pubDate>Wed, 06 Jan 2010 10:54:08 GMT</pubDate></item><item><title>Ayende Rahien commented on NIH alert! Writing my own RPC systems</title><description>And that is why I love this blog :-)
  
Thanks, I'll check this out
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment2</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment2</guid><pubDate>Wed, 06 Jan 2010 10:31:12 GMT</pubDate></item><item><title>Marc Gravell commented on NIH alert! Writing my own RPC systems</title><description>Can you pick the Mono version? 2.6 has the WCF stack from Silverlight, IIRC.
</description><link>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment1</link><guid>http://ayende.com/4353/nih-alert-writing-my-own-rpc-systems#comment1</guid><pubDate>Wed, 06 Jan 2010 10:11:20 GMT</pubDate></item></channel></rss>