-
- 600ms for a NetTcp-Call. WCF Performance...where are you ?
by masom1773
- 3 Replies
- Last post
by BenK
- Hi, I'm currently developing a WcfService for internal use and trying to get some impresseions about the overall performance. The Architecture is real 3-Tier. Waht means that Desktopclients call a dedicated WcfService via netTcp. The Service itself communicates with a higend Sql 2005 database cluster by stored procedures. This ist an extract of the main configuration parameters: <system.servic
-
- Resources, Templates and Styles
by Douglas Stockwell
- 5 Replies
- Last post
by djs
- I think there must be some fundamental that I'm not understanding correctly. Why are Style Resources with an explicit TargetType key not utilised inside DataTemplates
This does not seem intuitive to me as DataTemplates with an explicit DataType key are utilised.
See the following example: < Window
xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation "
xmlns:x = " h
-
- Drag and drop a file into a xbap browser application accross a network?
by sebastianpatten
- 0 Replies
- Last post
by sebastianpatten
- I have managed to create a browser window with an xbap in, that I can drag a .CSV file into and it reads + processes it. However how can I do this accross a network Im hoping the DataObject holding file information has some stream details in there Is what I am trying to achieve doable How can I get hold of a stream from this object (if there is any). Many thanks!
-
- WPF Composite and Custom Contols
by Greg McPherran
- 5 Replies
- Last post
by Greg McPherran
- Can WPF composite controls be created using XAML and C# in a separate assembly/DLL as can be done for Windows Forms controls Any tips Thank You.
-
- How to express this simple self referencing query?
by Henrik Dahl
- 2 Replies
- Last post
by Michael Pizzo - MSFT
- Hello!
I try to do this query:
from d in oldDepartments where d.Branch == oldBranch && d.Department2 == d select d;
Unfortunately the subexpression d.Department2 == d is claimed to be bad as the right hand side is not constant. How to express this simple self referencing query
Best regards,
Henrik Dahl
-
- How to handle element prefixes in LINQ to XML ?
by ScipBe
- 3 Replies
- Last post
by Keith Farmer
- I would like to query the data of OneNote. The XML hierarchy looks like :
Code Block
<one:Notebooks> <one:Notebook name="" nickname="" ID="" path="" lastModifiedTime="" color=""> </one:Notebook> <one:UnfiledNotes ID=""> <one:Section name="Unfiled Notes" ID=""
-
- Data Binding to a DataRecord? (DbDataRecord)
by Shawn Wildermuth - MVP &am
- 4 Replies
- Last post
by Paul Stovell
- I am trying to bind to a DbDataRecord and it just doesn't seem to work. It supports ICustomTypeInfo so it should work. Does anyone have a good sample of this working.
(Just for the record, I am not using a DataReader, but a different API that returns disconnected DbDataRecords. Just to cut short the "Why don't you use a DataSet" question!)
TIA
-
- Moving a control on a Canvas at run time
by LokiDBA
- 6 Replies
- Last post
by Balekai
- Hi,
I'm trying to produce a simple designer in Xaml, for a test app I've produced the following Xaml:
< Window x:Class = " xamlWindowsApp.frmDesigner " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " xamlWindowsApp " Height = " 450 " Width =
-
- How to apply behavior configuration section in app.config/web.config while coding
by zhihao
- 3 Replies
- Last post
by Brian McNamara - MSFT
- Hi All: I will create a ServiceHost, the problem is how to apply "returnFaults" behavior section The configuraiotn section: <behaviors> <serviceBehaviors> <behavior name="returnFaults"> <serviceMetadata httpGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="true"> </behavior> <serv
-
- Publish error
by johnvarney
- 4 Replies
- Last post
by johnvarney
- I am trying to specify that Publish requires .NET 3.0 as a prerequisite but get an error compiling:
Error 77 No 'PublicKey' or 'Hash' attribute specified for file 'NETFX30\Dotnetfx3_x64.exe' in item '.NET Framework 3.0'.
I understand that publish was not allowed for the CTP's but I thought that was resolved now the framework is released.
Thanks
John
-
- Event for Menu dropdown in XAML
by RajuATP
- 2 Replies
- Last post
by Dr. WPF
- What is the Event that fires the menu drop down.
for example i have menu something like
File
New
Open
Exit.
when user clicks on "File" menu i want to check some validations to enable/disable the menu items
if any one has idea then let me know
Thank You
-
- Fatal Execution Engine Error
by Eric Wellnitz
- 14 Replies
- Last post
by turczytj
- Ever since the Beta II CTP, we have been getting intermitent "Fatal Execution Engine Error"s when an IIS hosted service receives its first request. This seems most common after we modify the service's code and dont issue an iisreset before running the client.
The error is occuring on all of our development machines (XP IIS 5.1) and our development servers (Server 2k3 IIS6).
Has an
-
- Is there an answer that is not "wait for version 3.5"?
by TrevorW
- 14 Replies
- Last post
by Amit
- I am writing WCF services that involves duplex contracts, PerSession mode, reliable messaging, and requires UserName/Password validation.
The poblem is that reliable messaging is unable to reconize a faulted proxy due to a rejected authentication and keeps retrying until the timeout period. If I lower the timeout period, then the reliable messaging will not keep retrying for the correct des
-
- Strange Lines in animated Images (Vertical Syncing issue)
by Jonathan.Peppers
- 6 Replies
- Last post
by Jonathan.Peppers
- I have moving transparent PNG images in my application.
When moving them slowly, strange lines show up over the images. It looks like half of the image is lagging behing the upper half--almost like my monitor has a crappy refresh rate or something.
Is this normal Is there a way to fix it
My machine is Tier 2 and WPF perf reports it as being hardware rendered. I'm running Windo
-
- GridView
by Josh_G
- 8 Replies
- Last post
by Frances83
- How do you center align a GridView column
We have tried the following:
Code Snippet
< DataTemplate x : Key ="myHeaderTemplate">
< DockPanel >
< TextBlock FontSize ="16" Foreground ="DarkBlue">
< TextBlock.Text >
< Binding />
</ TextBlock.Text >
</ TextBlock
-
- XML to XAML syntax
by Floki
- 3 Replies
- Last post
by Rob Relyea
- As i read, XPS XAML is a subset of WPF XAML which has been published as part of independent specification. So I would like to generate an XPS sample from a simple XML file. The way I thought was : XML > XAML > XPS But I'm confused about how i can convert an XML syntax into an XAML (using XSLT).
there is the xml
Code Snippet
<mail> <CurrentDate
-
- Animation processor load
by Jan552082
- 9 Replies
- Last post
by Jan
- Hello,
I want to have a small asterisk pulsing at sevaral places of the screen to attract user's attention.
I have an asterisk image (several Paths and GradientBrushes) and I animate it's RenderTransform/ScaleTransform/ScaleX, Y from 0.8 to 1.5 and back forever.
But having 10 such asterisks at screen takes all processor time !
What should I do different
Thanks
Ja
-
- Secure JSON or XML/XMLHttpResponse web site
by dotnetCarpenter
- 4 Replies
- Last post
by dotnetCarpenter
- Hi all! I need to create a web client (browser based) that can work in a secure ajaxian way. For this I have chosen YUI-EXT as client control library and I thought of using either WCF or ASP.NET 2.0 web services. I'm not sure what to choose but I hope that someone in here can help me in my decision. I don't want heavy security - it's enough that the user has to login before he can request the web
-
- TreeView.SelectedItemChanged Event Question
by DocMARs
- 8 Replies
- Last post
by DocMARs
- To start, this is what I'm trying to do: I have a custom style for my TreeViewItems in my WPF application. They do not have the small (+) expanders on the sides of my root items, and I don't want them anyway, so I have to double-click my TreeViewItems that have child items in order to expand them. I would rather my users have to single-click those TreeViewItems to expand them , showing the child
-
- scvutil can not export MetaData
by Melanie Culver
- 5 Replies
- Last post
by Melanie Culver
- Hi,
I have a problem exporting the MetaData for our project.
Here is the error message I get (the original message is in german, but I¡¯ve tried to translate it )
Der WZ.Services.Sso.Core.Contract.Service.IPaymentService.UpdateCreditCards-Vorgang verweist auf ein Nachrichtenelement [WZ.Services.Sso.20070423: ProcessStatus], das bereits aus dem WZ.Services.Sso.Core.Contract.S
-
- Streaming and canceling a read request
by Bruce Bukovics
- 6 Replies
- Last post
by Bruce Bukovics
- I'm hoping that someone out there will have a good solution to my problem. I'm using WCF streaming to transmit files between systems. Depending on the service method, the files are either sent to another system (in the request) or retrieved (in the response). All of that works great, except when the other system goes away in the middle of a stream read operation. I can reproduce that just by disa
-
- Word-Wrap style CheckBox, xmal CS and xmal, and use control lib in the other xaml file.
by Rush hour
- 3 Replies
- Last post
by Luis in SE
- Dear all,
I have a few basic questions, and hopefully you can help me a little with them.
1. I wanna set the name of CheckBox, "ACBDSEFETGDAf", in the word-wrap style. By which means, it will be displayed as "ACBDSEFET" in the first line, and second line with "GDAf". In my Window1.xaml file, I wrote it like the following,
<CheckBox Click="
-
- How can I select all content of a textbox when it gets focus?
by GRiNSER
- 6 Replies
- Last post
by ayordanov
- I used to handle the GotFocus Event and then use the SelectAll() function of the TextBox to select the whole text, unfortunately this does only select the text for a glance and then deselects it. Does anyone know how I can fix this behavior
-
- Geometry mouse not only the point
by Klinsman
- 6 Replies
- Last post
by Peter S Antal - MSFT
- I want to select an element in the Viewport3D through mouse over. The range of mouse over is not just a point but a rectangle.
I use VisualTreeHelper .HitTest to check if an element is intersected with the mouse rectangle. But the exception was thrown when the mouse over event happened more than 1 times.
The code as followed:
Rect rect = new Rect (CurrentPoint, new Size (1, 1)
-
- WPF Button Styles
by Luke R
- 5 Replies
- Last post
by Luke R
- Does anyone know how to create / add a WPF button that looks exactly like the IE7 back next buttons or the login button shown within this screenshot, http://www.winsupersite.com/showcase/whs_ctp_gallery_wrapper_02.asp img=/images/showcase/whs_ctp_mgmt_08.jpg
Does such a button exist that can be added to an application
Thanks