Hi guys,
I am accessing a WCF service using a JavaScript code
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">
<Services>
<asp:ServiceReference Path="ForumService.svc" />
</Services>
</asp:ScriptManager>
in web.config
<system.serviceModel>
<diagnostics>
<messageLogging l...
I have a website calling a WCF service and I want the service to run with the browser culture. I am using the service in ASP.NET compatibility mode. This is working so far - It is possible to set the culture of the WCF service using the culture and uiCulture of the globalization section.
My problem is that enableClientBasedCulture shows...
I have a Windows Communication Foundation service which queries the Entity Framework and retrieves data in the form of Entity objects. I'd like to serialize these objects to JSON and send them back to the client to be interpreted in Javascript.
It seems this is tricky, according posts like these:
http://bloggingabout.net/blogs/progr......
My WCFservice is giving me
"The protocol 'net.tcp' is not supported"...
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="tcpBinding" transferMode="Streamed" portSharingEnabled="false">
<reliableSession enabled="true" />
<security mode="None">
<transport clientCreden...
I use HTTPRuntime.Cache in my WCF service. It works locally (I mean "localhost:1234", not in IIS). But it doesnt work at server IIS. Is there any settings to do in IIS? The code in my method is like:
var response = (Response<CommonListObjects>) HttpRuntime.Cache.Get("commonObjects");
if (response!=null)
{
return response;
}
var se...
Hi,
Can webservices be accessed by Silverlight 3? On VisualStudio, a Silverlight project doesn't allow me to add a "web reference" but only a "web service reference" that is for WCF and not "normal" webservices.
Any help?
Thanks
...
I have a WCF service (happy joy) all my messages inherit from the abstract class MessageBase and implements the below interface.
public interface IMessageBase<T> where T : class
{
String Serialize(T data);
T Deserialize(string text);
}
Each time one of my operation contracts is hit with a message like this I want to log this m...
Does anyone know if the endpoint used for the service request can be accessed from within the service?
...
I have a WCF service listening on a dynamic allocated port in windows Service Registry.
How can i find the listening address of this service from another c# application? Or at least the port of this service?
Thanks,
Adriana
...
I have a WCF service and cannot use DataContracts since I need more control over the XML received and sent to this service. As such, I use XmlRoot, and XmlElement... the problem I'm running into now is that my class that the receiving xml gets deserialized into and the serialized response both need to have the same root name, and when I ...
In one of our networks we are utilizing the netTCPBinding. The WCF service hosted in windows service that run as a domain account.
From the event viewer I can see that my WCF service uses Kerberos authentication. Everything works seamlessly "out-of-the-box" with simple default configuration without an <identity> element in the configu...
I'm a newbie with WCF. I had wcf service in iis running fine. I made a code change to the DataAccessLibrary.dll in which the main class is DAL. The service.cs file references this dll. I dropped the new dll into the bin folder. Now an error is thrown in the service.cs code that says "DAL does not exist in the current context" I'm thinkin...
I have to connect to secured webservice, I am passing in the credentials while calling the service
But I am getting following error message while calling service
"An error was discovered processing
the < wsse:Security > header"
I am using basicHttpBinding with security mode set to "Transport"
The endpoint address points to secu...
Wrt WCF RIA services. Where & How can we configure WCF parameters like message size, response timeout, transport protocol etc?
I am trying to WCF RIA services(PDC09 build) with Silverlight 3.0. I have tried searching but that didnt help much.
Any pointers will be greatly helpful.
...
Is there an easy way to replace code that uses Web Services Enhancements (WSE) 3.0 for Microsoft .NET with someone less esoteric like WCF?
...
I have several WCF services that I want to access from a Java client. The services have some complex data contracts used across multiple services. I want to be able to generate client code that will allow me to share the objects generated from the data contracts across all the services. Basically I want to be able to retrieve data fro...
I am using the ErrorHandlingProxy from
here
and had a coupla questions.
I noticed that the ExceptionHandlingProxyBase executes all calls in the main thread. What do I need to do to initialize and run in the background? I am using it like in the examples in form load
private MyServiceProxy _proxy = null;
private void Form1_Load(object...
I have a silverlight application which works perfectly and can access the WCF services which are hosted in silverlight application itself. The port it is using is 1794.
When I deploy to other servers (dev or test or staging), the application is not able to access WCF services.
This is a snippet from my ServiceReference.ClientConfig lo...
I was just wondering if there is a FREE framework I can use to programmatically run WCF load tests outside of Visual Studio. I've seen that NUnit provides such functionality for unit testing, but can you do load testing with it?
Any help would be appreciated. Thanks.
...
Hello everyone,
I'm using Jquery with WCF...
and I'm struggling with getting values when it's returned as arrays by the WCF service...
Here's my Jquery code
$(document).ready(function () {
$('#Button1').click(function () {
alert('Getting Data....');
$.getJSON("http://localhost:21030/Service1...