I'm trying to determine the best approach for building a WCF Service, and the area I'm struggling with most is returning lists of objects.
The built-in maxMessageSize of 64k seems pretty high, and I really don't want to bump it up (quick googling finds 100s of places bumping the maxMessageSize up to multi-gigabyte range which seems fool...
What is the difference in a module oriented solution and service/component oriented solution?
...
Rather new to REST and Jersey, and I'm trying out some basic examples. I've got one particular question though, which I haven't really found an answer for yet (don't really know how to look for this): how would you go about storing/defining common services so that they are stateful and accessible to all/some resources?
For instance, a l...
Hello,
I am just studying the code of Sacha Barbers MVVM framework Chinch and I saw this in the xxxViewModel.cs file:
DataService.FetchAllOrders(CurrentCustomer.CustomerId.DataValue);
DataService is a Static class. Being a junior dev I am only used to Interfaces with Data services. Why is that class static?
Or do you think he made i...
Hi,
I have a custom class declared as follows (in vb.net)
<Serializable()> _ Public
Class NumInfo Public n As String
Public f As Integer Public fc As
char() Public t As Integer
Public tc As char() Private
validFlag As Boolean = True Public
Sub New() End Sub 'I also have
public properties(read/write)...
Flex newb here. I'm working in flashbuilder 4 (flex4?), and am being asked to create the client-side data services integration 'layer' in a flex app. There is another team working on the actual UI/Presentation. Both parts must be deployed in a single swf.
If I use the data/services wizard to build out my service connections (and gene...
I want to cache running web services in webfarm scenario.
...
Hi,
I am have two mining models, both are time series. One is [Company_Inputs] and the other is [Booking_Projections].
What I want to do is use EXTEND_MODEL_CASES to join the results of [Company_Inputs] as the extended cases.
So basically something like:
Select Flattened
PredictTimeSeries([Bookings], 1, 6, EXTEND_MODEL_CASES)
FROM [B...
how to get version of installed component services on remote machine using c#?
...
Hi,
with the ref of page:
http://stackoverflow.com/questions/2469594/how-to-access-a-php-web-service-from-asp-net/2825735#2825735
I got following code; I cudnot find "requestXmlString" in whole code, where to declare and what is in this variable? Its urgent please.
private string MakeWebServiceCall(string methodName, string requestXm...
Hello,
I would like to ask a few questions to make sure that I understand things.
When creating a web service using tomcat and axis, I create an interface defining the methods that I am going to expose. so far so good. I have a couple more classes as well. I compile my classes (.class files no jars) an store them in WEB-INF\classes .....
I have three tables, Template, Fields and TemplateFields. TemplateFields holds the selected fields for each template.
I need to update TemplateFields when the user is finished selecting the fields. The only way I can see to do this is by deleting all the TemplateFields for that Template and then add them one by one in separate requests...
Hi All,
I am developing a silverlight 3 application using WCF RIA services. I am using the AuthenticationBase class to handle my authentication. As I understand it under the hood this uses the ASP .NET authentication libraries.
When I log into the site the authentication service handles login state so that if I close the site and open ...
I installed yammer application in my centos(linux) machine.It is starting at the time of starting the machine.How can i know its service name and how can i delete from startup....?
...
Hi there.
I have some problems with decisions on the design of ASP applications.
The most articles i read in the last time, said that you should use instanciated services instead of static or singletons.
But i get some headache, thinking about creating all services for each request i get and keep them in memory till garbage collector d...
Assume I have code like this:
var svc = new Namespace.SvcClient();
var request = new Namespace.SvcRequest();
request.SomeProperty = "Value1";
request.SomeProperty = 4.0d;
var response = svc.Request(request);
SetText(response.Result.ToString());
svc.Close();
What I want to have is the actual XML that got sent out as the result of svc.R...
I would like to set the visiblity of columns based upon the value selected in a paramater.
The problem is I do not want a specific paramater to do this (i.e Hide column X True/False)
My report has several diffrent "departments" who are only intrested in certain columns.
What would be the syntax for example to hide the "Sales" column ...
I am developing a web service and I need to send a username and password to the service in a GET method. Is it OK to send this information in the uri as long as it's going over a secure channel like ssl? In other words, can I have a uri that looks like /users/{username}/{cleartext_password}?
Edit: Sorry, I think I was unclear. The web s...
Hi all,
I'm developing an application using asp.net mvc, NHibernate and DDD. I have a service layer that are used by controllers of my application. Everything are using Unity to inject dependencies (ISessionFactory in repositories, repositories in services and services in controllers) and works fine.
But, it's very common I need a met...
How can I stop a service and wait for it to finish stopping in vbscript?
I've got this so far:
For Each objService in colServiceList
If objService.DisplayName = "<my display name>" Then
objService.StopService()
End If
Next
Googling turned up a suggestion of using objService.WaitForStatus( ServiceControllerStatus.Stopp...