I am working on custom data provider using ADO .NET Entity Framework.
In the CreateMetaData function, I need to add primitive and complex properties in the ResourceType.
I believe Enum should be added as the complex data type.
If yes, how can I add this? Any pointer would be a great help.
Thanks,
Ram
...
Hi all,
I've created an entity model using Entity Framework 4, which I've exposed via a WCF Data Service. One of my entities needs to have properties defined that are not persisted to the database, but the Entity Model designer doesn't allow you to do this.
To get round this I've defined all my objects as POCO objects, which allows you...
I recently come to know that there are web services by WCF for Active Directory. I presume this is not about LDAP.
Are there any documentations or blogs about it as to what the default endpoints are or what the API looks like or does it even talk in SOAP? or can you please shed some light on how to connect to Active Directory Web Servi...
I have created a simple WCF (.NET 3.5) service which defines 10 contracts which are basically calculations on the supplied data. At the moment I expect quite few clients to make a call to some of these contracts. How do I make the service more responsive ? I have a feeling that the service will wait until it process one request to go to ...
Hi,
I need some book where I can learn how to extend WCF 4.0 (ie. write some cusom behavior, custom factory etc.)
...
Hi,
Just curious, did anybody use WS-AT protocol to propagate transactions in WCF over the Internet in production(wsHttpBinding)?
Is it hard to deploy/support?
Is it a good approach to keep a WS-AT port open?
Or maybe it is better to have a custom solution to support transactions? What do u think?
...
I have a call to a SOAP WCF Service that returns a lot of data. More than the calling Windows Mobile Device can handle.
Yet I am noticing something odd. When I make the call it looks like this:
MyContract[] myContractArray = MyService.CallToGetLotsOfDataObjects();
That does not fail. But when it iterate through myContractArray and...
Hello,
How do I use a ServiceHostFactory with multiple bindings??
This is what I've tried and I keep getting issues...one after another error...
Please help me correct this..
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System...
Hello,
How do I use multiple contracts with the same binding on the same port through C# code?
Would appreciate any simple code snipplet...
Thanks so much
...
I have a WCF REST 4.0 project based on the the WCF REST Service Template 40(CS). I'd like to expose simple service endpoint URLs without trailing slashes. For example:
CarService.cs
http://www.domain.com/cars - GET returns a list of all cars
http://www.domain.com/cars/123 - GET returns a single car with ID 123
TruckService.cs
http:/...
Situation: Silverlight 4 app communicating with a server component through WCF, using basicHttpBinding and HTTPS.
Here is the binding used server side:
<basicHttpBinding>
<binding name="DefaultSecuredBinding" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647">
<readerQuotas maxDepth="50" maxArrayLength="2147483647" ma...
I have a WCF service that exposes 1 method GetNextObjectInList(int id) which hits a DB.
The WCF service works, more or less, like this:
public class MyService : IDisposable
{
public MyService()
{
this.IntializeDBConnection();
}
public int GetNextObjectInList(int id)
{
/* uses DB connection */
...
To start with, I am a newbie in the world of WCF so pardon me if this sounds naive.
To my understanding , unlike ASP.NET based websites which use ADO.NET to communicate to the database, a silverlight based app always needs a WCF or RIA services to communicate to DB. We know that ASP.NET websites are not tightly coupled to the database ...
Hi there,
I have just done some tests and i have manged to get ReadAsDataContract working on the Response.Content method...
The thing that really is confusing is that i thought it shouldn't work yet! As my classes are NOT decorated with the DataContact or DataMember Attributes.
I am confused, reading the various tutorials around the ...
Hi,
I have WCF service.. couple times it was working ok.. but after certain point in time the function returns "Function evaluation timedout".. what the heck is this? also, when I checked the state of the proxy it was opened.. can anyone please help?
thanks
...
I am trying to create a number of WCF services. These services will expose certain public methods and require to consume each other (i.e. call WCF Service methods from another WCF Service)
Is there any good reference tutorial material that I can refer to for this?
Thanks all in advance!
...
In the process of learning WCF.
To examplify, lets say I have 3 assemblies :
1.) Service.Contract : It has the definition of the interface MyType IMyInterface();
2.) Service : It has the implementation of the interface MyType MyService() : IMyInterface;
3.) Client : It calls the service.
My basic question is should 'Service.Contra...
I've written an extension method for use with WCF services that keeps all the disposal and exception handling logic in one place. The method is as follows:
public static TResult CallMethod<TChannel, TResult>(
this ClientBase<TChannel> proxy,
Func<TResult> func) where TChannel : class
{
proxy.ThrowIfNull("proxy");
func.Th...
I would like to retrieve data from my WCF service as the user is scrolling over a datagrid. What are some options for accomplishing this, particularly those that would favour following the mvvm pattern.
...
I am writing a remote service for an application using WCF, in which login information is kept in a database. The service requires session establishment through a login or account creation call. There is no ASP involved.
Now, when a client starts a session by calling an exposed IsInitiating method, I check the account data provided agai...