Windows Communication Foundation is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications.
-1
votes
2answers
81 views
WCF Service or something else (.Net)? [closed]
I'm trying to think of a good way to create a service that will run on 1 or several client machines, that perform some specific functions, most of which will be very long running (days or weeks), ...
0
votes
0answers
26 views
Service Method to Use for Uploading Large Chunks of Data
I have a need to be able to provide a web-based service to upload large amounts of data that would come in as chunks as large as 10,000 lines of 950 byte records, which is 9.5 MB. I've gotten advice ...
1
vote
2answers
167 views
Identity and Access Control in Web API vs WCF
Our team is looking to introduce Web API, MVC/ASP.NET implementation in our SOA. I am having a hard time trying to wrap my head around the identity and access control it has compared to WCF.
WCF has ...
16
votes
8answers
1k views
How do I manage the technical debate over WCF vs. Web API?
I'm managing a team of like 15 developers now, and we are stuck at a point on choosing the technology, where the team is broken into two completely opposite teams, debating over usage of WCF vs. Web ...
1
vote
0answers
172 views
Is OAuth (2.0) is the right choice to make WCF WebService secure?
I have WCF webservice which serves to various mobile application. This was implemented with typical HTTPS/SSL. But there are some cases like Replay Attack needs to be considered in the security ...
1
vote
4answers
160 views
Is Moving Entity Framework objects over a webservice really the best way?
I've inherited a .NET project that has close to 2 thousand clients out in the field that need to push data periodically up to a central repository. The clients wake up and attempt to push the data up ...
1
vote
0answers
55 views
Is Windows Workflow Foundation appropriate for a CPU-heavy async application?
At one of the DevDays conferences a presenter said that Workflow Foundation isn't just for applications that require persistence, but they can make it easier to write and maintain Async WCF code and ...
1
vote
1answer
61 views
Minimizing data sent over a webservice call on expensive connection
I am working on a system that has many remote laptops all connected to the internet through cellular data connections.
The application will synchronize periodically to a central database. The ...
2
votes
2answers
71 views
How do I reduce the number of WCF config files in a SOA?
After embracing the whole SOA thing, I've found that I'm gradually drowning in a sea of web.config and app.config files.
As an example, one system has 2 services that it interacts with. Each service ...
1
vote
1answer
152 views
Interfaces, Adapters, exposing business objects via WCF design
I know there have been countless discussions about this but I think this question is slightly different and may perhaps prompt a heated discussion (lets keep it friendly).
The scene:
I am developing ...
0
votes
1answer
77 views
Uses of WCF Binding
From MSDN, we have the following definition of WCF Binding
Bindings specify how a WCF service endpoint communicates with other endpoints.
At its most basic, a binding must specify the ...
0
votes
1answer
557 views
Why does DataContractJsonSerializer not include generic like JavaScriptSerializer?
So the JavaScriptSerializer was deprecated in favor of the DataContractJsonSerializer.
var client = new WebClient();
var json = await client.DownloadStringTaskAsync(url); // ...
0
votes
1answer
701 views
Implementing a claims-based security model to secure a WCF service
Currently, all of our web applications (and the WCF services they interact with) are run internally. Nothing is exposed to the web. We want to open up our web applications to the Internet and will ...
0
votes
1answer
452 views
Which design pattern is typically used when designing a WCF data services driven Winforms application?
Please excuse me as I am a bit new to the following technologies and practices. I have been given the task to create a management suite utilizing an MDI GUI. This suite will be the front end to a WCF ...
-2
votes
1answer
261 views
How do I create a web service with high amounts of traffic that works effectively with lots of different users? [closed]
I have created web services before that are used by a small number of users but have a new project that would have lots of users.
For each user that uses the services, this is what they would do:
1) ...
0
votes
1answer
749 views
ASP.NET MVC Web Site & WCF Web Service - Sharing functionalities
I have the following situation: I have to create a website and a web service that will share a part of the functionalities.
This is why I do not want to write code twice.
I have thought of the ...
1
vote
2answers
156 views
Designing an API for service operations with closely related parameters
I'm having trouble deciding how to design this service API.
public class GetCurrentValuesRequest
{
public int ReferenceID { get; set; }
public int[] FilterIDs { get; set; }
}
public class ...
1
vote
1answer
128 views
Does Silverlight5 provide anything new for WCF
From WCF standpoint, just wondering whether I can leverage anything after upgrade from Silverlight 4 to Silverlight 5? I did some research regarding new features of SL5 and cannot find anything about ...
0
votes
2answers
1k views
WCF Keep Alive: Whether to disable keepAliveEnabled
I have a WCF web service hosted in a load balanced environment. I do not need any WCF session related functionality in the service.
QUESTION
What are the scenarios in which performances will be ...
3
votes
1answer
210 views
Are Request/Response Parameter Wrappers Good Practice?
I've seen several different ways to design WCF services, and it seems some developers prefer parameter wrappers while others favor 'naked' parameters. To explain what I mean, consider the following ...
3
votes
1answer
702 views
Should web service response use a base class or generic class?
In my RESTful WCF web service I have something like the following response object.
public class WebResponse<T>
{
public bool Success { get; set; }
public T Data { get; set; } ...
0
votes
1answer
102 views
Ria service security
I have a silverlight app that connects to a entity framework over WCF ria service.
These calls have to be secure. What can I do so only valid users can call the ria service, and to make the call ...
1
vote
1answer
94 views
Secure silverlight WCF calls
I have a Silverlight application that uses Entity Framework.
The application are protected with a login made in ASP, so only valid users get the xap file.
Have do I secure the WCF calls to the ...
2
votes
2answers
340 views
Validating Objects With XSDs: Is Re-Serializing Redundant or Negligible?
Context:
I've got a web service that deals with request / response objects. There are strict, externally-defined schemas constraining both the structure and the content of both requests and ...
8
votes
1answer
844 views
Is there an advantage to using WCF or WebAPI for mobile?
I'm looking at doing my first mobile development using Mono Touch and Mono for Android. I'd like them to communicate with an ASP.NET MVC 4 site I'm designing. I've worked with WCF and WebAPI in the ...
2
votes
1answer
102 views
WCF hardware requirement
I read the hardware requirements of WCF in a book and two of them are the following ones:
A DVD-ROM drive
A 1024 × 768 or higher resolution display with 256 colors or more
Why is there a ...
3
votes
2answers
301 views
WCF service as a proxy for publishing real-time data to a WPF/MVVM clients
I've been tasked with creating a dashboard application to show real time updates for our servers. The raw data comes in from an XML file on our intranet which I need to parse and present to the user.
...
1
vote
2answers
288 views
Interaction of a GUI-based App and Windows Service
I am working on personal project that will be designed to help manage my media library, specifically recordings created by Windows Media Center.
So I am going to have the following parts to this ...
1
vote
2answers
509 views
Implement service layer in MVC
We have a defined service layer hosted in WCF. We are now building a website that will need to use the services functionality. The website is being written in ASP.NET MVC 4 and I'm trying to decide ...
1
vote
2answers
53 views
Azure website that talks to third party services
I have website that crawls data from many third party services when user browse to webpage. This can be really slow because I hit third party server and process returned data before showing it to ...
0
votes
1answer
585 views
SOA in .NET 4.5 with MSMQ Durability
I have been doing some investigation regarding ASP.NET Web API. I have enjoyed using the WCF REST template to create new RESTful web services, and Web API seems to be a cleaner iteration on that.
...
-2
votes
2answers
512 views
Apply WCF For Large Projects [closed]
We have a large project that has nearly 20 modules on it. We want to use WCF for the business layer.
We have thought of three ways to implement WCF our project:
Use only one datacontract and one ...
2
votes
2answers
278 views
If I implement a web-service, how do I respond to POST requests with JSON?
I have to make a rather complex system for my diploma work. Logically it will consist of the following components:
Database
Web-service
Management with web interface
Client iOS application that will ...
2
votes
1answer
172 views
Is passing the Model around in this way considered bad practice?
If I have a view called, for example, ViewDetails that displays user information in labels and has a Model called ViewDetailsModel and if I want to allow the user to click a button to edit some of ...
0
votes
2answers
340 views
WCF an Entity Framework connection
I have a 100+ users on a Silverlight application that uses WCF and entity framework.
Everyone has their own database and here comes my problem.
How do I make sure that only the user gets access to ...
0
votes
2answers
518 views
MVC or Extract Service Layer
we have an application that is built with .Net MVC. We are now tasked with exposing API's to third parties. Members on our team want to just continue down our current path and just use more ...
-1
votes
1answer
481 views
How to structure an application that combines WCF and WPF
I'm in the process of learning how to use WCF (Windows Communication Foundation) to allow a client/server desktop application to communicate. The application's UI will be implemented using WPF, and we ...
1
vote
1answer
162 views
Learning Issued Token in Federated Service
I would like to learn federated WCF service. I have the following in my system.
• Windows XP
• Visual Studio 2010 Express
• SQL Server 2008 Express
Is it possible to create a federated ...
2
votes
1answer
334 views
Should I Use WCF For My Purpose?
I wrote two programs that server and client can connect to each other (one program for server and another for client) with their IP addresses (socket programming).
Now I want to modify it so that if ...
1
vote
1answer
276 views
WCF/webservice architecture question
I have a requirement to create a webservice to expose certain items from a CMS as a web service, and I need some suggestions - the structure of the items is as such:
item
- field 1
- field 2
- field ...
2
votes
2answers
489 views
Is this the correct way to implement .NET MVC website structure?
I have recently seen a .NET MVC solution in which the markup in the .aspx views which appear to have a Controller as their model i.e the controller seems to be providing the data for the view, and the ...
4
votes
3answers
3k views
Should I use both WCF and ASP.NET Web API
We already have a WCF API with basichttpbinding.
Some of the calls have complex objects in both the response and request.
We need to add RESTful abilities to the API.
at first I tried adding a ...
3
votes
1answer
386 views
Dealing with API and error messages
We are in the process of constructing an API (using WCF).
So far I noticed 2 ways in which methods could go wrong due to problems with the parameters sent.
wrong format, for example we have a ...
5
votes
2answers
903 views
How should I deal with Time Zones in a .NET WCF application?
Our company runs a SaaS application where users log in from across the world (although mostly in the US). We store all our time relevant information as UTC, but we need to display times using local ...
0
votes
1answer
155 views
Designing a 3-phase commit web service
We already have a fully operational web service which caters requests from multiple paltform devices.
Each device sends only one request at a time and immediately after a response for the request the ...
0
votes
2answers
545 views
Is it reasonable to use POCO's that inherit from DTO's?
I'm designing a tiered .NET application, and I want to use the Code First approach. I'm new to this, so I'm struggling to envision how it ought to be designed. Would the following be a reasonable ...
1
vote
1answer
424 views
Clients with multiple proxy and multithreading callbacks
I created a sessionful web service using WCF, and in particular I used the NetTcpBinding binding. In addition to methods to initiate and terminate a session, other methods allow the client to send to ...
0
votes
1answer
428 views
WCF service and security
Been building a WP7 app and now I need it to communicate to a WCF service I made to make changes to an SQL database. I am a little concerned about security as the user name and password for accessing ...
2
votes
2answers
3k views
Move from JSON to Protobuf. Is it worth it?
We have REST webservices that can serve XML or JSON (WCF). I'm toying with idea of implementing Protobufs. Why?
PROS
Less load on servers.
Smaller message size - less traffic.
It is easier to ...
5
votes
2answers
2k views
Should I swap from WCF to NserviceBus
We have a central server that sends and recieves messages from a number of PCs that are located on client networks in various locations. To facilitate this, currently I'm using WCF with ...