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. This integrates various other(.net\java\MSMQ) technologies. The primary focus on the interoperability of different stacks of communication.
43 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
5
votes
1
answer
760
views
Parallel Calls to External WCF Service - ASP.NET Web Api
I have come across a situation where I feel running some code in parallel will greatly improve performance, but I am concerned about the implementation and am looking for some confirmation. Take the ...
1
vote
3
answers
3k
views
Code to pass json data with WCF REST POST
I have a WCF REST POST that has JSON data as input,
IService.cs:
...
1
vote
1
answer
1k
views
Properly disposing of a WCF connection using IDisposable
This is a follow up question to this question:
https://stackoverflow.com/questions/4573526/what-could-be-causing-a-cannot-access-a-disposed-object-error-in-wcf
I have created a WCF service and it is ...
1
vote
1
answer
215
views
Map client application's DTO to service-proxy's DataContract
My idea is to not not expose/use service's Proxy everywhere throughout the application, rather exercising all service communications(using client Proxy) from a single class. To achieve this I have ...
3
votes
1
answer
134
views
Multiple WCF Service with boilerplate error handling
I have several (12) WCF services which are structured like this:
I have inherited a very large 10-year-old project, I've introduced some inheritance so that I can have 1 echo method where I can ...
2
votes
1
answer
2k
views
Service Layer, using Entity Framework 6.2
I would like you to review a part of my warehouse application, a Service Layer to be exact. The architecture of the program is:
DB --> .Data (EF's DbContext/...
1
vote
1
answer
1k
views
Static wcf client to make multiple request with one object
I want to make a static client to call a wcf because the first time I call the wcf it takes too long, even sometimes it throws time out.
I have the following class:
...
3
votes
0
answers
2k
views
wcf service client wrapper for asp.net core
My goal is to grab some data inside asp.net core app on server from external source via wcf service. In future i would like wcf responses to be cached on server and provide asp.net app clients "normal"...
1
vote
0
answers
1k
views
Asset management system
I'm relatively new to developing and I'm mostly self taught so a lot of what I know simply comes from googling & figuring things out from there!
That being said I've put together an ASP MVC ...
13
votes
6
answers
193k
views
Generic Null/Empty check for each property of a class
I have created a method to check for null/empty values of class properties and if any null property is found I'm stopping the checking process and returning the result as true. I've used a solution ...
0
votes
1
answer
3k
views
Method or helper function to return objects from EntityFramework with Linq [closed]
The following code reads from Microsoft EntityFramework 6.0 domain model and returns the single view_patient object. The view_patient object is defined in the backend database and uploaded to the ....
3
votes
0
answers
1k
views
Workaround proxy to be able to call 32-bit dll
I had a problem that I posted on StackOverflow about that I could not connect to windows phone 7 from a 64-bit application. I got one response that said I should try to create a WCF Service over named ...
1
vote
3
answers
2k
views
WCF service and database
I have a WCF service that work with databse. The service should handle incoming message and store messagId into database. Please suggest me how can I improve it?
...
0
votes
1
answer
2k
views
WCF generic proxy caller
I have an ASP.NET web-client and many WCF services. I used it this way:
...
1
vote
1
answer
4k
views
A more optimized / cleaner way of validating WCF input parameter using IParameterInspector
I'm having a WCF Rest service which does input parameter validation by using the IParameterInspector, before calling the actual service method. I have Implemented ...