473,586 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exposing Web Services methods for Add/Edit/Delete Records

Hello,

I have a client c# application from which I want to Add/Edit/Delete & list
records by connecting to Web Service.

HOw can I write classes & methods in Web service projet that will :

1. Add records,
2. Edit Recods,
3. Delete Records, etc.

I want to create DAL, BAL in the Web services project structure

Regards,
Jun 5 '07 #1
2 2173

"Ibrahim." <Ib*****@discus sions.microsoft .comwrote in message
news:44******** *************** ***********@mic rosoft.com...
Hello,

I have a client c# application from which I want to Add/Edit/Delete & list
records by connecting to Web Service.

HOw can I write classes & methods in Web service projet that will :

1. Add records,
You need to think objetcs.
2. Edit Recods,
You need to think objetcs.
3. Delete Records, etc.
You need to think objects.
>
I want to create DAL, BAL in the Web services project structure
You need to think about using objects within a framework that works with Web
Services, whether that be a 3rd party framework or your own framework you
derive from learning about the use of a framework.

You get the book, you read it, you download the framework and put it
together, you download the project putting it together to work with the
framework and see how things work.

After that, you might say I don't need a framework, but I can sure use the
concepts of what those objects were doing to create a viable solution,
because you learned the basics.

http://www.lhotka.net/Article.aspx?i...b-e0059cc82ee7

There are .NET 2003 versions as well.

Jun 5 '07 #2
On 5 Jun, 12:35, Ibrahim. <Ibra...@discus sions.microsoft .comwrote:
Hello,

I have a client c# application from which I want to Add/Edit/Delete & list
records by connecting to Web Service.

HOw can I write classes & methods in Web service projet that will :

1. Add records,
2. Edit Recods,
3. Delete Records, etc.

I want to create DAL, BAL in the Web services project structure

Regards,
I suggest to use "Enterprise Development Reference Architecture". This
is proposed by MS and used in many places where distributed
architechture is used. You can understand th concept from
implementation point of view using "Enterprise Development Reference
Implementation"

Jun 6 '07 #3

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

Similar topics

1
439
by: Avanish Pandey | last post by:
Hello All We have 3 differen services (in 3 different server) Service A,B,C . We want to implement distributed transaction when call methods of B and C from A. Is it possible? if yes then how? I have read the doc regarding this: http://www.developer.com/net/asp/article.php/3385631 but it will not work when methods are in different...
0
938
by: MeMyselfNDotnet | last post by:
Hi All, Im facing a problem with the COM+ component, will appreciate if u can provide any kind of guidance. My COM+, references a class, lets call it class A. It uses the properties of Class A, and has methods to return / insert / update / delete etc. I have an Admin module(another dotnet solution), which accesses the COM+ component (via...
2
2831
by: SB | last post by:
I am implementing a web services and one of its methods can potentially return Gb of data. I would like this to be implemented in an 'iterator' kind of style. With this the client can get the count first and then use a method to get certain number of records at a time. My initial idea was to have one web method to return the count of...
8
1895
by: Dave A | last post by:
I have a class called 'PrimaryKey' that represents the primary key of a table. PrimaryKeys can only be created and the class only implements .ToString(). The PrimaryKey class internally stores the data as either a int or a Guid depending on the structure of the database. If we simply used int to represent a primary key, rather than this...
3
2974
by: Dave | last post by:
Please - anyone that can help. I am getting confusing results while trying to expose a collection from a web service. I have a webservice in which a web method accepts a collection as a parameter and returns an array of datasets. The collection consists of database connection objects. Based on the simple hierarchy below, you can see...
1
1843
by: Marc | last post by:
Hi, I made a detailsview for inserting records. I also made a gridview for editing and deleting the same records. The keyfield is an autonumbering field in Access (pcnr). My problem is: I can see the new inserted records in the gridview but I can't delete or edit them. When clicking on delete or edit link, nothing happens (no error...
5
1758
by: JT | last post by:
Hi, I think I need a "best practices" lesson on web sites and web services. In order to conform to the restraints of my web host, my web services seem to need to be in a subfolder of my web site. So if I have a wwwroot folder containing my site, which maps to www.MySite.com, then to reference my web service, MyService, I place it in a...
9
2712
by: rn5a | last post by:
A Form has a DataGrid which displays records from a SQL Server 2005 DB table. Users can modify the records using this DataGrid for which I am using EditCommandColumn in the DataGrid. This is the code: <script runat="server"> Dim sqlConn As New SqlConnection(".....") Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) If Not...
3
7042
by: Sylvie | last post by:
My Windows Application has two forms, one form contains a grid (lets say Stock Listing), and the other is a form of one stock, contains some edit boxes for one stock's fields.. Is it possible to run application remotely and retrieve grid and form data in some way without accessing directly to database server? Web Services is being used...
0
7911
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...
0
7839
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...
0
8338
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...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8215
tracyyun
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...
0
6610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
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...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
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 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.