I am new to Ninject and trying to evaluate how well it compares to Windsor Castle, which I am more familiar with. My application is a WCF service application hosted in IIS. As a result, I am trying to spin-up the container/kernel and use the NinjectServiceHostFactory to create my service class, etc. Unfortunately, I'm getting an Argum...
I am trying to make my WCF service method to return JSON-object, but it doesn't work, when I open in a web browser it shows xml.
How can I make this method return JSON?
I have inserted [WebGet(ResponseFormat = WebMessageFormat.Json)], but that didn't help
[WebGet(ResponseFormat = WebMessageFormat.Json)]
protected override IEnumer...
I am trying to access http://localhost/tempservicehost/tempservice.svc and I am getting the following error:
Error Description: 'Resource does not
exist'
This may be because an invalid URI or
HTTP method was specified. Please see
the service help page for constructing
valid requests to the service.
The funny thing is t...
Hi,
I've been trying to do a simple restful wcf service that will return JSON. Its working if i will run it in the development server. However if I deploy it on IIS 7.5, i will have this error when i accessed it using http://localhost:70
HTTP Error 500.19 - Internal Server
Error The requested page cannot be
accessed because the...
Hi,
I recently listened to the WWDC 2010 discussion Session 117 - Building a Server-driven User Experience. The presenter discussed the performance difference between processing XML vs. JSON vs. plist. plist was much faster and about the same size as XML (worse than JSON, but much faster processing).
I am wondering if anyone knows of...
I want to log the assembly version information into a log file each time my WCF web service is called. I know that in an application the My object has an Application object which has the Info structure, that contains the Version string that I can use. How can I get the version information for the WCF service to a log?
...
I'm pretty much a novice as far as WCF goes and I'm trying to figure out which type of WCF project to create for use by my windows phone 7 application.
There seems to be :
WCF Service
Silverlight-enabled WCF Service
WCF Data Service
As far as I can tell - #1 is an older variant, requires more configuration and an interface. #2 has s...
At work, we have the UI layer (CSS, HTML, JavaScriptall executes in the browser), middle-tier (ASP.NET MVC and our C# libraryall executes server-side) layer, a service layer (WCF services that the middle-tier calls as-needed), and a DBO layer that WCF services use instances of.
When the middle-tier (e.g. a static .cs class) calls a WCF ...
Hi All,
Can someone please let me know if unsigned SAML 2.0 or 1.1 is natively supported on WCF .Net 4.0. I know that Signed SAML 1.1 is natively supported on WCF and SAML 2.0 is natively supported on WIF but I am not able to find any material regarding unsigned SAML.
...
i have a WCf project,
when i add the following code to the configuration file (Web.config):
<configuration> <appsettings> <add key="Hello" value="5"/> </appsettings>....
i get this erro whentrying to debug:
"Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration erro...
Hi
My dev environment is Windows 7 and IIS 7.
i develop a silverlight 4 app that used Silverlight-Enabled WCF service. It is working true in IDE (Visual Studio 2010) but after published it in my IIS 7, service not working true.
clientconfig is true beacause the published service browse is working true.
WCF Service don't fail and does n...
Can anyone please explain me how to discover a WCF service if you do not know the type of the service Interface.
I am very new to WCF services and I need to write an application to discover some WCF services hosted in the subnet.
I found that you need to specify the service interface in inorder to create a FindCriteria object.
FindCri...
We currently have a WCF service that has been setup with its own DataContracts for the enumerations. We then have a mapping layer between the DataContract Enums and the Common Enums available in our business layer. The same thing happens on the client end - a mapping layer between the client Enum and the Data contract Enum
We have been ...
Hi,
I try to sign a message using a certificate and a private key to call a java (JBoss) web service, but the server refuses to accept my signed message. It only echoes back the same message that I've sent.
I have successfully signed the outgoing message using the certificate, and the structure of the message look alright when I compar...
Hi I'm trying out File-less Activation with an silverlight solution, and when I choose add service reference it wont show up, I can browse the service with success in my web browser.
...
I have a method AddEntity(object o). I am figuring out which entity type it is on the server side using reflection and such and adding it to the database. I am using Self Tracking entities. However this is the error I am getting.
"Element contains data from a type that maps to the name . The deserializer has no knowledge of any type th...
1st of all, apologies if this is a basic/simple WCF question, i'm a WCF newbie and haven't come across this so far.
Question 1 - Is there a way to see what data is marshalled on a wcf service call ?
and given the following definitions
Interface IX
{
List<string> list;
Dictionary<string,MyType> dict;
}
Interface IY : IX
{
L...
OK, so we are using entity framework and wish to expose data from these entities to consumers. This data is pretty common and although initially only consumed by WPF applications it could be consumed by other technologies such as Silverlight, ASP.NET, Office, etc in the future.
Typically you would build WCF services that expose a number...
I've got a WCF web call which returns the result of a SQL Command.
However this SQL Command is dynamic so i don’t know how many columns and what data types there are going to be.
How do i the results over WCF to a Silverlight application?
(Btw i then want to be able to put this data into a data grid)
Thanks
...
Hi all,
Summary: I need to know if there is an existing light-weight implementation of REST+JSON in .NET world which does not use WCF. If not, I am looking for some folks who would be interested to start a joint venture for an Open Source project.
I do not know about you but I was a big fan of WCF when it came out and I praised its des...