Windows Communication Foundation is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications.

learn more… | top users | synonyms

0
votes
0answers
6 views

how to use '&' in URL Params for Rest Service Method [migrated]

I am using postman extension in chrome as RestClient. My service url is as follows http://localhost:22/myserv.svc/InsertData?Id=1223&OffcName=my office&pid=2234 this is saving correct in ...
2
votes
1answer
137 views

WCF Versioning, Naming and Endpoint URL

I have a WCF Service and a Main Lib1. Say, I have a Save Profile Service. WCF gets data (with predefined data contract) from client and pass the same to the Main Class Lib1, generate response and ...
1
vote
1answer
44 views

How to stop the WCF service (database queriying) running behind

I have a WCF service which will get an object with huge data from database in the form of collection. I have a UI which has get and cancel buttons . Get button : make service request and continue ...
1
vote
1answer
131 views

WCF service - best way to accept requests from a client and do background work?

For a project at work, I was tasked to create a WCF service that will receive email messages from client and queue them on a database, while at the same time the service will check the DB every 30 ...
0
votes
2answers
97 views

How do I access databases from a mobile device securely?

I have been doing some research on accessing a DB from mobile devices. There are so many different ways of doing it. There are also multiple ways to make it secure. What is a good way to access a ...
0
votes
1answer
356 views

Domain driven design and WCF services architecture

I am trying to figure out how to architecture my project in the DDD paradigm (a complete beginner in DDD) and stumbled upon a problem about the implementation of the web services... These are some ...
0
votes
0answers
57 views

Single configuration file for multiple WCF services

We have a scenario where we have multiple WCF services hosted on the same server connecting to same database. But currently they all have their separate web.config files. So each time there is some ...
0
votes
2answers
3k 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 ...
2
votes
0answers
126 views

Are Calls to a WCF Service via JSONP Secure?

I am looking at developing a complete HTML5/JS mobile app that can be deployed to Android, iOS and Windows platforms. I am using DevExtreme tools to help me do that. I already have a WCF service that ...
0
votes
0answers
80 views

How to handle field level Acces Security when using Entity Framework

Scenario: a large existing system (~300 tables, 500 stored procs, 200 views and a code base of several 100k lines) with most security level stuff in stored procedures needs to be refactored (for ...
32
votes
10answers
8k 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 ...
2
votes
0answers
130 views

How to implement DDD in a distributed application with NHibernate?

I have an ASP.NET MVC web site working in this way: (In the controller) var user = _applicationService.GetUserById(1); user.ChangeEmail("mynemail@somewhere.com"); user.ChangeAddress("my new street", ...
1
vote
1answer
285 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
194 views

WCF service to get an atom feed

I am very new to programming and my first task is to create a WCF service that will take an ATOM feed and expose it to my application. Now, I've read up on XML serialization and syndication but it ...
1
vote
2answers
110 views

Should db be mapped directly to the UI or should there be multiple layers of enties/models with mappings to/from each?

I would like to know arguments for/against this concept. Technologies in use from the bottom up: MSSQL 2012 DB (exclusively accessed via sprocs) Entity Framework WCF Web Service ASP.NET Webforms ...
3
votes
1answer
360 views

Developing workflow for existing silverlight and WCF application

I have an already existing application in Silverlight 4.0 with WCF services. Now what I want is a workflow to be integrated along with the above application. The workflow will be a simple approval ...
1
vote
1answer
2k 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); // ...
1
vote
2answers
206 views

WCF and object-oriented programming

I am building a program which would have WCF support. I am using the MVC pattern. For each controller there is a WCF service class. e.g. I have CTRL.CTRLBooking, WCF.IWCFBooking and WCF.WCFBooking. ...
0
votes
2answers
571 views

I'm currently behind two NAT's with no public IP. Is there a way to self-host a client/server application? [closed]

I'm planning to write some small application for me & my friends. Specific functionality aside, it should allow me to "host" a session (using a dedicated server application) and my friends to join ...
-1
votes
1answer
2k views

WCF or ASMX WebService [closed]

I have been asked to create a web service that communicates with Auth.NET CIM and Shipsurance API. My web service will be used by multiple applications (one a desktop and another a web application). ...
0
votes
4answers
2k views

What is the difference between WCF service and a simple Web service in developing using .NET Framework?

My questions are: What is the difference between WCF service and a simple Web service in .NET Framework? What a WCF Service can do which a .NET Web service cant? In other words, what are the ...
0
votes
0answers
126 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
1answer
1k 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
2answers
591 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
vote
2answers
1k 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 ...
5
votes
5answers
2k views

JQuery / JSON + .Net Service Layer - to WCF or Not to WCF?

I Recently had a discussion with a colleague of mine about the pros / cons of WCF. He mentioned about how much code is generated to support WCF, and also the overhead required. It was mentioned that a ...
1
vote
0answers
336 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
838 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
130 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
87 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
119 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 ...
0
votes
1answer
110 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 ...
1
vote
1answer
819 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
2answers
534 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 ...
0
votes
1answer
157 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 ...
-2
votes
1answer
442 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
1k 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
190 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
137 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 ...
2
votes
2answers
680 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 ...
3
votes
1answer
599 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
2k 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; } ...
1
vote
1answer
177 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 ...
4
votes
3answers
5k 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 ...
8
votes
1answer
1k 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 ...
13
votes
3answers
8k views

ASP.NET MVC vs WCF for REST API + Webpage usage

I think the discussion for programmatic service oriented usage vs human interaction is clear. But if I were to create an application that makes use of both a programmatic API and a website that makes ...
2
votes
1answer
127 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 ...
1
vote
2answers
69 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 ...
4
votes
2answers
452 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
510 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 ...