473,789 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about designing a Web Service

Hi

I have a VB .NET class library with classes and collection classes (classes
that implement ICollection) that allow a client to read and write data to and
from an SQL database. For example if I had a table of Things I would have a
Things collection class with an Add method that would add a Thing to the
collection but also add that as a new record in the database.

Now I want to expose this functionality via a Web Service. However it does
not seem so straight forward converting my class structure to web services
(i.e. problems serializing ICollection interface, etc). So my questions are:

What is the best practice for designing Web Services for complicated data
structures? (I’m sure I’m doing nothing ground breaking and I’m interested in
implementing a sound solution rather than just something that I can ‘get to
work’)

Can anyone recommend a good reference book (all the examples, etc I have are
very simplistic). And also something that tells me what is and isn't
possible with a Web Service.

Many thanks for any information or thoughts on this.

Julia.

Nov 23 '05 #1
0 1009

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2116
by: Millie Niss | last post by:
I am new to PHP and mySQL, and I am trying to build a database of services (on a service table) provided by agencies (another table), where one agency can provide many services, but a service belongs to a single agency. There are about 10 fields in the services table, including a comments field which needs to be searchable. I don't know how to design a search page that will be easy to use for so many fields, and I don't want to actually...
8
1822
by: Abhi | last post by:
I am in process of designing a report generation application. Now here is breif background about my workplace ...... my system admin is a big microsoft hater .... so does not allow any microsoft technologies. God knows how i am able to survive ... but anyway I have to come up with a report generation application which will generate report on a daily basis. I haven't started the design yet .... I was thinking of creating a console...
1
990
by: Alan Ho | last post by:
I have to decide on the appropriate wire protocoal to use when designing an XML web service. the web service i have developed will be deployed inside the corporate firewall, while the clients will be located on both sides of the perimeter. But no additional ports can be opened in the firewall configuration to allow windows to windows native communication. any suhhest the protocols to be used in this application? thx
55
4676
by: Steve Jorgensen | last post by:
In a recent thread, RKC (correctly, I believe), took issue with my use of multiple parameters in a Property Let procedure to pass dimensional arguments on the basis that, although it works, it's not obvious how the code works if you don't know the intricacies of the Property Let/Get syntax. Likewise, I dislike (and code to minimize the use of) the VB/VBA syntax of returning a value by referring to the function name as if it were a...
1
1390
by: Kevin C | last post by:
When designing an asynchronous service-based system, generally speaking whose responsibility is it to determine when a duplicate request is sent - the system hosting the service or the feeding systems. Are there any best practices when it comes to determining duplicate requests in an asynchronous system. For example, lets say you have an OLTP system that tracks inventory with several other applications feeding into the OLTP system. The...
6
1719
by: Mike | last post by:
Lets just say my app is done HOO HOO. Now, I'm accessing the database via a web service and one thing i noticed that my app is running real slow. When I first started working on the app is ran pretty quick returned the data to the screens in about 2 - 3 seconds. Now its going about 5 - 10 seconds. How can I beef it up for better performance.
2
1442
by: Alexander Kaplunov | last post by:
I have a web service which accepts some data and stores that data in the database. My question is should this web service talk directly to the data access layer (DAL), which populates the database or should there be an extra layer between web service and the DAL? If there should be an extra layer then what is that layer? Also, if you have any link to sites that cover these type of issues I would appreciate it if you could share them.
2
1236
by: et | last post by:
I am new to asp.net. I am writing a program that will revolve around an extensive client database, and wonder what the best way to design the program is, using classes. I have about 10 different sections, or categories if you will, about a client. For instance, some clients have data regarding our Estate Planning section, some clients have data regarding our Real Estate section, etc. Would it be better to have one object that...
1
1562
by: Bill Fuller | last post by:
I have a team that is designing/building an n-tier (5 logical layer, 3 physical) WinForms application that will be deployed via ClickOnce. The backend will be using WCF for communication. Here is the question... the design team is using IIS, which is not a requirement of WCF. It is not a web application and we have total control of the binding protocol (HTTP, TCP, ES, etc.). Thier reasoning for using IIS is because of the requirement...
0
9666
marktang
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...
0
10408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
jinu1996
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...
1
7529
isladogs
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...
0
6769
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();...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
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
3
2909
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.