|
This is totally awesome.
Tope777 wrote: I need an experienced wcf developer to take me through a wcf project(real life) they have done recently.
I am going for an interview and this is urgent.
so, someone who DESERVES their job, should take the time to train you up, so you can get a job you DON'T deserve ? What the hell is wrong with you ? Learn WCF, or go back to flipping burgers. Seriously, you are everything that is wrong with our industry. Any company that hired you based on what someone told you, when you have no idea, would certainly deserve what they got.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
The deluge of what I will regard as hate mail from this website just because I asked for help on something is unbelievable to say the least.
I have said time and over that I am an experienced software developer and I have developed asp.net and wpf, xslt and asp.net WEB SERVICES . which WCF is just a superset of.
It is not in my upbringing to have a go at people or say bad things to them so I wish you all will be treated exactly the same way you have treated me.
By the way, I just asked a former colleague to remind me of a similar web services work we did together so I guess that is it.
But is life not like this:
You were in primary and somebody taught you what you knew then
same goes to secondary and university and beyond.
I wonder why all these people are feeling on top of the world because I have the humility of asking them for help even when I have tried to explain that I am an experienced software developer and yes I needed this for an interview but its not like I am a novince and I have done extensive research . I just said I needed a little help. But hey , if this website is like this then I will just withdraw my membership before I am killed with hate mails.
It seems ....I will not finish that statement so that my good manners will not be corrupted .
Thanks a lot and goodbye
|
|
|
|
|
Tope777 wrote: The deluge of what I will regard as hate mail from this website just because I asked for help on something is unbelievable to say the least.
You asked for someone to take the time to walk you through one of their projects, showing you code that they almost certainly had signed an NDA on. You didn't just ask us to post an answer, which is what we do, but to give you a guided tour of something so that you;'d understand it enough to get through an interview. For free. That's just astounding.
Tope777 wrote: You were in primary and somebody taught you what you knew then
same goes to secondary and university and beyond.
Yes, and we are here because we like to help people who are learning. I am all for that. If you'd done some research and asked specific questions about WCF, you would have got a heros welcome here. You didn't. You made a pretty unreasonable request, and we responded accordingly.
Tope777 wrote: But hey , if this website is like this then I will just withdraw my membership before I am killed with hate mails.
Read the forums a bit. Look at Pete and my replies to other people and consider the differences between your post and the ones that we bend over backwards to help.
I am surprised you've gone 6 years without finding this place, it's the best developer resource on the web.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
In response to how it took me six years to find this forum, maybe if you took time to look at my profile you will find out that I have been a member for 2 years 7 months and I started using the website and the postings way before then.
I had a lot of respect for people who offer helps and I also do when I can , even though I do not usually post on websites.
Sir if you care to know, I am more than qualified both academically and otherwise (experience and connections)to be doing what I am doing. It just happens that things change very fast in software development and you cant know everything and to get a contract you have to claim to know everything because you know they are just variants of each other or superset of what you know. However, the negative replies I got are really not justified in any way.
Whichever way, one of my friends helped me and I dont like to be abusive to anyone irrespective of what they have done but if you can look me in the eyes and tell me that you've never needed any tips, help whatever in one area of development when going for a contract then I will tell you you are lying.
im sure if I ask you to tell me about developing search engine in Endeca you wont even have a single answer. I did that for a large corporation for a number of years if you care to know.
Next time please do not be prejudicial to people. Ask straight questions and they might be able to tell you where they are coming from .
Thanks
|
|
|
|
|
This is pointless...he obviously sees nothing wrong in asking someone to coach him through an interview.
If you want to know how to land a contract when you don't have explicit experience with a technology the client wants? Tell them the truth and convince them that you'll be able to be proficient on your own dime. And if you don't get it, it wasn't meant to be. If you're as skilled and have as many connections as you claim to have, this should just be one of dozens of opportunities you're looking into.
Like I said, unscrupulous people like you who lie and cheat their way into a contract (yes pretending that you've had experience with WCF when you haven't is lying and cheating) are why it's so difficult for the truly qualified and talented individuals to get a position they deserve.
|
|
|
|
|
I don't claim to be a WPF expert.
I have the following XAML:
<StackPanel Grid.Column="1" Height="Auto" Width="Auto">
<Grid Margin="0,10,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="540" />
<RowDefinition/>
</Grid.RowDefinitions>
<TabControl TabStripPlacement="Top" Margin="0,0,0,10" Height="Auto" Width="Auto" MaxHeight="600" Grid.Row="0">
<TabItem Name="Tab1" Header="Empty Tab">
<src:Designer Height="Auto" MinHeight="500" x:Name="EmptyDesigner"/>
</TabItem>
<TabItem Name="NewTab" Header="..."/>
</TabControl>
<GridSplitter Width="Auto" Height="8" Focusable="True" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Background="Azure" />
<TabControl TabStripPlacement="Top" Margin="0,0,0,10" Height="Auto" Width="Auto" MinHeight="140" MaxHeight="600" Grid.Row="1">
<TabItem Name="TabOut" Header="Output">
<TextBlock Name="TBOutput" Background="Black" Foreground="Gold" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabObjectDump" Header="Object Dump">
<TextBlock Name="TBObjectDump" Background="Black" Foreground="Blue" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabObjectTrace" Header="Object Trace">
<TextBlock Name="TBObjectTrace" Background="Black" Foreground="Red" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabPipelineTrace" Header="Pipeline Trace">
<TextBlock Name="TBPipelineTrace" Background="Black" Foreground="GreenYellow" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabEventTrace" Header="Event Trace">
<TextBlock Name="TBEventTrace" Background="Black" Foreground="LightGray" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabCode" Header="Code">
<TextBlock Name="TBCode" Background="Black" Foreground="Green" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabXAML" Header="XAML">
<TextBlock Name="TBXAML" Background="Black" Foreground="White" Padding="2,2,2,2"></TextBlock>
</TabItem>
<TabItem Name="TabDSL" Header="DSL">
<TextBlock Name="TBDSL" Background="Gray" Foreground="Black" Padding="2,2,2,2"></TextBlock>
</TabItem>
</TabControl>
</Grid>
</StackPanel>
The problem is that the TabControl located in Grid.Row="1" does not automatically resize to fill the bottom of the split. WPF layouts are a little confusing comming from WinForms.
~TheArch
|
|
|
|
|
The outer StackPanel is the problem. Get rid of that and your layout will work.
May want to also loose the MaxHeight="600" on the TabControl.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Thanks, that did the job! The grid was contained in another grid so I had to add Grid.Column="1" to get to show up in the right place.
~TheArch
|
|
|
|
|
Cool. Have a great time with WPF!
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi there,
I want to start silverlight.Where I can find it. Please suggest a link for me so that I can download the same.Codeproject is only one site that I can access...
|
|
|
|
|
|
|
If CodeProject is the only site you can access you're not going to be able to download Silverlight.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Go to the Silverlight Site[^] and click on Get Started[^].
creend wrote: Codeproject is only one site that I can access...
??? Good luck.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I am developing WPF custom controls. I want to know the name of the evnt which gets fired when the user deletes the custom control from the cider. I found "public event RoutedEventHandler Unloaded" event of some help, but it gets fired when both control is deleted from cider & the xaml page is unloaded. I am seraching for an event (event name)which gets fired only when a control is deleted from cider.
Thanks,
Vinod
modified on Thursday, July 2, 2009 11:41 AM
|
|
|
|
|
You can check if the control is in design mode and then run your code.
DesignerProperties.GetIsInDesignMode(new DependencyObject())
Search the web for" is in design mode" Very easy to use.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi Karl,
I want to know which event gets fired when the control is deleted from window in Cider.
How does IsInDesignMode will be helpful in that ?
|
|
|
|
|
Vinod C S wrote: How does IsInDesignMode will be helpful in that ?
It's not.
I'll do some checking and see if I can find the information you need.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Vinod,
Trying to figure out "why" you need your control to be notified when being removed from Cider. Is there some clean up you need? If so, IDisposable may work for you.
Let me know.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi Karl,
Thanks for ur reply.
I checked by implementing IDispose, but I didn't get notification in dispose();.
I found another way of doing this task, its by providing a PrimarySelectionTaskProviderfor the Window class:
internal class FSFWindowTaskProvider : PrimarySelectionTaskProvider {
public FSFWindowTaskProvider() {
}
protected override void Activate(ModelItem item) {
ModelService service = Context.Services.GetService(typeof(ModelService)) as ModelService;
service.ModelChanged += new EventHandler<ModelChangedEventArgs>(service_ModelChanged);
base.Activate(item);
}
private void service_ModelChanged(object sender, ModelChangedEventArgs e) {
IEnumerable<Microsoft.Windows.Design.Model.ModelItem> enumerator = e.ItemsRemoved;
foreach (ModelItem mi in enumerator) {
MessageBox.Show(mi.Properties["Name"].ComputedValue.ToString() + "deleted");
string cntrlName = mi.Properties["Name"].ComputedValue.ToString();
if (string.IsNullOrEmpty(cntrlName)) {
continue;
}
}
}
}
internal class Metadata : IRegisterMetadata {
....
builder.AddCustomAttributes(typeof(myWindow),
new FeatureAttribute(typeof(FSFWindowTaskProvider)));
}
In service_ModelChanged, we will get the notification for control deletion.
|
|
|
|
|
Very glad you got this sorted out.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Vinod,
I got this from my team. Please verify you are doing this:
Make sure your customer also overrides Deactivate and removes the event handler he’s added. A new task provider will be created and activated each time his control gets selected.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Here is another block of code I was sent by a team member.
Something slightly tighter is – I don’t know if they’re writing against the old or new Model, hopefully this should work on both.
private void service_ModelChanged(object sender, ModelChangedEventArgs e) {
foreach (ModelItem mi in = e.ItemsRemoved) {
if (typeof(MyControl).IsAssignableFrom(mi.ItemType)) {
}
}
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi Karl,
thanks for the reply. but I can not check for a particular type of control. there
are any custom controls. I have one doubt , can I track the Ctrl + X event here. I mean
I want to know whether ther the user has pressed Ctrl-X or Delete button. In
e.ItemsRemoved I get the control in both the cases.
thanks,
vinod
|
|
|
|
|
Hello,
I am just a begginer in WPF. My query is written below . please give a solution.
I have two classes named "Student" and "Employee" both derived from a base class named "Person". I want seperate data templates for student and employee. ie. for student i wish to display only name with a text box and for emplyee i want two text boxed with name and salary. I will populate a list by setting the item source as Person objects. now when i click on the list the template corresponding to the class that is "Student" or "Employee" should be displayed in the screen. how can i do this.?
Thanks
Jithesh
|
|
|
|