Hi,
I'm new to REST and I'm building a service using the WCF REST Starter Kit Preview 2 in C#.
Most examples showing how to define a UriTemplate assume that you know the exact format of the URL and can pick out the bits you need to perform the request. But...
How do I allow users to enter a URL that defines a hierarchy and how do I proc...
I am currently implementing a Federated Authentication solution using:
A passive STS for issuing tokens, a Website hosting a Silverlight application and WCF services for the Silverlight App.
So far I am able:
Get redirected to the STS
Login and get redirected to the Website
Display the claims on the website by accessing
HttpContext.C...
As an example from this site: http://www.c-sharpcorner.com/UploadFile/ankithakur/ExceptionHandlingWCF12282007072617AM/ExceptionHandlingWCF.aspx
[DataContract]
public class MyFaultException
{
private string _reason;
[DataMember]
public string Reason
{
get { return _reason; }
set { _reason = value; }
}...
So I've done a little WCF in the most basic way I could come up with and even then found myself wrestling in the config a little before getting it to work. I love the simplicity of contract definition and implementation though once you get the config wrapped.
Given that could someone point me to some good online resources (not books, no...
Hopefully you folks can clarify some of this for me. I have a web-application using the Sql Membership Provider and it talks to a second web-application through a WCF Service. Both applications share the same Sql Membership Provider datastore...but I need each WCF Service call to authenticate the user.
Now, I've looked at a LOT of sam...
I am a novice to MSMQ and WCF and need some direction. The application we're working on requires heavy PDF parsing jobs and these jobs can take considerable time to finish. Users will request these jobs from a single ASP.net application. To scale out, we would like to have the PDF Parser service spread across multiple physical (or virtua...
I have created a WCF Service Library in VS2010 and can run the service by selecting Debug->Start New Instance from project's right click menu.
Can I further define some initialization logic that would be executed before the service is started?
EDIT:
What I try to achieve is to initialize NHibernate and several other elements so that t...
Hi, I have a WCF web service which calls a biztalk service( ie Orchestration). When i do the unit test i am getting following error:
Test method Goudse.BcVerzekering.Bts2006.InkCol.Business.UnitTests.UnitTest1.VerzekeringFacade_Goed threw exception: System.ServiceModel.FaultException: The binding at system.serviceModel/bindings/wsHttp...
Hi,
I'm developing a WCF service (NetTcpBinding) and it works just fine without security. We bought a certificate from DigiCert and installed it on the server and configured with DigicertUtil.exe. Also installed on the test client machines.
Turning on the security I'm able to connect to it from my dev PC without problems.
Server confi...
I have a set of DataContracts that are serialzed through WCF.
Please note this is a very simplified example.
[DataContract]
public class MyData
{
[DataMember]
public List<int> MyList
{
get;
set;
}
}
I would like to use object oriented design so that the server and client aren't creating any unnecessary...
I want to create something similar to the Twitter streaming API using WCF. We need to stream data to clients as quickly as possible (1/4 second). Our clients are diverse (JAVA, C++, etc. etc. etc.) and we're a .NET shop. Does anyone know if WCF can do this?
...
I have a WCF Service that maintains several connections to various databases. I am using Linq to Sql Objects.
The approach I have taken is that I have a list of available connections in a database, and when I call the service I see if a DataContext already exists, and if not I create a new DataContext
private static Dictionary<String,...
The problem: I have a web application that I need to implement something like WCF Polling Duplex, or Comet. Where a connection is opened and not closed. I need to use push because of the high frequency of updates and I cant afford the overhead bandwidth or time.
Technology: The application will be a Silverlight 4 one and the backend .N...
I have a WCF service load balanced across three different machines.
Let's say these services can process requests of types A, B, and C. There are no limits to processing A or B. However, we can only process 5 requests of type C at a time, so if a 6th request of type C comes in, it'll have to wait until one of the previous requests ...
I have a DAL that is replicated across multiple apps (I know its a bad design but ignore this for now) , what I want to do is this...
Create a WCF DAL Component that will be accessed via all Desktop apps.. Could anyone share their thoughts on following ??
I am intending to use TCP Binding
What will be the overhead in terms of perform...
I have a customer table which consists of almost a 50++ fields. I was just thinking if would it be feasible if I pass these through a XML formatted text since their are a lot of parameters
Sample Below:
[OperationContract]
[WebInvoke(UriTemplate = "new/customerxml/", Method = "POST", BodyStyle = WebMessageBodyStyle.Wrapped, ResponseFor...
Is it possible to have one service with two behavior configurations? As you know it is possible to have one service and more than one endpoint where you can specify different binding configuration.
But I need to have, for the same service, different service behaviors.
If I try something like this:
<services>
<service name="Service....
When i add a .dll file as a reference in C# application it shows an error :
A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component.
ILDissassembler says there is no valid CLR header so I try to register it using regsvr32 and that gives me another erro...
I'm looking for a reporting solution that works on the server and in the front-end. The problem is that the front-end technology has yet to be decided from ASP.NET web forms, ASP.NET MVC or Silverlight.
So I'd like to use the same reporting framework for generating reports on the server (business layer abstracted through WCF) to PDF for...
Hi,
My WCF service provides multiple services from different end points.
Currently my client app calls these methods independently as shown below:
object result1 = null;
object result2 = null;
using (OperationContextScope contextScope = new OperationContextScope((IContextChannel)ServiceInstance))
{
MyService.AddHeaders();
resul...