Hello All,
I am concerned on how to implement security measures may it be Authentication or Authorization..
How can these be implemented.. if you have any thoughts or links that you can share with regards to WCF REST 4.0 Security and if you've implemented it also the better. because ive been trying to find out on this topic all i find i...
my wcfbinding is wshttpbind
...
Hello,
I am wondering if there is a way in WCF MSMQ to know if iam processing the last message in the transaction
I did lot of researches I found that there is a property IsLastInTransaction but this property not available in MsmqMessage<T> Class it only available in System.Messaging.Message
Anybody know how can I dietarian if this i...
Hello,
I created one solution and then added one project which contains all WCF services. Then i added it's reference to my Silverlight project in the same solution. Now when i try to debug i get one message box saying This Silverlight project you are about to debug is consuming web services. Calls to the web service will fail unless th...
Based on this post http://stackoverflow.com/questions/2257808/error-calling-a-wcf-rest-service-using-json-length-quota-8192-exceeded
I experienced the same problem when calling my WCF REST Service (hosted on IIS 7) from a console application (using Microsoft.HttpClient library). I have increased the maxStringContentLength="2147483647" o...
Hi I am currently in a project there we are consuming some wcf services, but we are not happy with the generation result of the service proxy.
We are getting ugly names like service.NameSpace_Are_In_The_Method_NameBeginSomeMethod.....
And we want the possibility to do some other changes.
Can we somehow change the template that are gen...
I don't expect anyone to be able to help out with this but let's give it a go.
I have a WinForms app that uses a WCF service to pull down a rather large JSON document serialised into a string. I have changed the client's Reader Quota on strings to 8192000 (arbitrary but suitable for most cases) and put the service onto a custom binding ...
I am just trying to learn Ajax enabled WCF service, when I try to create a new web application and add new item "AJAX-enabled WCF Service" I get an error message that "The extension of type 'System.ServiceModel.Configuration.WebScriptEnablingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e...
Hi
I have one WCF service and one single method named GetStudentList() in the service.It's working fine when it's return single response.Something like this
[WebGet(ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.WrappedRequest)]
List<Student> GetStudentList();
But i want to return multiple response i.e. xml ...
I have a simple wcf Service Contract that works fine if I use the concrete implementations for the interfaces, but if I want to use the interfaces in the paramaters instead of the concrete classes, it gives me the error which I will display below.
Here is code:
[ServiceContract]
public interface IClientUserRegistration
{
[Operation...
Is it possible to read cookies in the OperationContract of a wcf service? I am trying to read a cookie value in the contract method, but its always empty. If I read the same cookie from a .aspx page, the value is present. Any ideas?
...
I want to dynamically change the address of a WCF service called from my client based on custom information in the client's application configuration file.
My first attempt was to create an endpoint behavior, and implement the IEndpointBehavior.Validate method, implemented something like the following:
void IEndpointBehavior.Validate(S...
I am creating a WCF service, and it is timing out when it is used in some of my integration tests. I have been able to narrow it down and it is demonstrated by the following code. It appears that creating a Form before you create the host causes the problem, but I'm not sure why.
class Program
{
[ServiceContract]
public interfac...
I'm importing a WSDL as a service definition (inbound to my service), and for whatever reason the client is formatting the request such that WCF cannot deserialize it without the proxy classes having MessageContract decorations.
I've gotten it to work this way by adding the MessageContract attribute on the main container class, which ...
I've got a service running (well, it doesn't crash), but when I try to add a Service Reference to it, I keep getting:
Metadata contains a reference that cannot be resolved: 'net.tcp://localhost:55555/mex'.
Metadata contains a reference that cannot be resolved: 'net.tcp://localhost:55555/mex'.
If the service is defined in the current...
I have a WCF service which implemented using Repository and UnitofWork patterns.
And now I am getting following error:
The service type provided could not be loaded as a service because it does not have a default (parameter-less) constructor. To fix the problem, add a default constructor to the type, or pass an instance of the type to t...
Why is the Mono project implementing WCF interfaces and classes "as is"?
I do not understand what is the point to repeat Microsoft's design. My experience says that WCF is a huge framework with an implementation based on SOAP services. There are tremendous problems with their approach. It simply does not fit well for simple HTTP request...
Hi
I have a WCF service that is called by a Windows Mobile application running on a PDA. I've set up the server code to send WCF faults if there is a problem. This is the code that I think I am supposed to be using on the client:
try
{
var data = myService.GetSomeData();
}
catch (FaultException<Service.CustomFault> fault)
{
mes...
Hello,
We are trying to configure WCF Message and Trace logging to be written to a one of the shell folder paths. For example .. %ALLUSERSPROFILE%\CompanyName\logs\ServiceTrace.svclog
If I enter the full path to this location it works, if I enter the above nothing appears.
(I've pre-created the directories)
Example config snippet is:
...
Possible Duplicate:
WCF Book Recommendation
I want speed up creating few good and robust applications using C#,WCF and WPF . So thought , I will ask the community , what really helped them to be so efficient and clear with the concepts behind. which books will really help me to build the fundamentals(You can Say Advanced Funda...