-
- How do i data bind to IEnumerable<>?
by JDPeckham
- 3 Replies
- Last post
by Drew Marsh
- i want to set IEnumerable as my object datasource for every control in my application (something i wish wpf would do automatically)
how do i go about this generically so that i can bind any type of ienumerable to it
-
- Samples For Tracing
by Past
- 2 Replies
- Last post
by David So - MSFT
- Hello Everyone,
Can anybody point me to any webcasts or samples for end to end tracing in WCF including activity tracing and stuff.
Thanks!!
-
- ADO.Net and databinding to a listbox
by Ted12893
- 8 Replies
- Last post
by Ted
- If I databind an ado.net datatable to a listbox, the content of every listboxitem is a DataRowView, which is fine I guess. But what's the easiest solution to find the matching ListBoxItem if I have a normal typed datarow
I wanted to use the ListBox's ItemContainerGenerator.ContainerFromItem(), but this doesn't work as the listboxitems' content aren't the datarows but instead datarowviews.
Ri
-
- VS 2008 TFS client with VS 2005 TFS server?
by Brian Berns
- 2 Replies
- Last post
by Grant_Holliday
- We have an existing VS 2005 TFS project. I would like to beta test the new VS 2008 TFS client against our existing TFS server. Is this possible without upgrading the server Thanks.
-- Brian
-
- Sync Services for Mobile Application
by Tek_Tim
- 11 Replies
- Last post
by tech_tantra
- Hi, I am creating windows mobile application for pocket PCs and would like to use ADO.NET sync services to synchronize data with SQL server 2005. Users of this application will always be in a connected state when synchronizing data. Is it possible to write a web service that makes use of sync services to synchronize data between my windows mobile application and SQL server 2005. Thanks Apurva
-
- Inherited List class as DataMember
by Andreas H&#229;kansson
- 3 Replies
- Last post
by Andreas Hakansson
- Hi Im trying out WCF for the first time and have hit a small snag. In my project I have a class called Passenger which simplified look like this <DataContract> _ Public Class Passenger <DebuggerBrowsable(DebuggerBrowsableState.Never)> _ Protected mAge As Integer = 0 <DataMember()> _ Public Property Age() As Integer <DebuggerStepThrough()> _ Get Return
-
- Client authentication problems, NTLM
by Uffe R&#38;&#3
- 14 Replies
- Last post
by Uffe Rønne
- Hi
Hope somebody can me with this. Have tried everything by now.
I have created a wcf service which I'm trying to access with my client. I get the following message:
The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was 'Negotiate,NTLM'. The remote server returned an error: (401) Unathorized.
I
-
- LINQ bug - just me?
by HowardRichards
- 14 Replies
- Last post
by HowardRichards
- Can anyone validate/refute this bug I found in beta2 https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=289615 If you define a data shape -- sorry LoadOption for more than one level, the child tables are not loaded.. e.g. in Northwind you say load all Orders for a Customer also load all OrderDetails for an Order. So if you selected say, ten customers using LINQ you
-
- Transfer of a CultureInfo Object fails
by Alois
- 1 Replies
- Last post
by Tomasz Janczuk - MSFT
- Hi,
is there a way to transfer a CultureInfo object reliable via WCF I have got deserialization errors when the target machine has other culture settings than the sending machine which caused some cryptic: GregorianCalender type could not be deseralized problem.
I have looked into this and found that there are many calendar types defined which could be part of the CultureInfo object so t
-
- WPF - XMAL Browser based application - Publishing
by Shiva Adabala
- 1 Replies
- Last post
by Laurent Bugnion
- Hi,
I am using .NET 3.0 (WPF, XMAL Browser based application .xbap) to create a browser based application. At the time of publishing the application, it is throwing an error " Property Install and HostInBrowser should not be both set to true ". If any body is having idea, please help me.
Thanks in Advance...
Shiva Adabala.
-
- "let" keyword query syntax vs lamba syntax.
by James Miles
- 6 Replies
- Last post
by roundand
- I like the "let" keyword. It fits in well with the Query Syntax. What I don't quite understand is how its converted to Lamba syntax (or if it can be). Could somebody please convert this query to Lamba syntax
var query = from q in Data .Quotes
where q. ID == quoteID
let latestQuote = q.QuoteVersions.OrderByDescending(qv => qv.VersionNumber).First()
select new QuoteIn
-
- SQL Server 2005 Compact Edition and DLINQ
by JaysonGo
- 4 Replies
- Last post
by JaysonGo
- Will DLINQ, and DataContext object support a SQL Server 2005 CE database Ever
I know with the March 07 CTP that it does not support it, as I would pass a long path to my .sdf file and it would break because the Data Source is too long...
I also noticed that the Connection property of the DataContext was instanced as a SqlClientConnection... but I guess the Connection is actually an IDbConnec
-
- Iterating Images With Build Action : Resource
by karl140.6
- 5 Replies
- Last post
by karl140.6
- Please forgive me for asking a question that others have asked, but I just can't get anything to work.
I have 50 small .png files that I added to my WPF application as Build Action : Resources. I used VS 2005, Solution Explorer and simply added an existing item.
I can access all my images using the Source property on my image controls.
I need to iterate through all of these im
-
- Deriving from DataTemplate - Exception when used in XAML
by _Marcus_
- 9 Replies
- Last post
by _Marcus_
- I'm having problems with a scenario where I need to derive from DataTemplate, in order to add a property ( needed by my OM ). The problem occurs when trying to use the derived class in XAML (works "fine" when creating the template in C# ). Normally, using a DataTemplate in XAML would be (which works fine):
Code Snippet
<Button Content="foo">
<Button.Co
-
- Find the 3d object center
by joserc85
- 9 Replies
- Last post
by joserc85
- Hi. I need to find the center to find the center of the obejct of one of the obects that i have in my viewport, this to make a rotate tranform, but i need to have a axis vector, so in need to find the center of the obejct. I alread can select and move the obejcts around the viewport, so if some can help me....
-
- XAML: ControlTemplate Storyboard targetting a Transform applied by Style
by einaros
- 3 Replies
- Last post
by einaros
- Given the following XAML, containing a control style / template and a button:
Code Snippet
<Window.Resources> <Style TargetType="Button"> <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/> <Setter Property="RenderTransform"> <Setter.Value> <TransformGroup> <RotateTransfo
-
- WPF User control In Web Page
by Lawrence 007
- 1 Replies
- Last post
by Benny Tops
- Hi,
I was wondering if I could create a button in WPF (Expression Blend WPF usercontrol) and then add that button to my ASP Web page
If I can How and is there tutorials on that
Thanks
-
- Doesn't work on IIS ?
by Jarod.Net
- 7 Replies
- Last post
by Ronald Ricardo Ramirez Moran
- Hi !
I've application that works OK on VS webserver but when I deploy it to my local IIS it gives me this exception:
Server Error in '/wcf' Application.
-
- Need to create a Xps file from several existing FlowDocuments
by CarlosJC
- 5 Replies
- Last post
by JoeM11
- Hi, i'm working in the API for my company products and i need to create the API in .Xps format. Right now i'm generating all the help files as FlowDocuments but what I need is compact all those FlowDocuments in a single .xps file. Soo please if you had any ideas please let me know.
-
- Recommended books on WCF
by karl_otto
- 5 Replies
- Last post
by karl_otto
- I have recently read Microsoft Windows Communication Foundation Hands on (Sams) by Craig McMurtry, Marc Mercuri and Nigel Watling. Unfortunately, this book documents WCF as it is in the beta edition. Some of the examples in the book is therefore not working as they should, since .NET 3.0 now is released. I have found updates on the examples after the CTP update. But there are still differences. So
-
- Associate Values/Objects With Listbox Items
by Greg McPherran
- 2 Replies
- Last post
by Coder2048
- Hi,
What are good ways to associate values or objects with a ListBox item For example, specify a different integer value for each different item that can be selected.
Is it possible to associate (e.g. databind) with a C# enum such that in C# code (when using the selected item value) a switch-case could be done on an enum value based on the selected item
Any other tips on assoc
-
- SubmitChanges() Method
by Ozgur Aytekin
- 4 Replies
- Last post
by Ozgur Aytekin
- Dear NG,
I'm using the following code, to change the Name and ModifiedDate fields...
After calling the first SubmitChanges(), the Database is updated with correct Name and ModifiedDate values. But, after calling the second SubmitChanges() Methode my db (DataContext) is firing an exception "Row not found or changed".
Can anyone help me please Is it not possible to upd
-
- Teredo connection refused...
by Gerald Gibson
- 1 Replies
- Last post
by Gerald Gibson
- I have been trying to get a simple C#/IPv6/Teredo/WCF app working. There is very little info on this on the Internet that I can find. Teredo is turned on and is pingable and I can even get some simple example apps working that use only IPv6 (::1) but not with a Teredo address.. I keep getting the error:
Unhandled Exception: System.ServiceModel.EndpointNotFoundException: Could not connect t
-
- wcf netmsmqbinding
by db042188
- 13 Replies
- Last post
by Sorin Alexander - MSFT
- I'm hoping someone knows of the usual suspects that can cause a private transactional msmq queue defined thru mmc suddenly not to get written to by a wcf client...my client config looks like...things were great until i switched to msmq from various http bindings...i'm running with ms windows server 2003 sp2...
< xml version = " 1.0 " encoding = " utf-8 " >
-
- Best architecture for mobile application.
by vksriSridhar
- 2 Replies
- Last post
by vksriSridhar
- Hi,
Which is the best architecture and design to develop an mobile application.
Thanks,
Sridhar.