-
- 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
-
- Invalid association mapping error in Add()
by Arne Claassen
- 2 Replies
- Last post
by fmether
- I just ingested a Schema using the a Linq to SQL DBML file in the designer. All looked good and seemed to be properly referenced. Then i tried to add a row to a lookup table like below:
Code Snippet
using (MyDataContext db = new MyDataContext(ConfigurationManager.ConnectionStrings["MyDB"].ConnectionString)) { track_status_enum x = new track_status_enum(); x.enu
-
- Simple POX example
by Reggie Chen
- 4 Replies
- Last post
by Reggie Chen
- Hi,
Where can I find a minimum, simple example on creating a POX service with IIS in ORCA 2 with .NET 3.5 b2 I just need a minimum example without thing like REST, to respond to request like http://myserver/myservice.svc/pox/myservice x=3 .
I am not very successful finding a simple example to work with the newest .NET 3.5 There are some examples with 3.0 using obsolete attribute
-
- How to get the screen resolution in wpf
by spshah
- 7 Replies
- Last post
by k.Rahul
- Hello everyone,
I am developing an client/sever application using wpf and wcf, in which when i run the client application on different screen resolution, then the controls(i.e. the size) added in the xbap page changes. So i want to get the current screen resolution and make the size of controls unchangable.Can anyone help me out.
-
- WsHttpBinding Transport security wsdl Address location
by katokay
- 2 Replies
- Last post
by Scott Seely
- We have recently been trying to move an existing service to use Transport security with Basic authentication. There is a deployed service http://dev.services.companyname.com/ServiceName.svc for which I can view in IE7 both at http and https urls. However, when the proxy is generated from the secure address, and when the wsdl is viewed from the secure address some of urls change to https://computer
-
- DataGrid, DataBinding and Updates
by Dezzz
- 7 Replies
- Last post
by Dezzz
- Hello,
I am sure this has been answered before but here goes anyway....
I have a Service which provides me with some hierarchical data which I would like to display in a DataGrid.
Fields 1 and 2 (e.g. Code , Name) are followed by a subset of 2 fields (e.g. Language and Translation) the 3rd field Language being a combo box from a predefined set of available languages (let
-
- WCF - Multiple Channel Implementation
by Kapoochikaya
- 11 Replies
- Last post
by Oran Dennison
- Hey,
I have a service endpoint on an MSMQ which is receiving messages from multiple clients, would there be a way for me configure my receive service in such a way as to have a single channel accept messages from a single client Would appreciate any help you can give in terms of configuring WCF or custom implementation on top of WCF.
The message is sent to the MSMQ from the client b
-
- Linq in Windows and Web Sites
by Russty
- 4 Replies
- Last post
by marco.ragogna
- Hi,
I created a test windows forms application, dragged my SQL tables onto the Linq designer and created a basic query:-
Dim N As New DataClasses1DataContext
Dim Ms = From a In N . Messages Where a . SentDate > DateTime . UtcNow . AddDays (-7) _
Select a Order By a . SentDate
..ran this and it did exactly what I expected - it worked
-
- WPF (run method) really so slow?
by Kurtl
- 13 Replies
- Last post
by Kurtl
- Where is the time between constructor and the onload event --> there are 7 seconds!
The last log-entry in the contructor 13:30:06,395 and the first entry in my OnLoad Event 13:30:13,346
Start the GUI-Modus with:
//App.cs
public partial class App : System.Windows. Application
{
[ STAThreadAttribute ()]
public static int Main( string [] args
-
- Communication between applications in same machine.
by Srinivas Lingineni
- 2 Replies
- Last post
by Srinivas Lingineni
- Hi,
I have a requirement to pass massages between windows applications developed on .NET 3.0, deployed on the same machine. The requirements are
1. 2 way communication between the applications. App # 1 should pass a message to App # 2 and in return App # 1 should get back response.
2. App # 2 should send a message back to the caller App (in this case App # 1).
I was considering System.
-
- Multiple Endpoints Sample Broken
by cjwoolard
- 7 Replies
- Last post
by cjwoolard
- I am trying to run one of the WCF Samples illustrating how to configure multiple endpoints, (located at TechnologySamples\Basic\Service\MultipleEndpoints), however I receive the following error when it tries to reference the second endpoint:
{"There was no endpoint listening at http://localhost/servicemodelsamples/service.svc/secure that could accept the message. This is often caused by an
-
- Use alternative listbox colors
by Ramon de Klein
- 1 Replies
- Last post
by lee d
- I want to alter the colors of the listbox. If I hover the mouse above an item it should have a 'LightBlue' background. If I select it, then it should become 'Orange'. I thought that the following code would work (try XamlPad). Hovering works fine, but 'ListBoxItem' uses an internal border (called 'Bd') that draws over my own background. I think I need to alter the style of the internal border. Doe
-
- Opacity Mask problems
by netisfun!
- 12 Replies
- Last post
by Matt Eland
- Is anyone else having troubles with a one pixel slice of the OpacityMask showing up in their apps Seems like a WPF bug.
-
- Transport Security + Windows Authentication + Workgroup Mode Service and Client Hosts
by JohnnyFuture
- 2 Replies
- Last post
by JDPeckham
- Would anyone please let me know how I can use Windows Authentication to achieve Transport Security between Workgroup mode service and client hosts.
The objective is to have both service and client executing as a windows service running on workgroup mode servers.
The problem as I see it is that the windows credentials will be inherited from the host windows service and therefore will not ma
-
- No codec found that can decode the specified file?
by Lei Jiang
- 14 Replies
- Last post
by maige
- When I try to load a png file to show a icon in a toolbar, this exception thrown:
System.NotSupportedException occurred Message="No codec found that can decode the specified file." Source="PresentationCore" StackTrace: at MS.Internal.HRESULT.Check(Int32 hr) at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cac
-
- Relationship between UI composition and code-behind
by Fernando Ronci
- 7 Replies
- Last post
by filmlover44
- Hello,
I've got a case where the UI (or a part of it) depends on data loaded at runtime. My question then is: where in the code behind file should I put the code that provides the data for the UI
The following is a terse and trivial example that demonstrates how the UI is composed before the static method myMethod() runs, therefore the TextBlock foreground is Red and not Blue.
XAML:
-
- storyboard trigger based on time iteration
by Offroadn
- 3 Replies
- Last post
by lee d
- I have looked within Blend and coud not figure out how I can have animation begin based on a particular timespan/iteration of another storyboard timeline. Is there a way to do this within Blend or can someone explain in code how to accomplish this
Timeline1 for some object (say, rectangle) begins animation based on a button.click for 10 seconds.
Timeline2 needs to begin for another object (
-
- GridSplitter problem.
by Cornel Gav
- 3 Replies
- Last post
by Grzegorz Zygmunt - MSFT
- I have a Grid with two columns and one row. The first column contains a listbox and in the second one I placed a grid splitter for resizing the listbox. The problem is that I want to serialize GridSplitter position. Everything on my form is set to Auto like: listbox width, 1st column width. How should I do it I tried to set the width for the grid column but is readonly.
-
- Is it Window's AllowsTransparency bug?
by EileenWin
- 5 Replies
- Last post
by Dennis Cheng - MSFT
- Hi,
Please explain me why this error happen. I'll explain the step to generate that error.
I create animation for marquee text in coding and set window's AllowsTransparency= true. Here is the double animation coding.
Storyboard sb = new Storyboard ();
DoubleAnimation da = new DoubleAnimation ();
Storyboard .SetTargetName(da, Strip.Name);
Storyboard .SetTargetPropert
-
- Strong typed DataTables in Entity
by SnowJim
- 2 Replies
- Last post
by SnowJim
- Hey! We have a class library(SharedDataTypes.dll) that consists of classes, this classlibrarys is referenced in both the Host (Where the Data Contract is) and the client. By using /r haredDataTypes.dll with svcutil when auto generating the proxy we are able to fille the Rich types on the client side when data is received. Now we need all the Strong Typed DataTabels in our DAL to be a part of this
-
- problem with the visual studio 2005
by thiru_vlr
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- hi ,
when i am doing a xaml aplication. after running the web page opens . when i close the web page the applicaiton stilll stays in the debuggin mode . i have to stop debugging then only the debuggin stops. otherwise when ever we close the web page the debugging stops automatically
please give me a solution for this
thanks,
thiru
-
- How to enumerate and access client channels on a WCF server
by ceilidhboy
- 4 Replies
- Last post
by David Wortendyke - MSFT
- Is there a way to enumerate connections on a WCF server I have a scenario where I'd like some code on the server to be able to get a list of all the connected clients, e.g. to display which clients are connected. But more than that, I'd like to be able to add custom state information to connected client channels and have a service method then have access to all the other client channels which are
-
- WCF and Reporting Services
by rick_sweden
- 1 Replies
- Last post
by Ronald Ricardo Ramirez Moran
- Hi!
I am using the Reporting Services web-service and WCF. Because I am new to WCF I would like to ask you two questions:
Question 1:
Is it possible to send username/password when you generate a proxy class with svcutil I have tried to embed it into the URL but it does not work ( http://username:password@host ).
As a workaround I enable anonymous acces
-
- protocol error hosting WCF svc in IIS (formerly error in Getting Started sample)
by glm562081
- 2 Replies
- Last post
by glm
- When I try to run the Getting Started sample project from the WCF TechnologySamples set via invoking the service.svc from the browser, I get the following error: <title> The protocol binding '0' does not conform to the syntax for 'http s'. The following is an example of valid 'https' protocol bindings: ':443:'. </title> Note that I also get the same error when moving from a .Net hosted
-
- Multiple panels best practices
by cobain81
- 2 Replies
- Last post
by Rob Cannon
- Hi!
I'm creating a wpf application which needs to show several different panels: many forms for reading data and many grids for writing data.
I would like to have a single window, when the user clicks on a specific button an animation makes switch between the actual panel (which somehow disappears) and the new panel (which somehow appears).
My question is: which are best practices