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
11 views

WCF, Net.Tcp endpoint, code-first [migrated]

I have a WCF service, this service works perfectly well on a WSHttp endpoint, running as a Windows service under ServiceHost. However I want to move to a TCP endpoint, because of scalability. For the ...
0
votes
1answer
89 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
14 views

Instantiate service class dependencies during service start up- WCF [migrated]

I have created a WCF service which uses a singleton class. This service is hosted as windows service. Creating instance of singleton class will take time. So I want to create the instantiate of the ...
0
votes
0answers
32 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
1answer
66 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 ...
2
votes
0answers
81 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
33 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 ...
2
votes
0answers
96 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", ...
0
votes
1answer
133 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
94 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 ...
1
vote
2answers
191 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
425 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 ...
2
votes
1answer
100 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
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
0answers
113 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
842 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 ...
31
votes
10answers
6k 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
301 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
613 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
103 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
85 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
107 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
259 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
103 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
1k 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
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 ...
1
vote
1answer
729 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
403 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
180 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
135 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
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 ...
3
votes
1answer
454 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
1k 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
146 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
161 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
544 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
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 ...
2
votes
1answer
120 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 ...
4
votes
2answers
415 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
398 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
631 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
64 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
785 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
730 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
343 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
189 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
444 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
579 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 ...
0
votes
1answer
604 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 ...