Hello. I hope you can help me with this. I have to write an application in
C# that is more or less this:
1.- I have different clients that receive data from a central server.
2.- The server sends the initial data to the clients and keeps waiting for
responses.
3.- The clients generate new data and send it back to the server to complete
some operations.
4.- When the server finishes the operations requested, it sends back again
the data to the clients.
5.- Finally, the clients end the operations and send the final data to the
server.
6.- The server stores the completed data in a data base.
Important issues:
* When the server works with the data sent by the clients in step 3, it
opens an entry in a table with information of the process, so it can
complete the information in step 6 and store the data in the data base.
Firstly I decided using web services and send the information (objects) via
web methods, but there was two problems: the proxy generates its own
objects, incompatible with the original objects and the second, each time a
web method is called, a new object is created, so I can't store temporary
information in the table.
I asked for help and people talk me about two solutions:
- Serializing the table in each call: I think it's not very efficient (isn't
it slow?)
- Using remoting: I should learn first about remoting :-\
What do you think?
Regards,
Diego F. 1 1136
Diego, you can create your own protocol for clients and server to
communicate between each other.
suppose, you have a class A that contains three variables of types int,
string, float...
There is no need to serizlize it into xml, you can create packet where you
will
write the type of data, it's length, and the packet's intent (so-called
packet code)
clients, or server will get that packet anilize it, and have a possibility
to constrcut object, or save data into db...
--
Vladimir Scherbina,
Ukraine, Kiev.
"Diego F." <di*****@NOterr a.es> wrote in message
news:#j******** ******@TK2MSFTN GP10.phx.gbl... Hello. I hope you can help me with this. I have to write an application in C# that is more or less this:
1.- I have different clients that receive data from a central server. 2.- The server sends the initial data to the clients and keeps waiting for responses. 3.- The clients generate new data and send it back to the server to
complete some operations. 4.- When the server finishes the operations requested, it sends back again the data to the clients. 5.- Finally, the clients end the operations and send the final data to the server. 6.- The server stores the completed data in a data base.
Important issues: * When the server works with the data sent by the clients in step 3, it opens an entry in a table with information of the process, so it can complete the information in step 6 and store the data in the data base.
Firstly I decided using web services and send the information (objects)
via web methods, but there was two problems: the proxy generates its own objects, incompatible with the original objects and the second, each time
a web method is called, a new object is created, so I can't store temporary information in the table.
I asked for help and people talk me about two solutions: - Serializing the table in each call: I think it's not very efficient
(isn't it slow?) - Using remoting: I should learn first about remoting :-\
What do you think?
Regards,
Diego F.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mel |
last post by:
i have the following script that works:
window.onbeforeunload = confirmExit;
function confirmExit()
{
return "YOU ARE LEAGING THE CHAT"
}
|
by: Mobile Boy 36 |
last post by:
I'm trying to make a very simple Textbox with a FocusColor property...When
the focus
changes to the
control, the backcolor must change automaticly to the color set by the
focusColor property.
Very simple, the control works fine when creating it dynamicly from code.
My aim is to add design functionality, so I can use it from the Visual
Studio .Net toolbox.
When I compile my code, no errors are reproted and Visual studio leaves a
|
by: mattgcon |
last post by:
When I use a stored procedure to insert data into a table and when the
Datagrid refreshes two new columns are added. The dataSet is set up with one
table with NO columns defined. Please help me on this. I have screen shots of
the before and after.
Here is the code:
sqlCommand.CommandType = CommandType.StoredProcedure;
sqlCommand.CommandText = SQLInsertSP;
sqlCommand.Parameters.Add("@aid",SqlDbType.Int,4);
|
by: rodchar |
last post by:
Hey all,
Database Info:
I have an employee database management system.
There's about 8 tables that makes up a single record for an employee.
ASPNET:
I have a datagrid list of Employees.
When a user clicks on a particular employee an employee object will be
created.
|
by: Gawn |
last post by:
Hi I am from Thainald and new to PHP/MySQL. I am doing a news website and I can't do the related news, while I can for latest news. My code for latest news is
"SELECT * FROM news WHERE news_id!=$news_id AND cat=$cat ORDER BY news.published DESC".
This work OK for latest news.
Code for related news is
"SELECT * FROM news WHERE news_id!=$news_id AND cat=$cat AND kw LIKE '%$kw%' ORDER BY news.published DESC"
This also show news as latest...
| |
by: ryann18 |
last post by:
Can someone please help with this modifying Account problem!?!?!
Modify the Account class so that it also permits an account to be opened with just a name and an account number, assuming an initial balance of zero. Modify the main method of the Transactions class to demonstrate this new capability.
//********************************************************************
// Account.java Author: Lewis/Loftus
//
// Represents a...
|
by: sunilrakesh435 |
last post by:
Please help me for this webservice solution.......
--------------------------------------------------------------------------------
Hi.
Im sunil . Im new to use web services.I got a problem while using web services like this.,
while im running the .NET coding, first it is showing webservice page with name "outbound". while clicking outbound again its opeaning webservice page with
showing xml path, there im giving xml path, after that...
|
by: DarkGiank |
last post by:
Hi, im new to csharp and im trying to create a class that can change the application database without no rewriting all connection code... but cause some reason it is not working... it tells me that im not creating the object but im doing it,,, please help im a newbie to c#
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SQLite;
using MySql.Data;
using MySql.Data.MySqlClient;
using...
|
by: Alwyn |
last post by:
struct lib
{
char *name,*author,*publish;
int price;
int no;
}u;
FILE *fp;
void fin() //Inputs data to a file
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |