Tagged Questions
1
vote
2answers
94 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 ...
3
votes
1answer
135 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
309 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; } ...
7
votes
1answer
419 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
2answers
303 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
1answer
153 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 ...
1
vote
1answer
131 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
232 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
261 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
2answers
464 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
1answer
294 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
741 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 ...
1
vote
1answer
353 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
367 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
1answer
807 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 ...
2
votes
3answers
755 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
2answers
228 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 ...
1
vote
1answer
305 views
Where should I locate the cache in a WCF service?
I am going to build a Windows Communication Foundation (WCF) service using Microsoft Enterprise Library for caching. I am wondering whether or not I should put the cache in the service layer. If I do ...
3
votes
2answers
590 views
thick client migration to web based application
This query is related to application design the technology that I should consider during migration.
The Scenario: I have a C#.net Winform application which communicates with a device. One of the main ...
4
votes
1answer
290 views
Architecture: for a Single website to be supported for different Clients
I have developed a system with one company profile.
The system is built using WCF services, asp.net.
Now another company wants to use our system as well. And they might need some customization and ...
3
votes
3answers
588 views
What is the best way to scale a CQRS system?
In the previous months I have been asking a lot of questions concerning the architecture of an application I'm working on. Thanks to the answers the architectural design has changed - in fact, it has ...
2
votes
2answers
254 views
Best way to expose a data-oriented service
I'm currently tasked with writing a wcf service that, for now, will only used inside the company network, the problem is that I'm not sure how I should handle the operations it exposes.
The software ...

