-
- No Intellisense in XAML?
by Tony B
- 6 Replies
- Last post
by Mark Boulter
- I just installed Orcas (beta 1) and I have no intellisense in XAML files (but I do in .cs files).
The install is on WinXP SP2 with VS 2005 installed as well.
I repaired the Orcas install just in case but still no luck.
I create a new WPF Application project, move the cursor to just inside the <Grid> tag in the Window1.xaml files created by default, and type "<". I s
-
- Orcas June CTP - corrupt archive
by Dimitar Dobrev
- 3 Replies
- Last post
by Karen Albrecht - MSFT
- Hello. Today I downloaded the Visual Studio Orcas June CTP package, but when I started the file (VsSDKJune2007.exe), I got an error: "Extaction failed - File is corrupt". I'd like to ask what is the solution for this and if none (that is, the archive is corrupt), when will it be replaced with a valid one Some feedback from somebody who installed the CTP successfully would also be valuabl
-
- Service won't work across machine boundaries
by kaburke
- 2 Replies
- Last post
by kaburke
- I have implemented a very simple service. When the client and server are both running on the same machine, all is well. However, once the client is installed on another machine it stops functioning. The only exception I am able to see is:
CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is
-
- Proposed new property syntax for C# 3
by Joe Albahari
- 0 Replies
- Last post
by Joe Albahari
- I'd like to suggest a simple new property declaration syntax for C# 3 that would virtually eliminate property clutter while being highly flexible. The syntax would consist merely of a type, identifier and then an expression in braces. For example: int X { _x } The compiler would translate this to: int X { get { return _x.Value; } set { _x.Value = value; } } In order to compile, _x would have
-
- Streaming data to client questions
by Gert-Jan van der Kamp
- 5 Replies
- Last post
by Gert-Jan van der Kamp
- Hi all,
I have a model that does calculations. I want to put that model on a server and then connect to it with a client. Typically the clinet will ask for some 200 numbers max to diplay in a grid. Some of these answers will come quickly, but some could take a couple of seconds to calculate on the server.
Now i dont want to wait until the server has come up with the all the aswers, i
-
- IErrorHandler and FaultException<T>
by Kim Johnson
- 3 Replies
- Last post
by venkateshwar rao gundlapally
- I have a service using an IErrorHandler from which I'd like to return typed FaultExceptions. The ProvideFault implementation does something similar to the following:
FaultException<GreetingFault> fe = new FaultException<GreetingFault>(new GreetingFault(error.Message)); MessageFault fault = fe.CreateMessageFault(); msg = Message.CreateMessage(version, fault, " http://m
-
- wshttp endpoint with message level security and custom password validator
by miantosca
- 6 Replies
- Last post
by Allan-Nielsen
- I am trying ot get a wcf service running with message level security and username/pw client credentials. When I try to make a call on my proxy it throws an exception on the client: Inner Exception: "The request for security token has invalid or malformed elements." Outer: "Secure channel cannot be opened because security negotiation with the remote endpoint has failed. This may be
-
- NetPeerTcpBinding with PNRP Resolver - Where does Teredo fit in?
by s441
- 4 Replies
- Last post
by s441
- I have recently started looked at NetPeerTcpBinding for a P2P application. I tested my application on a Vista machine using Visual Studio 2008 Beta2. I would create multiple instances of my application to simulate peers joining/leaving the mesh.
Here's what I noticed:
The first few instances of the application would start up just fine. I was able to Open the ServiceHost instance a
-
- Accessing X509 certificates through WCF Service
by Jithendrian
- 2 Replies
- Last post
by Allan-Nielsen
- Hi, I have a WCF application which needs a Certificate to X509 to execute. I Login as User1 and istall the certificate in Local Machine Account. When i run my application it executes without any error. Now i switch as user2 and then run the application. It throws an error stating the Certificate's Private Key cannot be accessed. So i again went to my Computer store removed the certificate installe
-
- SQL Server 2008 HierarchyID and LINQ to SQL
by Anders Borum
- 5 Replies
- Last post
by Anders Borum
- I was wondering whether LINQ to SQL supports the new HierarchyID datatype in SQL Server 2008
I bet there's a lot of developers out there is looking forward to replace their adjancency lists (parent / childs) and nested set models with the new hierarchical identifier.
Thanks in advance.
-
- Native WPF
by uj.
- 14 Replies
- Last post
by Dr. WPF
- I was planning a C++/CLI application that would be predominantely standard native C++ but with the GUI written using WPF. One problem has been to find documentation and code examples on how to use WPF from C++/CLI, but this can be overcome and initial testing shows that this approach works perfectly fine (C++/CLI really is an amazing engineering achievement).
Still I really would like to wr
-
- Drag and drop in treeview.
by McLinks
- 1 Replies
- Last post
by lee d
- I have a problem getting a treeview to behave like i want it to. I'll try to explain the problem; I scroll down the treeview enough so that the top most leaf isn't visible. If I then drag one of the leafs and move it to the top of the control it won't scroll up. You can find the same (working) behavior in windows explorer. Is this a limitation to the treeview or have i done something wrong
-
- FaultException<>, FaultReason, and FaultReasonText usage question
by bderemer
- 2 Replies
- Last post
by bderemer
- I'm trying to figure out the simplest way to provide our own [localized] custom SOAP fault across the service boundary. I have this working using the generic FaultException class and our own Fault class. I would like to leverage the FaultReason and set this to the localized, user-friendly message - as opposed to the original exception message.
My problem is I'm not sure the best approach for d
-
- Operation cancelled by user
by troy123
- 8 Replies
- Last post
by Zlatko Michailov - MSFT
- Hello Guys,
I am currently experienced an sql error as following: operation cancelled by user.
I don't know why I got this error. Also where this error comes from. Is it from ADO.NET or SQL Server 2000.
Please let me know if you have any ideas about that.
Thanks in advanced
-
- Can WPF do real time video and voice?
by Yiyu
- 1 Replies
- Last post
by Eddie Li
- Hi, I am a newbie here. From what I read about WPF it's a powerful tool to embed video, voice and other multimedias on a webpage. But can I program the real time things easily using WPF For example: 1) I hook a webcam to the computer and there's a window on my homepage automatically shows my action real time. 2) Also it broadcasts what I am saying. 3) An area my homepage shows my powerpoint presen
-
- XMLDataProvider binding
by MattyBoy4444
- 4 Replies
- Last post
by lilR
- I can bind a TextBox Text property to a XML file using XMLDataProvider.
Question: How do you get TwoWay binding with an XML file Or, how would I resave the file
-
- 404 errors with HTTP POST using WebInvoke on Orcas Beta 2
by weblivz
- 14 Replies
- Last post
by Jitesh
- I have two methods in my .svc file hosted in IIS.
One uses WebGet and works great - the other using WebInvoke with Method="POST" and when i create a simple test client to query it, i get a 404.
Does anyone know what may be going on here I can click on the URL it is going to i the POST and i get "There are no endpoints" (due to the fact there is no default GET URIT
-
- LINQ to SQL vs. ADO.NET Entity Framework
by Kevin Hoffman
- 6 Replies
- Last post
by Beryl Wilson
- I know this has been asked before, but the answers I've read still haven't cleared it up for me. People are asking me why they should wait around for an updated to ADO.NET Entity Framework (not currently linked to the Orcas builds) or if they should use LINQ to SQL, which _is_ part of Orcas.
Can someone clarify, hopefully in a way that can be repeated to others, what exactly the benefit of
-
- Unable to cast object of type x to type x
by filmlover44
- 11 Replies
- Last post
by filmlover44
- Ok, what am I doing wrong object o = TopGrid.InputHitTest(hitPoint); if (o.GetType().Name == "ButtonChrome") ButtonChrome b = new ButtonChrome(); Causes this error: "Unable to cast object of type 'Microsoft.Windows.Themes.ButtonChrome' to type 'Microsoft.Windows.Themes.ButtonChrome'."
-
- Ordering Behaviors
by james_h
- 8 Replies
- Last post
by Brian McNamara - MSFT
- In WSE 3, the filter ordering was forward in the request such as position 1,2,3 and backwards in the response such as position 3,2,1. How could we get this ordering to work in WCF dealing with custom behaviors
Thanks,
James
-
- Problem with decimal fields and Update/Delete
by TullFan
- 2 Replies
- Last post
by Jon Kruger
- I am using LINQ with an table that has 2 decimal fields configured as decimal(8,6) and decimal(9,6).
When I add an object and .SubmitChanges, the data (all 6 decimal places) makes it into the generated SQL just fine.
When I modify, or delete an object and .SubmitChanges, LINQ only uses 4 decimal places and identifies the parameters as decimal(29,4) and truncates the last 2 digits - t
-
- Garbage Collection. With TreeView, ListBox, etc
by Fedz
- 9 Replies
- Last post
by Dr. WPF
- I am building an application that uses Tree Views and List Boxes extensively.
The problem is that I need to load data dynamically from a data source, and I use the Clear() function often in order to delete all the children of a node (when its a Tree View) or all the items in the List Box.
My problem is that the application starts eating more and more memory with time. The items are neve
-
- channel.Open(openTimeout) and <reliableSession enabled="true"/>
by John Fisher
- 4 Replies
- Last post
by John Fisher
- Hi,
I'm working on a simple test application that will allow the client to near-instantly know when the service is available, and to near-instantly know when the service becomes unavailable. The end result of the test application would be that the connected indicator on the client app will turn on and off as the service process is started and stopped, without any significant delays (less than 2
-
- Corrupt file problem while installing Orcas
by Manes
- 6 Replies
- Last post
by Manes
- I downloaded all 8 files from http://www.microsoft.com/downloads/details.aspx FamilyID=5d9c6b2d-439c-4ec2-8e24-b7d9ff6a2ab2&DisplayLang=en to install Orcas Beta 1 but while running the extractor I got the following error message: Extracting msdn\Program Files\MSDN\MSDN9.0\1033\cpref.hxs CRC failed in msdn\Program Files\MSDN\MSDN9.0\1033\cpref.hxs Unexpected end of archive and a dialog that sai
-
- Simple LINQ query help.
by KevinBurton
- 5 Replies
- Last post
by Keith Farmer
- If I can get an answer to this then it will do two things. One, I will know how to return a value from the database rather than a query. And two, I will know how to return the results from a count and/or 'case' statement. Here is the stored procedure that I am trying to convert to a LINQ query:
Code Block
SELECT (CASE WHEN (SELECT COUNT(*) FROM IV00104 WHERE ITEMNMBR = @Sku) &g