Windows Communication Foundation
3
votes
1answer
57 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
57 views
Capturing and Replaying a web service call
I am getting a strange web service error. I am hosting a WCF service that the client calling it, is consistently getting a 400 (Bad Request) back from IIS. I am unable to determine the cause of this, ...
1
vote
1answer
32 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 ...
3
votes
1answer
79 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 ...
6
votes
1answer
168 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
74 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 ...
3
votes
2answers
123 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
145 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
264 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 ...
0
votes
2answers
85 views
Hosting WCF over internet [closed]
I am pretty new to exposing the WCF services hosted on IIS over internet. I will be deploying a WCF service over IIS(6 or 7) and would like to expose this service over the internet. This will be ...
1
vote
2answers
40 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
208 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
196 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
210 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
144 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
218 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
1answer
286 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
votes
1answer
279 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 ...
1
vote
1answer
98 views
Learning Issued Token in Federated Service
I would like to learn federated WCF service. I have the following in my system.
• Windows XP
• Visual Studio 2010 Express
• SQL Server 2008 Express
Is it possible to create a federated ...
2
votes
1answer
177 views
Should I Use WCF For My Purpose?
I wrote two programs that server and client can connect to each other (one program for server and another for client) with their IP addresses (socket programming).
Now I want to modify it so that if ...
1
vote
1answer
243 views
WCF/webservice architecture question
I have a requirement to create a webservice to expose certain items from a CMS as a web service, and I need some suggestions - the structure of the items is as such:
item
- field 1
- field 2
- field ...
2
votes
1answer
365 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 ...
2
votes
3answers
768 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 ...
2
votes
1answer
188 views
Dealing with API and error messages
We are in the process of constructing an API (using WCF).
So far I noticed 2 ways in which methods could go wrong due to problems with the parameters sent.
wrong format, for example we have a ...
5
votes
2answers
652 views
How should I deal with Time Zones in a .NET WCF application?
Our company runs a SaaS application where users log in from across the world (although mostly in the US). We store all our time relevant information as UTC, but we need to display times using local ...
0
votes
1answer
128 views
Designing a 3-phase commit web service
We already have a fully operational web service which caters requests from multiple paltform devices.
Each device sends only one request at a time and immediately after a response for the request the ...
0
votes
2answers
299 views
Is it reasonable to use POCO's that inherit from DTO's?
I'm designing a tiered .NET application, and I want to use the Code First approach. I'm new to this, so I'm struggling to envision how it ought to be designed. Would the following be a reasonable ...
1
vote
1answer
309 views
Clients with multiple proxy and multithreading callbacks
I created a sessionful web service using WCF, and in particular I used the NetTcpBinding binding. In addition to methods to initiate and terminate a session, other methods allow the client to send to ...
0
votes
1answer
297 views
WCF service and security
Been building a WP7 app and now I need it to communicate to a WCF service I made to make changes to an SQL database. I am a little concerned about security as the user name and password for accessing ...
2
votes
2answers
2k views
Move from JSON to Protobuf. Is it worth it?
We have REST webservices that can serve XML or JSON (WCF). I'm toying with idea of implementing Protobufs. Why?
PROS
Less load on servers.
Smaller message size - less traffic.
It is easier to ...
5
votes
2answers
1k views
Should I swap from WCF to NserviceBus
We have a central server that sends and recieves messages from a number of PCs that are located on client networks in various locations. To facilitate this, currently I'm using WCF with ...
4
votes
3answers
475 views
Is WCF suitable for writing an application which is shared among applications?
I have developed and deployed few ASP.NET applications. Sometimes I want to stop the users from either inserting or updating a record when:
Maintenance is going on.
Stop operations due to payment ...
3
votes
1answer
860 views
What is a good design pattern / lib for iOS 5 to synchronize with a web service?
We are developing an iOS application that needs to synchronize with a remote server using web services. The existing web services have an "operations" style rather than REST (implemented in WCF but ...
0
votes
2answers
236 views
Is WCF a good fit for this problem?
I'm working to implement a data service solution that has 2 request functions but can respond with one of 3 transmission types:
x12 EDI
HTTP MIME multipart
SOAP/XML + WSDL
I would also need to ...
4
votes
4answers
975 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 ...
2
votes
1answer
307 views
Designing A 2-Way SSL RESTful API
I am starting to develop a WCF API, which should serve some specific clients.
We don't know which devices will be using the API so I thought that using a RESTful API will be the most flexible choice.
...
2
votes
1answer
682 views
Using WCF as an API for Database access by the GUI, or no?
Originally I asked this question on Stackoverflow but I was suggested to move the question here.
I've asked this question a while ago in MSDN forums but I'd like a second opinion from ...
0
votes
0answers
329 views
Authentication & Authorization and Auditing in WCF services
I'm trying to find out what are the best possible solutions to achieve Authentication, Authorization & Auditing in service oriented applications.
The scenario is as below :
1. WCF web service ...
2
votes
3answers
564 views
chat/game server best way to implement, is WCF the way to go? [closed]
I'm creating a game on wp7 and it will be an online game played between a max of 4 players. The game will be a turn based game. My question really is what is the best way to do this server wise? is ...
-2
votes
1answer
1k views
Communication between WCF service [library] and Self-host [Winform]
Introduction:
I have a WCF service library and a self-host Winform.
Service features is File explorer including (copy, move, delete, new folder, delete... etc) and Task Manager (run, kill, update ...
9
votes
3answers
1k views
WCF to Java webservices interop seems surprisingly problematic. Any good resources?
With a recent project our .Net based dev team has been tasked with integrating with a whole host of java based web services around the world, and we really have had a surprisingly (well, we are ...
13
votes
3answers
5k 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 ...
3
votes
4answers
3k views
REST Service Authentication/Authorization
I have a WCF rest service that will be consumed by multiple clients. The information returned by the client requires me to know who they are, so that I can return information specific to them.
Is ...
0
votes
3answers
129 views
Solutions for software using many calls to a server
I am developing software that uses many calls to a server. On a client side it's a Silverlight application. Almost every time a user clicks on a button in it, it sends 1-5 WCF calls to a server. There ...
8
votes
1answer
1k views
How to build a good service layer in ASP.NET?
I have looked through some questions, technologies for building a good service layer but I have some questions regarding this that I need help with.
First some information of what I have for ...
3
votes
1answer
914 views
JavaScript client for talking with WCF server with WebSockets binding
I'm excited about the possibilities for duplex communication with WebSockets between a web browser and web server. I see that WCF for .NET 4.5 supports a WebSockets binding now, and I know there's a ...
1
vote
1answer
2k views
What security is used by default in WSHttpBinding (service side) or the WCF Test client (client side)?
I recently moved a service from BasicHttpBinding to WSHttpBinding (i.e. soap 1.1 -> soap 1.2). In WCF, using WSHttpBinding() makes it start using some default security settings. I presume the same ...
3
votes
2answers
596 views
If ASP.NET MVC 4 supports RPC style communication what does that mean for WCF?
From http://www.microsoft.com/download/en/details.aspx?id=28942
ASP.NET MVC 4 also includes ASP.NET Web API, a framework for building
and consuming HTTP services that can reach a broad range of ...
9
votes
2answers
182 views
Imitating Exchange Server's “RBAC AuthZ” in my own application… (is there something similar?)
Exchange 2010 has a delegation model where groups of winrm cmdlets are essentally grouped into roles, and the roles assigned to a user.
(Image source)
This is a great & flexible model ...
3
votes
2answers
513 views
How should an iPhone app connect to a .NET service?
I need to accept text and photo data from an iPhone app. Normally I would write a web service or a windows service with WCF for client server connections. I'm not familiar with iPhone apps, what is ...