First of all, this is my first Stack Overflow question so apologies in advance if I get this wrong!
I'm working on creating a service endpoint for a CRM database used internally. Several applications want to read and write to this database so exposing a WCF service seemed like the best approach.
I started off using the Entity Framework...
For which applications or development scenarios the usage of WCF Data Services makes sense and when other technolgies are the better choice (for example WCF RIA Services, ADO Entity Framework, classical ADO.NET, simple services or whatever) ?
...
hey everyone,
I have created an application using Visual Basic .NET, the application use an access data base which must be shared in server of a local network.
The problem is when i run the application in a client machine (connected to the network) I can't connect to the data base.In the same machine the connection work wich it's no...
I have a service operation of the form:
[WebGet]
public IQueryable<BusinessObject> BusinessObjectsByType(string name)
with access rule
config.SetServiceOperationAccessRule("BusinessObjectsByType", ServiceOperationRights.All);
When I access this service operation through a web browser, it exposes the data but not in feeds and entrie...
I try to use the new POCO capabilities of EF 4.0 in combination with the EFOracleProvider. I have recompiled the EFOracleProvider (using ODAC instead of System.Data.OracleClient) to target the .NET Framework 4 (und put it in the 4.0 GAC). Everything ok so far.
I host the Entity Model in a WCF Data Service:
class DivaDispoDataService : ...
I reference ADO.NET Data Service in my SilverLight project and I need to define URL for this Data Service. So the question is what is the best place to store this URL? When I used WCF Services it was generated ServiceReferences.ClientConfig, is there something similar for ADO Data Services?
...
I am learning WCF data services (cannot upgrade to RIA) and one of the major benefits I thougth I would get was that it would maintain relations for me and do lazy loads...
Example:
A bidirectional relation:
Order.Items --> OrderItems
OrderItem.Order --> Order
Say I have already a reference to an order. Then I populate its items by ...
I'm fairly new to WCF DataServices (OData) and I need to know the best way to instantiate the entity container on the client without hard-coding the URI. It seems like all of the examples on MSDN describe instantiating the client like this:
Uri uri = new Uri("http://www.someservice.svc");
DataServiceContext svc = new DataServiceContext(...
I am really struggling to insert some data into 2 database tables.
I am using Linq over WCF Data Services using Entity Framework 4.
The 2 tables look like this:
CREATE TABLE [dbo].[Accounts] (
[Id] int IDENTITY(1,1) NOT NULL,
[Email] nvarchar(max) NOT NULL,
[Password] nvarchar(max) NOT NULL
);
CREATE TABLE [dbo].[Employ...
I'm writing an ASP.NET MVC 2 application that uses Entity Framework 4 and WCF Data Services.
I want to manipulate the many-to-many (composite key) relationship between Duties and Workers based on the state of some checkboxes.
A Worker may have zero or more duties. A Duty may have zero or more workers.
This code is from one of my contr...
Before reading, please know I've read all the other posts about the differences between vanilla WCF, WCF Data Services and RIA Services. My question is specifically about why RIA Services is being considered as a special kind of data source specifically for Silverlight when it seems to make more sense to just have it do one job: serve as...
Hi,
I'm looking for a way to expose a subset of my existing business layer (which is based on LinqToSql) via WCF Data Services so that
The Data Service can still be consumed (read AND write) by older odata clients as my business layer evolves over time. It seems that the only way to guarantee this is by making sure the data service do...
I have this code,
Data Summary is a class, it is not an entity. I use it for the anonymous type on "select new"
public class DataSummary
{
public DataSummary()
{
}
public int AccountID
{
get; set;
}
public decimal Total
{
get; set;
}
}
then I have this query
DateTime date...
just a couple of questions?
Is WCF Data Services tightly integrated with EF
Can we have WCF Data Services with our own data contracts (custom classes)? Any links to samples?
If I implement WCF Data Services with custom classes (without using EF), does the methodology support oData standard?
thanks
...
Are there scenarios where it makes sense to encapsulate a data access layer (of a ASP.NET webapplication) with WCF or WCF Data Services ? Makes it sense to use a Service inside the application ?
...
Makes it sense to use ASP.NET applications together with WCF RIA Services or WCF Data Services (to encapsulate the data access layer) ? Or are these technolgies only useful for Silverlight applications.
...
What is the best, efficient and fastest way to expose an existing (class) library (which primarily defines CRUD operations ) as a service (WCF Service or WCF Data Service), so that it can be used with Silverlight or Ajax. Are there tools (code generators, RAD tools), which can support this ?
Thanks in advance for your help and hints.
...
Is it possible to expose a .NET (class) library through a WCF Data Service ? Makes this scenario sense ? Or is the usage of pure WCF the best and only way in this case ?
Background: I have several (old) C# classlibraries (which encapsulate the access to different datasources), which I want to use with Ajax and Silverlight. I cannot and ...
I understand that EF is tightly mapped against database. I also understand that we can generate POCO classes replacing EF based classes.
I have the following scenario.
We have a large framework of legacy non-serializable API written in .NET framework 2.0 (and we cannot modify that). We will not have direct access to database and all ...
I have a need to implement a STS-IP server for our web applications and services. The server will need to issue SAML tokens for the following scenarios:
Business partner submits their SAML token which is converted to a SAML token with the claims required for our applications. This token is used to access our Web Applications and Serv...