-
- Generating Dynamic XAML in IE7 using an ASP.NET HTTP Handler
by Jonathan Parker
- 5 Replies
- Last post
by satishpadidem
- I'm wondering if it's possible to render XAML in IE from an ASP.NET HTTP Handler. It doesn't seem to work in IIS7 on Vista.
Has anyone tried this or knows if it's possible It works fine when I point directly to a .xaml file, but when I generate the XAML
dynamically it gives an error in IIS7 and it closes the WPF host when running from the VS builtin Web Server.
The IIS7 error is a HTTP 40
-
- Service Hosting
by Tarung
- 3 Replies
- Last post
by Tarung
- I have a self-hosting console application (later on to be converted to windows service).
It reads all configuration from app.config (binding, end points, debug behavior), but create and opens service hosts in the code.
Since I have a lot of feature classes which I am exposing as wcf services , so that ui layer can use it, I will have one service host per class. As you can see in the code bel
-
- Drilling down to the source of a WCF error
by Renaud Martinon
- 13 Replies
- Last post
by Renaud Martinon
- I'm having trouble finding the source of a WCF exception I get calling a function returning a complex type over a netTcpBinding. Judging
from the trace, my problem comes from an array (see bolded part below, near the end of the very long trace).
There are indeed array members in classes included in my return type
(members of members of the return type to be exact). Now, how do I go about findin
-
- DLinq bug on DataBinding
by Hammad_Awan
- 1 Replies
- Last post
by Hammad_Awan
- Hello,
I think there may be a DLinq bug for databinding. In my database, the Employee table has a column "AddressID" that is a foreign key reference to "AddressID" column in the Address table which serves as it's primary key. I generated my DataContext class using SqlMetal.
When I first designed the UI in order to update this information, I put all of the Empl
-
- Beta 2: Frequent Crashes When Editing Source Code
by NTDeveloper
- 14 Replies
- Last post
by AlexBB
- I am getting frequent crashes in the CSLANGSVC.DLL module when I am editing (or, in some cases, viewing) source code. It's so bad that I'm considering rolling my installation back to Beta 1. I have even been forced to edit some methods outside Visual Studio. The methods that have given me the most trouble involve generic collections; however, I'm not sure that's the issue but it's my best guess.
-
- WCF Example Application fro MSDN not Running (UsernamePasswordValidator)
by Jochen Kuehner
- 3 Replies
- Last post
by manukahn
- I wanted to write my own UsernamePasswordValidator but it didn't work. Then i wanted to try the Example from MSDN, but I have to remove the line <serviceCertificate findValue="localhost" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" /> from the app.config! But the service is not running. I get the error: "Der Ch
-
- Create a WCF ServiceHost from a custom configuration file?
by 10e
- 4 Replies
- Last post
by Jon Flanders
- Is it possible to instantiate a WCF ServiceHost from a custom configuration file (other than AppConfig) Can anyone point me a to an example
-
- Visual Studios 2008 beta 2 problem
by TaylorTkd
- 6 Replies
- Last post
by Hichokei
- I have been using the VSC++ beta 1 for making my platform game and when I saw there was the new beta I downloaded it and installed it, but now none of my DirectX progams work any more they come up with errors like this:
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release 1>Linking... 1>main.obj : error LNK2019: unresolved e
-
- What happens to stored procedures?
by Emmerel
- 14 Replies
- Last post
by Emmerel
- Hello.
I've just started to look at Linq and my first thought is that its just a fancy new way to perform Dynamic SQL.
I'm a stored procedure guy and nothing on this planet will change that. I frown on Dynamic SQL (no offense).
So what happens to stored procedures
I've literally just started reading about Linq and saw a few lines of code, and then wrote this post. So if my
-
- How to catch all exceptions, service side.
by Corgalore
- 9 Replies
- Last post
by MuscleHead
- I've run into an issue where I'm getting a SerializationException due to some invalid data. I would like to be able to catch all exceptions on the service side and log them with a custom logger, however, SerializationExceptions happen after my method has returned its result, but before it's sent back to the client. How do I catch these exceptions if I can't wrap them in a try/catch
Thanks!
-
- Using an overloaded indexer in XAML
by Tatiana Ivanova
- 3 Replies
- Last post
by Marco Zhou - MSFT
- In XAML, I want to bind the background of a Combobox to an indexer:
< ComboBox.Background >
< Binding Path = " ActionLoaded[1 ] "
Converter = " {StaticResource BrushBoolConverter} " />
</ ComboBox.Background >
and it works fine but what I really want is
< ComboBox.Background >
< Binding Path = " ActionL
-
- wsDualHttpBinding cannot recover from faulted state
by Corgalore
- 8 Replies
- Last post
by MuscleHead
- I'm developing an application that uses the wsDualHttpBinding model in a service hosted by IIS. It works appropriately sending duplex communication to and from several clients, however, if any of the client applications break (Generate exception), the service is no longer accessible by any of the clients until I make a change to the web.config file within the asp.net website hosting the service. T
-
- Switch User or Remote Desktop on Vista - cpu 100%
by Patbo
- 7 Replies
- Last post
by Patbo
- Hi,
On windows vista, when I keep my application open (not minimized) and I connect with another user using Remote Desktop, the process of my application (for the other user) goes really high (near 100%). If I minimize the application before I connect, I don't have this problem. I have the same problem if I use Switch User.
We tested with Windows XP, and it works fine. But, when I come b
-
- System.Linq???
by Sumo
- 11 Replies
- Last post
by CommonGenius.com
- Why is no one talking about the awful decision to change the namespace from System.Query to System.Linq This is really disappointing for lots of reasons. It breaks so many API design rules. Linq is supposed to be unified query. It's a beautiful technical accomplishment. Tying the namespaces to an acroym just cheapens the whole thing. LINQ is the name of the technology, not the functionality. It i
-
- How to repeat table headers on multiple pages in WPF
by wisper_leaf
- 5 Replies
- Last post
by Arathi Ramani
- I am using WPF to design a standalone application which allows users to enter details on the GUI. The view option on the application talks to WORD and displays the details entered by the user on respective fields on WORD ( like a FORM).
One of the features is a table with four columns. On the GUI , users can enter any number of rows. If there are 100 rows, the corresponding rows in WORD s
-
- WPF Tooltip
by Cornel Gav
- 3 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hi, I have a tooltip for validating data:
Code Snippet
ToolTip tooltip = new ToolTip(); tooltip.Content = message; tooltip.StaysOpen = false; tooltip.IsEnabled = true; tooltip.BorderBrush = Brushes.White; tooltip.Foreground = Brushes.White; tooltip.Background = (Brush)App.Current.Resources["WindowBackground&qu
-
- Web Service in DMZ
by Mark A. Richman
- 14 Replies
- Last post
by dickP
- I would like to expose my web service to the public internet by placing it in a DMZ. This web service communicates directly with SQL Server. However, security and HIPAA requirements specify that my SQL Server sit behind two firewalls. So, I was thinking of putting a web server in my DMZ that accepts anonymous SOAP requests, and forwards them to an internal web service inside my corp network via HT
-
- how to stop an animation?
by bruce.du
- 4 Replies
- Last post
by Steve Galic - MSFT
- hello,everyone
now, I have begin an animation on a Viewport3D's Camera property.
I set its "RepeatBehavior" property as " RepeatBehavior.Forever" ,
but, sometimes, I need to stop the animation for a few seconds, then begin it again.
I didn't know how to stop the animation
please give some tips!
thank you !
-
- Form Designer not showing
by yussofm
- 7 Replies
- Last post
by Eidolon
- Installed Microsoft Visual C# 9.0 Express Edition (Orcas) on Vista 64-bit Ultimate Edition.
Every time I try to open a form in the designer I get the message "The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container. Parameter name: serviceType" and the designer does not open.
Uninstalled the software and reinstalled it, but it st
-
- Why do my MultiDataTriggers only work if I use a DataTemplate?
by NoSuchThingAs2
- 7 Replies
- Last post
by Josh Smith
- In the following code the ContentControl at the bottom of the screen properly displays/hides itself based on the data triggers specified in my style. However, the TextBlock below it does not respond to the triggers. Could anyone shed some light on why I'd assume that I can use DataTriggers without using a DataTemplate but all the examples I find seem to use the template as well as the triggers. X
-
- How to sort the column in List view..
by S.John Hawkins
- 1 Replies
- Last post
by WPCoder
- Hi friends,
How to sort the column in List view.. while clicking the column header..
Can u help me out by code..
Thanks,
S.John Hawkins.
-
- MTOM Example in WCF Samples
by Brian McManus
- 5 Replies
- Last post
by Brian McManus
- I've seen quite a few posts on large file/upload/attachment issues but none appear to have addressed the single parameter/single contract issue with clear best practice advice and sample code.
It seems like a pretty common scenario that you would want at least one piece of metadata associated with the upload and sticking that at the front of the data isn't really a good option so message he
-
- .How to write Linq expression for Stdevp,Stdev,and coefficient of variation?
by csharpbird
- 2 Replies
- Last post
by Matt Warren
- Some questions: 1.How to write Linq expression for Stdevp,Stdev 2.How to write Linq expression for coefficient of variation£¨£½Stdev/Average,Average may equal 0£©£¿ 3.What's wrong with the Count For example: var results= from c in db.Customers group c by c.City into g select new{ g.Key, nCountry=g.Count(s=>s.Country), nOrder=g.Count(s=>s.Order)
-
- Images with raw pixelsize, not DPI-relative.
by Chimme
- 11 Replies
- Last post
by Coder2048
- How do i display an image in it's real pixelsize If you just add an image in xaml it will be resized to the image's DPI / the screen's DPI or something like that.
The best would be if there's some kind of global property so no images in my app will be resized, but a simple property for the Image will also work fine.
-
- The .NET 3.0 download is big and slow and clients hate it
by Futzy
- 2 Replies
- Last post
by JDPeckham
- I have been working with WCF since pretty early in the beta cycle. I am thrilled with it on the whole. I now have an application working in a public beta mode, and the response so far has been good. But here's my problem. The .NET 3.0 download is huge, and it takes forever to install. Almost every single person who has downloaded my app has complained about this, and I have no doubt that if I went