lol. OWIN is a pipeline driven thing which works really well for
request/response. I think popping up a windows form

1. Might not really fit in.
2. Would have catastrophic effects like the end of the universe as we know
it.

:-)


On Sun, Mar 3, 2013 at 3:03 AM, Angel Java Lopez <[email protected]>wrote:

> And then, use ClearScript (JavaScript+V8) from .NET
>
> End of Universe around the corner ;-)
>
> Something we could need:
>
> var dotnet = require('dotnet');
>
> var form = dotnet.createNew('System.Windows.Forms');
> form.setText('Look ma... WinForm from Node.js');
> form.show();
>
> (Ok, I missed the Application loop)
>
> That is, some module that expose (via reflection) the native methods
> on an object or type to JavaScript/V8.
>
> I don't know:
>
> - How to manage garbage collection (V8 objects vs .NET objects)
> - How to "marshall" arguments/return values (V8 objects vs .NET
> objects) and if it is feasible
> - V8 calls C++. How to call .NET from C++.
>
> Any example of how to return a new V8 object in C++ with C++ methods
> attached? Like the above form.setText?
>
> Maybe, @tomasz code has some answers to me. But V8 C++ code is still
> some obscure black magic to me, yet.
>
> Some collected links to explore:
>
>
> http://www.codeproject.com/Articles/42319/Using-NET-Classes-Modules-from-Native-C
>
> http://stackoverflow.com/questions/380559/using-net-class-from-native-c-using-c-cli-as-a-middleware
> http://msdn.microsoft.com/en-us/magazine/cc300632.aspx
>
> http://weblogs.asp.net/kennykerr/archive/2005/07/12/Mixing-Native-and-Managed-Types-in-C_2B002B00_.aspx
>
> Angel "Java" Lopez
> @ajlopez
>
> On Sun, Mar 3, 2013 at 7:45 AM, Glenn Block <[email protected]> wrote:
> > I probably would _not_ use it for other than those specific cases.
> >
> >
> > On Sun, Mar 3, 2013 at 2:45 AM, Glenn Block <[email protected]>
> wrote:
> >>
> >> I agree. For middleware that wants to take advantage of Windows it will
> be
> >> far easier to leverage .NET then to have to author C++ modules.
> >>
> >> Actually I guess you could imagine the same for Mono.....
> >>
> >>
> >> On Wed, Feb 27, 2013 at 3:26 PM, José F. Romaniello
> >> <[email protected]> wrote:
> >>>
> >>> Looks great, already told you on twitter.
> >>>
> >>> There are cases where I would prefer this to an mq/worker solution.
> >>>
> >>> A good example that I was thinking is a middleware to log events in
> >>> windows event log. It is not a CPU bound operation but event log will
> be
> >>> easy to use from .net. I already did a native module but this could be
> >>> easier and better.
> >>>
> >>> El 27/02/2013 20:07, "Tomasz Janczuk" <[email protected]> escribió:
> >>>
> >>>
> >>> >
> >>> > Currently you cannot choose the name of the method to call in .NET,
> >>> > but you are not the first one asking, so I will be adding this
> >>> > shortly.
> >>> >
> >>> > You can have several CLR classes in one assembly and choose one this
> >>> > way: https://github.com/tjanczuk/owin/issues/2
> >>> >
> >>> > On Feb 27, 1:59 pm, [email protected] wrote:
> >>> > > Hi,
> >>> > >
> >>> > > I spent some time trying your project and I am very exciting about
> >>> > > the
> >>> > > connecting nodejs and .NET possibility.
> >>> > >
> >>> > > I focused on handling requests and process them with .NET 4.5 and I
> >>> > > easily
> >>> > > succeed to create simple REST application.
> >>> > >
> >>> > > First of all, is it possible to choose the name of the method
> calling
> >>> > > by
> >>> > > the connector (ie: MyMethod instead of Startup)?
> >>> > >
> >>> > > Then, can we connect several requests to different methods from the
> >>> > > same
> >>> > > assembly?
> >>> > >
> >>> > > Thanks,
> >>> > >
> >>> > > Mickael Metesreau
> >>> >
> >>> > --
> >>> > --
> >>> > Job Board: http://jobs.nodejs.org/
> >>> > Posting guidelines:
> >>> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> >>> > You received this message because you are subscribed to the Google
> >>> > Groups "nodejs" group.
> >>> > To post to this group, send email to [email protected]
> >>> > To unsubscribe from this group, send email to
> >>> > [email protected]
> >>> > For more options, visit this group at
> >>> > http://groups.google.com/group/nodejs?hl=en?hl=en
> >>> >
> >>> > ---
> >>> > You received this message because you are subscribed to the Google
> >>> > Groups "nodejs" group.
> >>> > To unsubscribe from this group and stop receiving emails from it,
> send
> >>> > an email to [email protected].
> >>> > For more options, visit https://groups.google.com/groups/opt_out.
> >>> >
> >>> >
> >>>
> >>> --
> >>> --
> >>> Job Board: http://jobs.nodejs.org/
> >>> Posting guidelines:
> >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> >>> You received this message because you are subscribed to the Google
> >>> Groups "nodejs" group.
> >>> To post to this group, send email to [email protected]
> >>> To unsubscribe from this group, send email to
> >>> [email protected]
> >>> For more options, visit this group at
> >>> http://groups.google.com/group/nodejs?hl=en?hl=en
> >>>
> >>> ---
> >>> You received this message because you are subscribed to the Google
> Groups
> >>> "nodejs" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send
> an
> >>> email to [email protected].
> >>> For more options, visit https://groups.google.com/groups/opt_out.
> >>>
> >>>
> >>
> >>
> >
> > --
> > --
> > Job Board: http://jobs.nodejs.org/
> > Posting guidelines:
> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
> >
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "nodejs" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to