-
- Checking for a named pipe endpoint without throwing EndpointNotFoundException
by AlexVallat
- 5 Replies
- Last post
by Allan-Nielsen
- Hello, Is it possible to check for an endpoint being available without throwing and catching an EndpointNotFoundException I'm using code from here to do a Single Instance application, but it is very irritating to have an exception thrown at every normal startup. Exceptions should be used for exceptional conditions, not the normal operation of code. The code in question is:
public static b
-
- How come CheckBox Control Template on MSDN is different than WPF Control???
by Neal Hudson
- 2 Replies
- Last post
by Neal Hudson
- Hi, I was looking for the easiest way to make the CheckBox control bigger (it's contained within a data bound listbox so this wasn't as simple as it sounds!), so I went onto MSDN and found the CheckBox contol template here: http://msdn2.microsoft.com/en-us/library/ms752319.aspx The thing is though - when you click this one it forms an X in the box rather than a tickmark. I need the tickmark, does
-
- Transport & Message Work, but not TransportWithMessageCredential
by -=B3N=
- 7 Replies
- Last post
by bmcneill0
- I can get my service to start with security mode 'Transport' or 'Message' under netTcpBinding (but only with the clientCredentialType of 'Windows'), but I can't get 'TransportWithMessageCredential' with 'UserName' (as below). The service fails to start when I try this, and I get the message "The service on local computer started and then stopped. Some services stop automatically if they are
-
- Getting run time error message "The database file has been created earlier version of Sql Server compact."
by Narasa
- 2 Replies
- Last post
by T..C
- Hi,
1)I installed Microsoft Synchronization Services for ADO.NET Orcas Beta1 release and Demo I: Offline Application - SyncAdapterBuilder . I was able to run the application without any problems.
1) I have uninstalled the Microsoft Synchronization Services for ADO.NET Orcas Beta1 release and installed the Microsoft SQL Server Compact 3.5 for Windows Desktop Beta 2. Now when i run the a
-
- Xaml troubles
by CJ1983
- 6 Replies
- Last post
by AlexCr
- Great to be a part of the community.
I'm having a lot of trouble with the implementation of xaml files with vs2005. I've installed everything neccesary to run winfx stuff (the winfx rtc, windows sdk, winfx ctp extensions dec 2005 and vs2005) successfully but am having difficulty getting a xaml file to run with presentationhost.exe.
Here is an example. I write this and
-
- How to use "ObservableCollection<T>" and "INotifyPropertyChanged" correctly in order to enable two way binding ?
by diver182
- 1 Replies
- Last post
by DutchMarcel
- Do I have to make use of the INotifyPropertyChanged interface if I use ObservableCollection
Simple example:
A Country has several train stations, a name and a geographical location.
A Trainstation has several tracks and a name.
A Track has a number.
Code Snippet
public class Country : ObservableCollection<TrainStation> {
private string name;
/
-
- Dummy question: Certificates & Services
by Amadrias
- 6 Replies
- Last post
by Amadrias
- Hi,
I'm quite new on using WCF and coming from a .Net Remoting world.
I found a lot of common design practices that makes it quite easy to understand. However, I have some issues with the security side.
It seems that if I want to use security with my services, I need to "sign" them using certificates. This is fine if you are in a standard client-server application that is gather
-
- Designer Conversion from May 2006 CTP to Orcas March 2007 CTP
by Joern Loettgers
- 2 Replies
- Last post
by Joern Loettgers
- Hello, I am currently working on a project utilizing DLINQ. We are using the designer shipped with the May 2006 CTP of LINQ. With Orcas March 2007 the designer component seems to be changed heavily. Is it possible to convert the designer files of May 2006 CTP to the new format Thx in advance, Jorn
-
- Access Keys in Context Menu
by Eugene Dolinskyy
- 7 Replies
- Last post
by Dr. WPF
- Hello,
Does anybody know how to show access keys for menu items in the context menu in case if the context menu is brought up through the right mouse click
I need these access keys to be shown as soon as user opens context menu.
Thanks,
Eugene
-
- WCF - Renewing a faulted channel in a long running service.
by Kapoochikaya
- 7 Replies
- Last post
by Kapoochikaya
- I am hosting a WCF service using a windows service. If my channel were to fault and be closed, is there a mechanism in WCF which I could utilize to force the listener to create a new channel automatically Any help would be appreciated.
-
- WPF Position a non-modal child window
by shock56
- 2 Replies
- Last post
by shock56
- Hello all, I'm new to WPF and I'm creating a relatively simple interface for a business application. The main form has a treeview on it that contains custom treeviewitems. Each treeviewitem contain a button that, when clicked, launches a non-modal form based on a custom type. I've used some old school techniques of hardcoding positioning to get the child forms positioned properly. I feel like ther
-
- PeerChannel Custom Resolver
by Luke R
- 6 Replies
- Last post
by rachit.rastogi
- Does anyone have a sample for a PeerChannel Custom Resolver that handles dropped connections (ie. the dropped connection is removed from the mesh list)
Any help / samples would be appreciated. Thanks.
-
- TCP commands through WCF
by KiwiDev
- 2 Replies
- Last post
by Kavita Kamani - MSFT
- Hi,
Sorry if this is really straight forward I am just a little confused and a little inexperienced with TCP communications, and WCF for that matter.
I have an existing third party application that accepts commands through TCP (I can use telnet easily to send commands). I would like to use WCF to write an application for sending commands to this application.
I see it is quite easy to comm
-
- 1 GB of Ram ..is it enough?
by Ananda Ganesh
- 2 Replies
- Last post
by Ananda Ganesh
- I have a h.p laptop with a 60 GB hdd and 1 GB ram,are these requirements enough to install and run Orcas March CTP with a decent performance, Case in the installation guide it read .."*Minimum 1 GB of Physical memory" and I dont want to slow down my production system after installing it.
-
- How to add a background image to a button
by Geethanga
- 1 Replies
- Last post
by WPCoder
- I'm using expression blend, to create an UI.
I want to add a background image to a command button, like we do in visual studio.
But just can't figure out how to do it
Can anybody please help...
-
- FindName() not working for TreeViewItems
by William James Wallace
- 2 Replies
- Last post
by William James Wallace
- I am using the TreeView control and Trying to use TreeViewItem.FindName() to locate a child node and it's not working. Here is an example of the code. Is itjust completey wrong to expect it to work this way Works with lists and such...
XAML:
< Window x : Class ="WPFTreeview.Window1"
xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns
-
- Binding to a Dictionary
by WPF - I think I like it
- 2 Replies
- Last post
by WPF - I think I like it
- Hello,
I have a Dictionary<string, string> that I am using as the DataContext of a ListBox. How do I bind to the Key/Values of the Dictionary via markup At the moment, I have:
< ListBox x : Name ="myListBox" Width ="300" Height ="200" Canvas.Top ="100" Canvas.Left ="20" ItemsSource ="{ Binding }" BorderThic
-
- Dependency Property - Property does not exist in Xml namspace
by Casiraghi
- 1 Replies
- Last post
by Casiraghi
- Hi all, I wrote a helpprovider which gets the helptext from a customer dependency property. I works great. But if I but the HelpProvider-Class in a separate dll to reuse it in other applications, I've got the error "Property HelpProvider.HelpString does not exist in Xml namspace clr-namespace:Help" by compiling the solution. The accessors of Class and Dependency Properties are public. be
-
- Can 2 hosts communicate?
by imdp51
- 4 Replies
- Last post
by imdp51
- Hi
Can this scenario is possible:
1. I have WCF win form service that hosted in some machine. (my machine, WIN XP Pro SP2)
2. My company has WCF service that hosted on company's server (Win 2003) on IIS with integrated windows security.
3. The 2 services are on the same domain controller.
Can they communicate How I'm desperate and I have to make it work. Please give me a clue.
-
- SVCUTIL gives an error for generating proxy for the SSL endpoint.
by Pankaj11
- 9 Replies
- Last post
by Brian McNamara - MSFT
- Hi Community,
I am getting an error for generating proxy for endpoint.
Using this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=520233&SiteID=1 I configured the svcutil.exe.config file. But still I get the error. I have the latest WCF bits.
Any help or clue is appericiated.
*********************** Start of Error **************************************************
-
- How do I access XMAL User Control properties from the main window's code behind?
by Collinccc
- 2 Replies
- Last post
by Collinccc
- I'm trying to get and set properties from my XMAL User Control from the window that is hosting the control but can't figure it out. Before WPF I would just call the FindControl method to get a reference to the usercontrol, but don't have that option anymore. Can someone please assist Thanks, C
-
- Where can I get svctraceviewer?
by Kitty Cute
- 2 Replies
- Last post
by KjellSJ
- Hi All,
I want to see message log from svconfigeditor using svctraceviewer and I have been searching for svctraceviewer in my computer, but I did't find it.
I have install :
.Net Framework 3.0
Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP
Did I miss some installation
Thanks.
-
- WCF hosted in a Windows service
by Alex Farber
- 6 Replies
- Last post
by the_magic_juan
- I have WCF server hosted in a Windows service, and UI client talking with it. If service is registered in user account (ServiceAccount.User), client can talk with it. If service is registered in system account(ServiceAccount.LocalSystem), client call fails with authentiation exception. How is it possible to talk with LocalSystem service
-
- How to use a static resource multiple times in a grid but within different cells?
by lpx
- 3 Replies
- Last post
by lee d
- Hi, I have defined the following resource: <Grid.Resources> <Border x:Key="borderTemplate" Grid.Row="0" Grid.Column="0" Background="{x:Null}" BorderBrush="#FF000000" BorderThickness="2,2,2,2" /> </Grid.Resources> Now i want to use it several times in a grid but in different cells...however, this syntax doesnt perm
-
- Hiding the try/close/catch/abort WCF client pattern
by Michael_Giagnocavo
- 4 Replies
- Last post
by Michael_Giagnocavo
- As from this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=855018&SiteID=1 The right pattern to using a client channel is like this: Client c = new Client(); // Or creation via factory try { c.Foo(); c.Close(); } catch { c.Abort(); throw; } This is really annoying to have sprinkled throughout all your code. So, I wrote a helper function:
public static void UseS