1
vote
1answer
46 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 ...
0
votes
1answer
363 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
574 views

I'm currently behind two NAT's with no public IP. Is there a way to self-host a client/server application? [closed]

I'm planning to write some small application for me & my friends. Specific functionality aside, it should allow me to "host" a session (using a dedicated server application) and my friends to join ...
-1
votes
1answer
2k 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). ...
0
votes
1answer
110 views

Uses of WCF Binding

From MSDN, we have the following definition of WCF Binding Bindings specify how a WCF service endpoint communicates with other endpoints. At its most basic, a binding must specify the ...
1
vote
1answer
2k views

Why does DataContractJsonSerializer not include generic like JavaScriptSerializer?

So the JavaScriptSerializer was deprecated in favor of the DataContractJsonSerializer. var client = new WebClient(); var json = await client.DownloadStringTaskAsync(url); // ...
1
vote
2answers
190 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
605 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
2k 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; } ...
8
votes
1answer
1k 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
859 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
191 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
212 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
624 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
324 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
534 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 ...
3
votes
1answer
593 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 ...
6
votes
2answers
1k 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
712 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
514 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
1k 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
1k 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
3k 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
359 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
501 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
747 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
379 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 ...
5
votes
3answers
761 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
329 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 ...