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

-2
votes
0answers
29 views

How to generate security header in WSI profile from WCF service client [on hold]

Changed the code with WSE extensions.Basically i am trying to call external web service from WCF service, but in the provided wsdl and xsd i saw that there is user token element, when i searched in ...
1
vote
0answers
97 views

Events in WCF Service Architecture (Server Side)

Problem: Now, I have some events that will take place when the client submits a request to the server. These events will arise on the server and they will be subscribed by the services themselves ...
-3
votes
0answers
27 views

ASP Database and Phone [closed]

I have created an asp server program that uses wcf data services to access a database. I have created a website that correctly uses the services. I would like to create a Windows 7 phone app that uses ...
1
vote
2answers
119 views

DLL or web service for common functions?

We have a variety of basic functions (date utilities, email sending, internal math calculations, etc) that are currently in an old VB.NET project. We're going to move towards C# and I'm wondering if ...
2
votes
1answer
54 views

Advice on architecture (WCF / MVC)

First of all, the basics. N-tier application: presentation, business layer, database. It is an old .NET 2.0 (WSE + WinForms) application, a bit more tightly coupled than I'd like, and the requirement ...
-1
votes
0answers
13 views

Choosing security scenario for WCF service/client hosted by IIS

in my case I have web server (hosted by IIS) in DMZ hosts multiple web services (WCF), the clients are non-server application (they are standalone .NET application) reaching these web services via ...
0
votes
1answer
40 views

Should i avoid FaultException for Custom Validation Error messages to client

We are as a team working on a project which currently using WCF as in between client and server. All business rules are written on managers classes which are used by service so its means no ...
0
votes
0answers
42 views

In WCF, why would one deliberately use strict schema validation?

I'm reviewing best practices articles for WCF versioning. A lot of the recommendations revolve around one decision: "Are you using strict versioning? If so, treat every contract as immutable. If not, ...
5
votes
3answers
156 views

Is this breaking SOA?

We're havng a bit of a disagreement in our team, and I would like to hear other people's views. We have a mature solution that uses an Entity Framework model, which is accessed by a repository layer, ...
0
votes
0answers
47 views

Result with value or error returned from service c# [duplicate]

First of all, let me explain the current situation. In a ASP.NET project, we do some ajax calls to a WCF service. This service always returns a value when called. But this is the way they implemented ...
1
vote
0answers
149 views

How shall I project CQRS command and query services through WCF

I got directed to this site for more conceptual questions. Here is my issue: Im designing an application that uses CQRS to expose functionality to higher levels in the stack. This looks like below ...
0
votes
1answer
222 views

WCF Project Structure & Maintainability

We are working on a medium scale WCF project configured to use per call instancing and wondering weather it's a good practice to create classes per service method to hold the business logic since each ...
2
votes
1answer
82 views

SOA principles, encapsulation and autonomy

We are developing multiple web services in C# using WCF, but we´re new doing it. So, for what we have read and learnt, this is our approach: We have a class library that we called CommonLibrary ...
2
votes
2answers
563 views

Database performance comparison

I have been tasked with moving from a MSSQL backed database, entity framework code-first, wcf service based MVC application to a MySQL backed database. I have had being trying to find a performance ...
1
vote
1answer
244 views

.NET WCF: Persistent connection or Open/Close as needed?

I have a .NET WCF web service currently running in production right now. I would say 95% of the time it works flawlessly and as intended. However; there are times when I am throwing an exception that ...
0
votes
2answers
823 views

Clients connect to WCF or SQL Server

I was wondering what is the prefered way of accessing data from a server in a client application. The data will be stored on the server in an SQL database and I have previously used the following 2 ...
1
vote
1answer
196 views

What is the best and most optimized way to return a filestream from a .NET WCF SOAP service?

To give some background, i have a WCF SOAP service in .NET that needs to return pdf files. This service will be used by multiple application, many times in a day. The size of the files returned varies ...
1
vote
0answers
96 views

MVC Sites and Entity Framework (using DbContext)

I've been looking at a couple of the MVC tutorials on the ASP.NET website and and have noticed numerous of them make use of Entity Framework (especially the Identity provider stuff). Maybe my ...
2
votes
0answers
174 views

Caching Strategy: WCF Buffer pooling and size

I am currently trying to understand the best configuration for caching. I am using Azure In-Role caching (currently Colocated, but Dedicated at a later point) in a Web Api 2 application in .NET ...
1
vote
1answer
688 views

Best practise to versioning Web Service WCF

I've a web service SOAP developed with WCF, there is a best practise to versioning it? when I change the contract I don't want to update all the client's referiments but I want simply publish a new ...
0
votes
2answers
110 views

how to modularize wcf services?

I am working on a WCF application that supports 4 different applications. lets call those 4 application: App1, App2, App3, and App4. this WCF Application has 4 services. one for each application. 4 ...
0
votes
1answer
154 views

Can't understand on how to implement MVP/MVC for my software requirements [closed]

Recently I decided to start developing a client/service based system using WCF and a Duplex Channel (callbacks from Service to client). The clients will behave as "slaves", that is, they will only ...
0
votes
0answers
17 views

Storing a WCF endpoint in the registry - worried about security

I am storing my wcf endpoint in the registry, and using that whenever my app starts up to instantiate a wcf derived object. The user can change the endpoint location, to another server, and the ...
0
votes
1answer
524 views

WCF vs Web API, Deeper details? [closed]

Before I continue, I just want to mention I have heavily researched and searched on this topic, but I need the opinion of people who have worked/and or have practical knowledge with regards to this ...
1
vote
0answers
257 views

Should I use WCF, raw Sockets, or something else to send receive data from a command line app?

I have a command line app, that will be multi-threaded and serve inbound and outbound clients. It will send and receive Binary data structures generated by protobuf.net My question is, how should ...
1
vote
1answer
160 views

Long running task initiated in the web site

The plan is to develop generic solution for long running task initiated in web site by users such as: 1. upload large file and do some custom processing and then insert in the database. 2. export ...
1
vote
0answers
183 views

ISerializable vs WCF attributes

In C# .NET there is two main possibilities to serialize and object. Implementing the ISerializable interface? Using the [DataContract/DataMember] serialization attribute of WCF? What are the ...
0
votes
1answer
192 views

Problem : Certificate for multi Clients of WCF

If My WCF service have big number of clients through the Internet,then whether should all of them share the same Client Certificate(X509)? And if their certificates should be unique , what should I ...
0
votes
2answers
171 views

Server should accumulate several requests and to retrurn response for all

For example I have a server [c#] and 4 clients. When the first client sends a request to the server I want to push a notification to the other 3 clients that they should send a request to the server ...
0
votes
1answer
124 views

X509 certificate question on WCF

My condition: A WCF service which is self-hosted and it's on a Win8 Machine. Client is a WPF Program on another machine. Then I follow the article on Codeproject about how to set X509 certificate ...
2
votes
2answers
157 views

Is WCF strictly an asynchonous comms platform?

Since I last had to do any comms/network programming, the field has exploded with acronyms. In fact, networking almost feels like it is now described by a whole new language. The very name "Windows ...
2
votes
3answers
151 views

Reliable secure data exchange between service written on .NET and an iOS client app

I have a service written on .NET working on a company server. It designed to do a very simple thing, to receive a request via WCF named pipes from another service working locally on the same server, ...
1
vote
1answer
610 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
939 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 ...
3
votes
1answer
1k 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
2answers
180 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
236 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
270 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
239 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
373 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
163 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
273 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. ...
2
votes
1answer
242 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
3k 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). ...
1
vote
2answers
2k 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 ...
39
votes
10answers
14k 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
453 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
1k 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
172 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
93 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 ...