bindings

EJB JNDI lookup on different WebSphere servers

I have two separate installs of WebSphere. (Actually one is WebSphere Application Server V6.1 with EJB 3.0 and Web Services feature packs, and the other server is WebSphere ESB Server V6.2). However, I know that ESB is really built on top of WAS, so it has all the configuration settings that a regualr WAS server has. In my ESB server,...

Programatically set an ASP.NET website bindings for an IIS7 site?

Hi folks, i've got a simple ASP.NET website that i end up publishing/running on an IIS7 server. Is it possible to to add into my web.config file some 'binding' information, instead of having to set it manually through the site in IIS7. eg. imagine i have the following bindings http://foo.mysite.com 80 http://bar.mysite.com 80 http:/...

Generating sample XML data for Blend from Entity Framework data model?

In working with MS Expression Blend, you can import sample data from an XML file to use to test your XAML and bindings in design mode. My data model is fully defined in XML using the Entity Framework. Is there any reasonable way to use that model, either directly or indirectly, as the source for the Blend sample data? It seems like th...

Problem with building Boost Graph Library Python bindings under Leopard

I've inherited some Python code which is importing boost.graph and I'm having an issue setting up the following under Mac OS X Leopard (I believe this is what I need to install to get it working): http://osl.iu.edu/~dgregor/bgl-python/ According to the readme I need to build with bjam, but I see the following error: [matt@imac ~/Downl...

Introduction to the Python Clutter bindings?

I've had a search around but I haven't been able to find decent online tutorials for the recent clutter bindings. There are guides for 0.4 and 0.6 around but 0.8 is supposed to be very different making these guides kind of useless. Links or examples greatly appreciated! ...

Solutions to organize Guice binding configurations

It's apparently a bad idea to put all bindings in one module, so what do you think is the more elegant way? I think Bob's idea could be good start for this discussion: It's hard to come up with one-size-fits-all rules for this sort of thing, but one Module per package is certainly a good place to start. Putting a Module in each pack...

Creating C# bindings

Hello, i have a library written in C++, how can i create bindings to C# so i can expose the functionality of that library to C#? And i don`t mean "port" (using SWIG possibly). I mean that when calling some functions in C#, pure C++ code is executed so it is fast. I've searched around in google but i couldn't find anything o_O Thanks in ...

How to set bindings for generic properties of custom activity in workflow foundation

I have a custom class called "Parameter" and a custom activity with generic collection property called "Parameters", and I want to set bindings for one of Parameters in the generic list of Parameters Property,I've tried with activitybind, but it is not working, is there any way to do it with workflow foundation? please see codes below: ...

What's the cleanest way to bind enumerated properties?

I have a menu which has an item for each value in an enum. The menu: [ ] Sort by Due Date [ ] Sort by Priority [√] Sort by Title The enum: typedef enum CW_TASK_SORT_METHOD { CWTaskSortMethodDueDate, CWTaskSortMethodPriority, CWTaskSortMethodTitle } CWTaskSortMethod; The property: @property(readwrite, assign) CWTaskSo...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding does not have a configured binding named 'wsHttpBinding_Unsecured_Long'. This is an invalid value for bindingConfiguration. (C:\WINDOWS\Micr...

Custom WCF binding for interacting with Oracle AQ?

Anyone aware of any good examples/resources using WCF to interact with Oracle AQ (Advanced Queueing), possibly even a custom binding? Thanks. KJQ ...

Writing a C++ DLL, then wrapping it in C#.

Hello, I am a bit confused about wrapping a c++ dll in c#. What kind of dll should i create? A normal dll or an mfc dll? Should i prefix every proto with "extern..." ? Should i write the functions in a def file? My last effort was in vain, c# would crash with an error like "bad image format", which means that the dll format is not corr...

Transfer mode Streamed is not supported by ReliableSessionBindingElement.

Hi. I am designing a duplex channel wcf service using a custom binding. Currently, when I compile my class library, I am getting the following error: Transfer mode Streamed is not supported by ReliableSessionBindingElement. Below is my App.config: <service behaviorConfiguration="transferServiceBehavior" name="...

Weird behaviour of custom C# bindings, they run only on my dev environment, nowhere else!

Hello, following my post "Writing a C++ DLL, then wrapping it in C#.", i managed to create a C++ DLL and wrap it in C#, and everything works smooth... Well, only on my dev machine. While the code compiles on other machines too, i just won't run. Some background. I create a dll that uses cvblobslib that is based on opencv. I compiled all...

Overview of WCF binding availability

Is there any place that gives a full list of which WCF bindings are supported in which scenarios. For example: Net.tcp is not supported in IIS 6 wshttpbinding is not supported in Silverlight (version 2?) Some bindings are only supported if you have framework 3.5 In some cases the binding is supported, but not all functionality in the ...

Check if key is pressed using python (a daemon in the background)

I've created a python script in which an event needs to be executed each time I press the Super (or WinKey) on my keyboard. How can one achieve this without the python process being "focused" - as it is running in the background waiting for the key to be pressed to execute the event? I've seen a lot of posts around the web showing me h...

What's the shorter xaml syntax for Multibinding using StringFormat with multiple bindings?

Hi for a single binding, we use: <TextBlock> <TextBlock.Text> <MultiBinding StringFormat="{}{0}"> <Binding Path=EmployeeName/> </MultiBinding> </TextBlock.Text> </TextBlock> or a shorter syntax: <TextBlock Text="{MultiBinding StringFormat=\{0\}, Bindings={Binding Path=EmployeeName}}"/> Now, if you have multibi...

Enabling NSButton with bindings, based on NSTableView selection

I have a NSWindow containing an NSButton and an NSTableView. I'd like the button to be enabled if and only if the table contains at least one item, and exactly one item is selected. (The table does not allow multiple selection.) What can I bind the button's enabled binding to to make this happen? ...

Bindings - master detail array controllers

I really hope someone can help on this because I'm learning cocoa and have hit a road block. I am trying to model a simple poker tournament. For now, my entities are simply a Tournament (with a number) and a Player (with a Name). A Tournament has an array of Players. I can bind two independent table views to display the tournaments a...

How does the Built-in Bindings of Google Guice work?

Hello, I tried Google Guice the first time and find it very nice. But, when I reached the part of Built-in Bindings I do not understand the examples. For me it looks like I can use it for logging like an interceptor, but I don't know how. Could someone of you explain this type of Binding and how I can use it? And maybe (if it's possib...