We have some really old code that calls WebServices using behaviours (webservice.htc), and we are having some strange problems... since they've been deprecated a long time ago, I want to change the call.
What's the correct way of doing it? It's ASP.NET 1.1
EDIT: Please stop re-tagging when it's not needed. Refer to the FAQ
...
It is very difficult to find information on programming hardware or electronic devices that are not an actual desktop computer, laptop or server. A few instances that I am speaking of are kid's toys like Bop It, or how about a control system for the home, or even something like Pleo or a mobile phone? I mean, if I want to program behavio...
From this question. You have to use \r when replacing text for a newline, like this
:%s/%/\r/g
But when replacing end of lines and newlines for a character, you can do it like:
:%s/\n/%/g
What section of the manual documents these behaviors, and what's the reasoning behind them?
...
There is no documentation on cakephp.org and I am unable to find one on google. Please link me some documentation or supply one!
...
I'm writing a sample console service host and I want to plug into WCF stack to be able to print a message to console when new message arrives, even if it won't get processed by the service at the moment (because service is working on previous calls).
This is based on my assumption that messages arriving get queued by the WCF, is that cor...
This question is related to the question posted here:
http://stackoverflow.com/questions/169342/why-isnt-my-custom-wcf-behavior-extension-element-type-being-found
I'm using the WCF Behavior Extension with Custom Credentials demonstrated on MSDN here:
http://msdn.microsoft.com/en-us/library/ms730868.aspx
The only difference is that I'...
Hello, some time ago I found an article (Roles: Composable Units of Object Behavior) describing the pros of using Roles versus Interfaces or other ways of dealing with behavior requirements. Does any of you knows where I can find more literature about that, or knows more about Roles?
I know that that's almost a research topic, but maybe...
sometimes, git will spontaneously (during some, but not all, "pull" or "clone" operations) copy all of the remote branches of a repository into my local repository (and even set them all up to track the corresponding remote branches correctly). What causes this? Is there a way I can do this on purpose?
...
Hi everyone, what would happen if I spin off a thread to execute a long-running process right before the ASP.NET page lifecycle completes? Will the ASP.NET runtime kill the thread? Can this lead to undefined behaviour?
Here's a sample of the code, which spins the background thread in the Page_Load event. Is this a safe thing to do?
pro...
Hello, I'm having a strange behavior with an operator overloading in C++. I have a class, and I need to check if its contents are greater or equal to a long double. I overloaded the >= operator to make this check, my declaration is as follows:
bool MyClass::operator>=(long double value) const;
I have to say that I also have a cast-to-...
I'm pretty new to mocking so this might be something I'm just not picking up on yet, but I can't find a good example anywhere.
I'm trying to assert that by default, any class that inherits from my abstract class will instantiate a collection in the constructor. Here's the abstract class:
public abstract class DataCollectionWorkflow : ...
I'm trying to implement binary behaviour by using the C# language. I found a great article with a lot of workarounds, So I've implemented my program's behaviour exactly like it was described in the article. But when I run the program, I find that some code isn't executed:
<object id="mybehav" classid="http://localhost:81/mycontrol
/MyCo...
How can be changed the behavior of an object at runtime? (using C++)
I will give a simple example.
I have a class Operator that contains a method Operate. Let’s suppose it looks like this:
double operate(double a, double b)
{
return 0.0;
}
The user will give some input values for a and b, and will choose what operation to perform let’s s...
I like to emulate the normal behavior of C-Del/C-Backspace on Windows in VIM.
Currently i'm using:
imap <C-Del> <C-o>dw
imap <C-Backspace> <C-o>db
This is close but not perfect. E.g. when trying to delete this from the end of the line
foo(1, 2)
with C-Backspace, this happens:
foo(1, )
How can I solve this?
...
Hello everybody !
Is it possible to add behaviors (eg. actAs Timestampable) in a doctrine migration to avoid defining the created_at and updated_at columns ?
Thank's in advance !
...
In WinForms, to set focus to a specific control, I always seem to wind up calling Control.Select() and Control.Focus() to get it to work.
What is the difference, and is this the correct approach?
...
Hi there all, this is a bit of a specific question so I'll get right to the point.
I'm working on a short and simple drag and drop routine for part of a web application, and although the dragging and dropping bit works fine, the site goes all ugly-tastic during the operation because the browser still does the default operation and works...
When the WPF ComboBox is clicked and in-focus, the only interaction that occurs after that can be with the ComboBox. If anything else is interacted with, including the window functions (minimize, restore, close, resize) and any control in the window, the action is ignored and the ComboBox loses focus.
In addition, MouseEnter and MouseL...
Hi,
Recently I create a photography website which has a gallery showcasing different albums. I have done up the albums as separate swfs to be loaded into the main swf when selected with a preloader to indicate progess (and masking of the unfinished content till 100%).
The preloader is a usual getTotalByte one, however when viewing this...
I am trying to implement a very basic reliable message state handling system to provide improved reliability in my Silverlight to WCF server communications.
I have taken the route of introducing a custom message header into the SOAP request that contains an incrementing integer as a message ID. The idea is that when I receive a reques...