-
- Lambda expressions with statement block body will not compile
by RaimondB
- 11 Replies
- Last post
by Aaron Erickson
- According to the C# specs this should work:
Func < int , int > f = x => { Console .WriteLine(x); return x;} ;
However I get the compilation error "Invalid expression term '{'"
What am I doing wrong here
-
- FolderBrowserDialog in WPF?
by Frances83
- 2 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hi all, is there a FolderBrowserDialog in WPF or do I need to use the one in System.Windows.Forms Thanks, Frances
-
- IDE themes
by Svetloyar
- 1 Replies
- Last post
by RCXDude
- So what about IDE themes in Orcas (like in Office 2007) I think, it will be very useful thing.
-
- Flaws in Linq syntaxis?
by Frans Bouma - C&#35; M
- 3 Replies
- Last post
by Julie Lerman
- I really want the ADO.NET vNext team to comment on these 2 things. These have been bothering me for some time now.
1) the 'where is what executed' problem. See:
http://www.thedatafarm.com/blog/2007/02/13/TheShadowySideOfLINQToSQL.aspx
It contains a Linq query which actually doesn't result in a single
query but in a query which results are evaluated in-memory, which isn't
expected at all,
-
- Delivering XPS documents from WCF Service
by Sam Jost
- 5 Replies
- Last post
by Dave Cliffe - MSFT
- Has anyone tried to return an XPS document from a WCF service as return value
So far the only way to achieve this I found was to store the XPS to a tmp file, load the tmp file into a byte[] array and use this as return value. The client then stores this byte[] as tmp file, and loads this as XpsDocument.
Only real problem (apart from being clumsy): xps files tend to be large, larger t
-
- question about PrintVisual?
by chongqing
- 7 Replies
- Last post
by JamesChambers-rvng
- Hi,
I am using PrintVisual() to print out a xaml visual element. The problem I have is how to show a busy signal (for example an animation) to the end user while the xaml element is printed.
I try to start a busy animation right before calling PrintVisual but it didn't work. It seems PrintVisual is blocking all painting event.
Any suggestion to work around the problem
thanks
chong
-
- about object pool on wcf
by alphais
- 2 Replies
- Last post
by Oren Fisher - MSFT
- hello,
on msdn there is an article about object pool,using wcf extention,we can do more,but there is too much service in my project ,i donn't want to write repeatedly,does wcf have built-in support for object pool
I need such object pool,
1.it can config min and max object pool
2.it can share object when client require more then max object pool
3.after fastigium on 9:00am
-
- Setting endpoint address correctly when hosting in IIS 6.0
by Rushi Desai
- 9 Replies
- Last post
by Bob Wo
- I have a sample service which I'm trying to host in IIS 6.0 (It's a secure token service for CardSpace to be specific). I created a mex endpoint in web.config as follows:
<endpoint address=" mex " binding="mexHttpBinding" contract="IMetadataExchange" />
My service resides in ~/services/TokenService.svc on a virtual host https://www.my
-
- Clone an Object
by Dvlnblk
- 7 Replies
- Last post
by WPCoder
- If I have a media player how can I clone it to make an exact copy of it
Thanks
-
- WCF and Generics
by Alex Boesel
- 5 Replies
- Last post
by Mohammad Makarechian - MSFT
- Hi all,
I'm currently experimenting with using WCF and .NET generics together, in an attempt to have a service that exposes the following service contract:
[ServiceContract] public interface IGenericServer { [OperationContract] void MakeRequest<IService>(); }
Is this possible Upon trying my driver for this service the first time, I received a System.NotSupportedException--"Me
-
- Overheads
by Elvijs
- 1 Replies
- Last post
by Matt Warren - MSFT
- Do I lose much in terms of speed if I use LINQ instead of say DataSets and DataViews
-
- Data Contract object arrive at Service as Null.
by David T558413
- 1 Replies
- Last post
by David T
- What I want: The ability for the client to send a complex type of strings, enumerated types, and integers(and if I'm really nuts, an array) to the service and it arrives at service side with the values assigned from client.
The problem: When sending the DataContract object from client to service, it always arrives with null values .
I have a successful WCF Service and Client in h
-
- hiding treeviewitem
by Matt237
- 4 Replies
- Last post
by Marlon Grech
- I am trying to hide treeviewitems in a treeview based on binded value,
HierarchicalDataTemplate is set to a collection Itemlist
class Item
{
string name;
bool visible;
observablecollection<Item> SubItems;
}
Now i want to hide the treeviewitem if visibility is false.
Please help
Matt
-
- SvcUtil from WSDL does not generate XmlAnyElementAttribute for MessageBodyMemberAttribute members
by natediggity
- 4 Replies
- Last post
by natediggity
- I'm trying to create a service similar to WS-Transfer. My WSDL contains one operation, Get, that is defined to return anything. However, the code generated by svcutil causes the serialized messages to be wrapped by a 'GetResponseBody' element. For example:
Code Block
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XML
-
- Walk the Visual Tree?
by Dvlnblk
- 1 Replies
- Last post
by WPCoder
- Is it possible to walk the VisualTree from a UserControl Class to find a UI Element Specifically, I want to find a Canvas in Window1 and add a child to it. Thanks
-
- Transport & Message Work, but not TransportWithMessageCredential
by -&#61;B3N&#61;
- 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
-
- preventing listbox selection change
by hanuman523
- 7 Replies
- Last post
by Josh Smith
- I know you can programatically prevent user input in a textbox by hooking the KeyDown event and setting e.handled to true. Is there a way to do this with a listbox Depending on the state of the page I want to prevent the listbox from having the selectedindex changed. This would apply to both mouse and keyboard input.
-
- selection change in wpf
by nrb
- 6 Replies
- Last post
by Wei Zhou - MSFT
- Hi
I¡¯m trying to convert some code written in .net 2.0 to WPF
Is there something equaling in WPF to the .net 2.0 combo box selectionChangeCommitted event
Meaning that I want the event to be fired only after a user change the item in the combo and not when it¡¯s done by code
Thanks
-
- Really NEED Suggestions/Ideas this VS IDE issue; running out of things to try
by Eric Litovsky
- 9 Replies
- Last post
by drasko
- When I try to open a designer to edit a form or dataset in the Visual Studio IDE, I keep getting the following error:
The service Microsoft.VisualStudio.Shell.Interop.IselectionContainer already esists in the service container. Parameter name: serviceType
This is on a Vista 32 box which had a previous Orcas (March CTP) version installed: I did a full uninstall as per the instructions in the
-
- wsHttpBinding IIS Integrated Windows Authentication set up not working
by s441
- 9 Replies
- Last post
by David Turner
- My WCF sercive is hosted on a Windows 2003 Server through IIS. I hvae installed a certificate on the server. The directory security for my virtual directory requires SSL (128 bit encryption not required), ignores certificates and uses 'Integrated Windows Authentication'
Here is my web.config
< xml version="1.0" ><configuration xmlns=" http://schemas.microsoft.com/.Net
-
- Simple LINQ join
by Ed Tijgen
- 6 Replies
- Last post
by Kati Iceva - MSFT
- Hi All, Please consider the following database model Boy (table name) pk_BoyId (field) Name (field) BoyGirl (table name) fk_BoyId (field) fk_GirlId (field) Girl (table name) pk_Girl (field) Name (field) When using the ADO.NET Entity Framework model wizard on this database model the result is 2 entities Boy (Entity) pk_BoyId (Member) Name (Member) Girl (navigation property) Girl (Entity) pk_GirlI
-
- Modal Window Problem
by Cornel Gav
- 5 Replies
- Last post
by Cornel Gav
- I have 2 windows. I open the second window from the first window with ShowDialog(). The problem is that when I minimize the first window (the second one is not closed yet) and after that I maximize the first window.., the second window disappeared and the first window is not accessible. I have to search it with Alt-Tab. I think that I miss something. Thanks
-
- Debug a WCF service?
by KevinBurton
- 9 Replies
- Last post
by pallz
- If I have a IIS hosted WCF service how and what do I attach to in order to debug the service In general is there a way to tell the name of the WCF service that is running so that it can be attached to and debugged.
Thank you.
-
- UserControl call window method
by bes7252
- 4 Replies
- Last post
by ivolved_Mike_Brown
- I need a UserControl to call a method on its parent window. What are my options Can I bind a method on the usercontrol to the parent Or is there some other way
Brian
-
- Why can't I create an overload function?
by rcook349
- 3 Replies
- Last post
by Brian McNamara - MSFT
- When I create an overloaded function in my service project, it won't generate the proxy class. It seems to do it (I don't get any errors) but then the class just isn't created. What's up with that
Am I now allows to create two functions by the same name in my service project
Thanks,
Ron