Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wcf]

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

0
votes
1answer
89 views

Wrapping WCF client with Stream for disposing

I need to consume data from a WCF service, which pipes it through a stream. The data itself is contents of an archive file, so it needs additional logic, which I am splitting off into a separate class....
2
votes
2answers
156 views

WCF vs ASP.NET - Binary IPC

I have a windows service and a remote IIS server that need to communicate without any user interaction. As I can’t guarantee the two machines will be on the same network; the service will connect to ...
1
vote
1answer
234 views

Why was WCF designed to violate Liskov Substitution Principle?

When you want to send your own types over WCF, you have to add lots of [ServiceKnownType(typeof(MyFirstConcreteType))] to the interface definition of your contract. You cannot use [ServiceKnownType(...
0
votes
0answers
131 views

WebAPI and WCF in one solution

I've created an ASP.NET WebAPI that runs in intranet network. For some reasons, my client wanted a WCF service (HTTPS) that connected to a public project. May I know if WCF service can consume the ...
1
vote
1answer
204 views

Passing ServiceLayer's services to WCF service

I want to expose my business logic via WCF service in the intranet environment. I have N-tier architecture, pretty simple: Database -> .Data (DAL) -> .Business (Service Layer) -> WCF So, far I have ...
0
votes
1answer
70 views

Does Proxy class belong to Service repository?

I'm building a WCF service project. It has a few layers, like Data, Business or Hosts. I usually also added "Clients" folder and "Proxy" project inside. So that anyone (who wants to use my service) ...
-1
votes
1answer
67 views

Creating an app with a secured performing service the Microsoft way

This week I want to start a greater app project that is expected to handle much data. The app will provide an interactive forum, a media library that allows streaming and a task module with push ...
3
votes
2answers
174 views

How do I debug memory issues on a shared server?

I have an ASP.NET web site on a shared server. The site is mainly used to house some WCF services that are used by a desktop application. We had a problem in that the server stopped responding, and ...
2
votes
1answer
175 views

What features are missing from WCF Rest Implementation

In this question about using WCF and/or WebAPI, there is this quote: I was asking myself the same question until I found this WCF and ASP.NET Web API comparison page on MSDN (with my own emphasis ...
0
votes
1answer
706 views

WCF: Send events between services

I recently worked in a larger project where I touched the topic of distributed systems in the c# world the first time. I found that wcf is fantastic for remote procedure calls, but how do you add ...
-1
votes
2answers
122 views

Outsourcing reporting service for multiple customers [duplicate]

I want to develop a robust system written in C# (WPF and WCF) for importing .csv files (and/or some others e.g. Word files) as a input into my system and then to generate PDF/Word report. I would ...
2
votes
2answers
1k views

Is client-server application with direct connection to database good idea?

Can you made secure, multi-user, client-server application with multiple clients (1-5) directly connecting to database? Or you have to make custom server application and connect them via WCF or ...
5
votes
2answers
929 views

Where do I define WCF client endpoints in a test project?

I have a class library-- call it Services.dll-- which is a wrapper for some third party functionality. The third party gave us a bunch of DLLs and those "inner" DLLs call a WCF service. Normally, ...
1
vote
1answer
782 views

WCF Server for a mobile apps (Xamarin.Forms)

I have a “whiteboard” question. Technically I’d like to ask you about one thing I’m not sure in my design, but if you have time for a quick review the rest of the design - that’d be great. Every tip ...
1
vote
0answers
103 views

WCF Windows Service with plugin pattern, accessing several webservices and a database

I'm redesigning a WCF Windows Service (InstanceContextMode.Single) which was created by an external supplier, while it was super urgent and when there wasn't really much time to design the software. ...
2
votes
2answers
2k views

Logging Implementation in a project using a class library or a web service

I'm currently working on a requirement to implement logging in multiple projects and require to develop a enterprise level logging application that can be using in n number of projects. Present ...
5
votes
1answer
2k views

MVVM best practices with WPF client and WCF duplex service

I've been thinking about how to design my WPF application, which receives data from a WCF duplex service, but I'm afraid of over engineering. I thought about abstracting away the WCF communication ...
2
votes
2answers
8k views

Inter-Process Communication in .NET on the same computer

I want to split a C++/CLI application on two parts : 1. Communication Part, with I/O + logging on text file : 3 COM Ports, 2 sockets and 1 log file 2. UI Part, to handle the data received from COM ...
0
votes
1answer
189 views

Differentiate Callers in WCF Service

I am working on a WCF Service that returns the Status for a Device. A Device has multiple Status for different Companies. I need to develop a WCF Service that allows a Company to retrieve the Status ...
1
vote
1answer
701 views

Design pattern for WPF

Have a plain WPF that started a proof of concept got demoed and bought and went down that path for a couple years. Time to start fresh and would like to know proper pattern. A WPF app that will ...
1
vote
1answer
650 views

Can you create duplicate instances of the same program on different machines asynchronously?

Okay so I work on a server application that has multiple communication methods. Including but not limited to WCF, TCP and RESTFUL. These all share information with clients but recently we have been ...
1
vote
0answers
1k views

Two way communication between applications

I am currently looking into re-architecture of some of my organization applications. Other questions aside, the one that I am currently trying to figure out the best approach for currently is the ...
1
vote
1answer
421 views

Consume ASP.Net REST API service

I am creating ASP.Net REST API application and stuck on the part where I should consume the REST service. I am not sure how to find the way let me accomplish the following: 1. I don't want it to be ...
2
votes
0answers
157 views

Implementing workflow to an enterprise application [closed]

We are a few developers develoing an enterprise project includes several modules and approximately 200 UI resources for our company. Project will be written/programmed in Asp.NET MVC, WCF services for ...
1
vote
1answer
4k views

use of minOccurs=“0” without nillable=“true” in SOAP

I have received an XSD from a 3rd party supplier generated from a Java based system; which is to be used to create a SOAP endpoint for us to receive data transfers. Their XSD does not make any use of ...
1
vote
2answers
415 views

How to execute multiple timed intervals?

I'm having a hard time planning how to implement the architecture. The problem: > A user can save a number of profiles: > Name > URL > Time Interval Name | URL |...
1
vote
2answers
142 views

Architecture supporting digitally signing of tons of soap requests [closed]

What is the optimal architecture for such case: Web application(.Net Web Forms) connects to third party web service via wcf. Third party web service accepts only digitally signed soap requests Some ...
1
vote
2answers
732 views

WCF service design

I am rather new to WCF (or rest, or Json for that matter) and I'd like to have some expert opinions on which methods to define. Some short introduction to give an idea of what the webservice should ...
1
vote
0answers
758 views

Architecture for C# Chat Application - not sure if WCF is right

I had written a WCF based "chat/notification" system but I am questioning my decision if WCF is a good fit. I have an external 3rd party lib that calls my process when events arrive: public class ...
3
votes
0answers
215 views

Architecture: mobile apps for different clients with their own dbs different servers?

My general feeling is that this is a question which must have been answered but I am struggling to find resources for it. I know little about mobile app dev but my knowledge of web services is pretty ...
0
votes
0answers
538 views

Is using a self-hosted service a viable option for launching applications from a url?

We have a third party supplied application with a button that enables the opening of another application showing related data when pressed (these applications are made by completely different ...
0
votes
0answers
55 views

Resource manager for restful service

I was just brought onto a project with a service oriented architecture. There is a central WCF "profile service" that all projects call to get information on users etc. That central profile service ...
0
votes
1answer
964 views

When to implement WCF Rest Service and WebApi

I have gone through many articles to understand why we need WebApi's when we can create restful architecture using WCF rest services but could not find some solid reason. Can we use these ...
2
votes
2answers
971 views

WCF service with methods to fetch data

I'm planning on building a WCF service that will fetch data entities from a Sql Server database. And I'm currently struggling with best practices issues. The thing is that there's a few different ...
2
votes
1answer
1k 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 (...
1
vote
2answers
2k 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 ...
3
votes
1answer
1k 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
1answer
654 views

Should i avoid FaultException for Custom Validation Error messages to client [duplicate]

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
151 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, ....
6
votes
3answers
931 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, ...
1
vote
1answer
796 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
1k 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
218 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 that ...
1
vote
1answer
2k 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 ...
1
vote
2answers
3k 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
850 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 ...
2
votes
0answers
157 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 ...
7
votes
0answers
1k 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 4.5.1....
3
votes
1answer
6k 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 ...
-1
votes
2answers
318 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 ...