Hello!
I had some questions regarding the structure and behavior of a model, using UML, and the relationship between the two :
Did you find any limitations for UML regarding the specification or understanding of the relationship between structure and behavior?
I was wondering if you have any practical ideas of how one can optimize the...
I have the need to add a custom behavior extension to my WCF client endpoints. I tried doing this through configuration, but have been bitten by the often-mentioned bug where WFC configuration can't parse the type name correctly. So can I do this programatically instead?
I can't modify the configuration sections at runtime because the...
I have written an ActiveX COM Dll, which is used in webpage. It exposes 2 functions say Connect, Disconnect and 2 events. In Connect method, I have created an instance to another class, lauches 2 threads one for Receiving Events and one for HeartBeat(HB). In the Disconnect method, I am disconnecting the Socket, (if connecting Socket is v...
I created a very simple ASP.NET application with one ASP.NET textbox control, ASP.NET button control and a ASP.NET gridview control.
When my client loads the application for the very first time, they enter in some text and press enter. The application does not load the results and clears the text box control. When they close their b...
Hi,
I have this application where the users can change text files and when they forget to save them, a little message pops up reminding them that the changes are not saved and asks them if they want to save the changes or not with two buttons "Yes" and "No". It also has a little checkbox that says "Disable this warning". And as the same...
A coworker showed me this:
He has a DropDownList and a button on a web page. Here's the code behind:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ListItem item = new ListItem("1");
item.Attributes.Add("title", "A");
ListItem item2 = new ListItem("2")...
Sometimes objects consist of pure data. Such objects have fields, accessors, and virtually no other methods.
Sometimes objects consist of pure behavior. They have other objects representing their state, or data is passed as method parameters. Usually such objects represent algorithms or some kind of policies.
What state/behavior ratio...
Seems like a standard approach for an ioc when given a scenario like (C# windsor):
container.AddComponent<ILogger, HttpLogger>();
container.AddComponent<ILogger, SmtpLogger>();
var logger = container.Resolve<ILogger>();
Would be that when resolving the component, the first registered ILogger (HttpLogger in this case) is the only cand...
Currently the whole behavior framework and APIs only come with expression blend (and its SDK) but I noticed that a crucial part of it resides in the namespace System.Windows.Interactivity. Does this mean that in a future version of the .NET framework, maybe even 4.0, behaviors will be part of the .NET Framework itsleft and do not require...
I'm using following peace of code to output an array:
echo "======output without array_unique=====";
var_dump($selected);
echo "=====output with array_unique=====";
var_dump(array_unique($selected));die;
And the output is:
======output without array_unique=====
array
0 =>
array
'uri' => string 'http://localhost/conferen...
Hi
I am using a wcf basichttp adapter in biztalk using ESB guidance 1.0
i made a test without biztalk involved calling an asmx service and i ended up with this configuration file :
Now i have to add the behavior in the wcf basichttp dynamic port i am creatin.
According to...
I've a simple menu on my page, that uses this jquery code for basic toggling:
$("#left-nav .block h3").click(function(){
$(this).next("ul").slideToggle("fast");
$(this).toggleClass("active");
$(this).siblings("h3").removeClass("active");
});
The UL is open (display:block via CSS) by default, so on first click, the UL hides (whic...
I'm trying to import behaviors in to blend, can anyone help me?
I'm a designer not a coder so would like to know the easy import rout for this in Blend?
...
Hi Everyone :)
I'm a designer so not to knowledgable at coding :(
I'm trying to install a behavior from the gallery on Expression. I've tried this way
http://social.expression.microsoft.com/Forums/en-US/blend/thread/b32dd55e-c592-4378-8153-744ccf0526ac/
but it doesn't seem to work.
Basicly I downloaded http://gallery.expression.microsoft...
My listener is part of a behavior, that should remove all is_published checks in the where clause of any called select query. Adding a part to a clause is really easy, but how to remove one.
There are some functions like Doctrine_Query->removeDqlQueryPart('where'),
but that removes the complete where clause, while I only need the 'is_...
Hi all,
I’m loving behaviours and states in Blend 3. Typically I’m using the GoToStateAction behaviour to go to a state when an action (such as a button click) occurs.
I’ve hit a snag with ControlTemplate triggers though. Blend lets me define states in the ControlTemplate, but I can’t work out how to assign the behaviour to use them....
In my CakePHP 1.2.5 app, I have a Profile model that belongsTo a User model. The User model has a username field, and when performing a find() on the Profile model, I want to always automatically retrieve the value of User.username too. I figure it would make sense to modify my Profile model's beforeFind() method to automatically conta...
I'm not 100% sure what question I should ask - as I'm too sure on the best way to do this .. so let me describe what I'm trying to do (using a simplified example) and we'll go from there.
You have arbitrary HTML Elements (IMG, A, TD, whatever).
Via the CSS they are assigned an HTML Behavior
.BoldSelection {
behavior: url(SelectBo...
Pretty comfortable with html, CSS, Dreamweaver.
Just begun learning Javascript but really, just.
Have been trying in vain for more than 1 1/2 weeks to dissect the ScrollToLeft function in the product pages of this site: www_dot_alvr_com (then click on "jewelry" then "necklaces" for example and you see these cool scrolling columns of ima...
Hi I have been testing some very basic things in ruby and discover the following.
If i put in a file called xxxx.rb in this path "C:\Documents and Settings\Desktop\xxxx.rb"
puts __FILE__
and invoke this ruby file in a command line WITHOUT preceding ruby the output is the following
C:/Documents and Settings/Desktop/xxxx.rb
but i...