473,770 Members | 6,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Architecture for a Webservices project

Hello I'm concidering better ways to architecture our VB.Net Webservices
project. Below is a draft of what I thought would be a decent way to go
about it, I was wondering about other peoples thoughts. I thought maybe a
half business object half dataset approach is feasable...Im not sure...

Teir1 - WebService
wsTblClient
Method Create()
Method Read()
Method Update()
Method Delete()
Teir2 - Business Objects
boBase
Method threadsafeCreat e()
Method threadsafeRead( )
Method threadsafeUpdat e()
Method threadsafeDelet e()
boTblClient
inherits boBase
Property dsTblClient
Property bindingSource
method untypeDS
method typeDS
Teir3 - Presentation
frmBase
frmClient
inherits frmBaseNormal
property BOtblClient

Im very noobie :(
Thank you so much for your time reading
John

Oct 29 '07 #1
6 1489
Hello NewsGuy,

and what these webservices do?
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
NTeir1 - WebService
NwsTblClient
NMethod Create()
NMethod Read()
NMethod Update()
NMethod Delete()
Oct 29 '07 #2
Its Business System that handles doing quotes, invoices and that kind of
thing...all database driven kinda stuff...

Thanks Michael
John

"Michael Nemtsev"; "MVP" <ne*****@msn.co mwrote in message
news:3d******** *************** ***@msnews.micr osoft.com...
Hello NewsGuy,

and what these webservices do?
---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

NTeir1 - WebService
NwsTblClient
NMethod Create()
NMethod Read()
NMethod Update()
NMethod Delete()

Oct 29 '07 #3

"NewsGuy" <jo**@nospam.co m.auwrote in message
news:fg******** @news5.newsguy. com...
Hello I'm concidering better ways to architecture our VB.Net Webservices
project. Below is a draft of what I thought would be a decent way to go
about it, I was wondering about other peoples thoughts. I thought maybe a
half business object half dataset approach is feasable...Im not sure...

Teir1 - WebService
wsTblClient
Method Create()
Method Read()
Method Update()
Method Delete()
Teir2 - Business Objects
boBase
Method threadsafeCreat e()
Method threadsafeRead( )
Method threadsafeUpdat e()
Method threadsafeDelet e()
boTblClient
inherits boBase
Property dsTblClient
Property bindingSource
method untypeDS
method typeDS
Teir3 - Presentation
frmBase
frmClient
inherits frmBaseNormal
property BOtblClient

Im very noobie :(
Thank you so much for your time reading
John
Teir 1

UI

UI has reference to Presentation layer

Tier 2

Presentation or MVP Model View Presenter

Presentation has reference to Business layer

MVP consumes BL objects and methods.

Tier 3

Business Layer

Business Layer has reference Data Access layer

Method Create()
Method Read()
Method Update()
Method Delete()
Teir 4

Data Access layer

Method Create()
Method Read()
Method Update()
Method Delete()
What's the Web Service for? Is the Web service to be consumed by Windows
Desktop or ASP.Net solution.

This talks about MS Windows DNA a little bit, but there are other articles
too out on Google.

<http://www.c-sharpcorner.com/UploadFile/tavanover/NTierDevelopmen twithMS11130200 5054224AM/NTierDevelopmen twithMS1.aspx>
This link is about MVP you should look at the shows, and there are articles
out on Google about MVP.
MODEL-VIEW-PRESENTER

http://www.polymorphicpodcast.com/

click 'Shows'

click 'Design Patterns Bootcamp: Model View * Patterns*

view parts 1-5

Sorry man, because I am going to be blunt about it. What you have going on
there up above for architecture is some kind of a mess.


Oct 29 '07 #4

"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:eZ******** ******@TK2MSFTN GP02.phx.gbl...
>
"NewsGuy" <jo**@nospam.co m.auwrote in message
news:fg******** @news5.newsguy. com...
>Hello I'm concidering better ways to architecture our VB.Net Webservices
project. Below is a draft of what I thought would be a decent way to go
about it, I was wondering about other peoples thoughts. I thought maybe a
half business object half dataset approach is feasable...Im not sure...

Teir1 - WebService
wsTblClient
Method Create()
Method Read()
Method Update()
Method Delete()
Teir2 - Business Objects
boBase
Method threadsafeCreat e()
Method threadsafeRead( )
Method threadsafeUpdat e()
Method threadsafeDelet e()
boTblClient
inherits boBase
Property dsTblClient
Property bindingSource
method untypeDS
method typeDS
Teir3 - Presentation
frmBase
frmClient
inherits frmBaseNormal
property BOtblClient

Im very noobie :(
Thank you so much for your time reading
John

Teir 1

UI

UI has reference to Presentation layer

Tier 2

Presentation or MVP Model View Presenter

Presentation has reference to Business layer

MVP consumes BL objects and methods.

Tier 3

Business Layer

Business Layer has reference Data Access layer

Method Create()
Method Read()
Method Update()
Method Delete()
Teir 4

Data Access layer

Method Create()
Method Read()
Method Update()
Method Delete()
What's the Web Service for? Is the Web service to be consumed by Windows
Desktop or ASP.Net solution.

This talks about MS Windows DNA a little bit, but there are other articles
too out on Google.

<http://www.c-sharpcorner.com/UploadFile/tavanover/NTierDevelopmen twithMS11130200 5054224AM/NTierDevelopmen twithMS1.aspx>
This link is about MVP you should look at the shows, and there are
articles out on Google about MVP.
MODEL-VIEW-PRESENTER

http://www.polymorphicpodcast.com/

click 'Shows'

click 'Design Patterns Bootcamp: Model View * Patterns*

view parts 1-5

Sorry man, because I am going to be blunt about it. What you have going on
there up above for architecture is some kind of a mess.
lol :) Yeah thats cool, I realise its not good. Its far better being
blunt...Trying to feel my way through, its hard to find a good book on
architecture... so many different ways of doing things...

Im taking over a project that has no kind of layers, im a noob, but I know
what is done Im really concerned about...it works well for now...but
maintanance...u rrrrgg......he' s a cut and paster :(

The webservice is to be consumed by windows desktop, and possibly down the
track an asp.net website...

Thanks for the info and links, I'll research up on them...and I'll no doubt
be back with questions :)
Thanks heaps for your your time...I really appreciate it...
John

Oct 29 '07 #5
Take a look at this:

http://sholliday.space s.live.com/blog/cns!A68482B9628 A842A!158.entry ?wa=wsignin1.0
This is WCF.

WCF would allow you to "host" your code via a webservice if need be.
However, you'ld have the freedom to host it via tcp as well. Or other
options.

My question is ... is your winforms application the only client using these
services?
If so, then definately look at the setup above.

This is what I call a "NLayered AND NTiered" example.

"NewsGuy" <jo**@nospam.co m.auwrote in message
news:fg******** @news5.newsguy. com...
Hello I'm concidering better ways to architecture our VB.Net Webservices
project. Below is a draft of what I thought would be a decent way to go
about it, I was wondering about other peoples thoughts. I thought maybe a
half business object half dataset approach is feasable...Im not sure...

Teir1 - WebService
wsTblClient
Method Create()
Method Read()
Method Update()
Method Delete()
Teir2 - Business Objects
boBase
Method threadsafeCreat e()
Method threadsafeRead( )
Method threadsafeUpdat e()
Method threadsafeDelet e()
boTblClient
inherits boBase
Property dsTblClient
Property bindingSource
method untypeDS
method typeDS
Teir3 - Presentation
frmBase
frmClient
inherits frmBaseNormal
property BOtblClient

Im very noobie :(
Thank you so much for your time reading
John

Oct 29 '07 #6

"NewsGuy" <jo**@nospam.co m.auwrote in message
news:fg******** *@news3.newsguy .com...
It is for now...but not in the long run...so I dont think thats really an
option...it will all be dotnet tho...

I'll scope out the app and see how I go with it...Im sure it'll lead me
somewhat in the right direction....
If you want to learn about making frameworks and architecture that use a Web
service, then I suggest that you get one of these two books, put the
framework together and put the project together that uses the framework. I
am not saying you have to use the CSLA framework in your project. But the
fact that you went through that book will give you a good understanding of
how to do things right out of the gate.

http://www.lhotka.net/Default.aspx

Oct 30 '07 #7

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

Similar topics

25
5627
by: David Noble | last post by:
We've been developing a web site using 3-tier architecture for 18 months now. There is a common layer that defines the classes - using XML schemas. The data layer acts as a wrapper to 3 databases - SQL Server, Oracle and AS400. The business layer exposes web services which communicate with the front end, ASP.Net. All 3 tiers are on different boxes. This works well. Now I am leading a team to build a winforms app. I need some advice as
0
1365
by: Vin | last post by:
Hi, I've got a VB.Net + ASP.Net message board application which has already been customized. There are two solutions in this application. 1. The front end aspx, aspx.vb files, User controls solution 2. A components solution which has .vb files which have the code to call inserts, updates, deletes to the database (SQL server 2000) Its much like the available general ASP.Net message board. Only a bit customized. Right now a simple...
1
334
by: Max A. Bündchen | last post by:
Hello people! A little question about architeture. We have today a large Visual FoxPro application like ERP that is used for a much large client base. However now we would to rewrite this system into .NET (C#) and we would like to design a very integrated application with benefits as web mobility and so on.
2
1779
by: hans | last post by:
Hi! I am new to .NET (coming from Java). We have to implement a desktop application which extracts data from a database, does some analysis, filtering etc. and displays the results. I have noticed that in .NET applications Windows widgets like the DataGrid are often directly bound to a DataSet Object. For me this means essentially a 2 tier architecture instead of a 3 tier architecture. I am used to seperating the application into 3 tiers:...
2
1984
by: Mark | last post by:
I've taken 4 of 5 exams to get my MCSD. My last exam is the Solution Architecture exam. At least in my experience, I've been surprised at how different the difficultly level *felt* between the different exams. 1/2 way through the web services exam, I thought I had failed (I squeaked it out). The winforms test struck me as a joke. Mileage will vary, but how does the Solution Architecture exam compare? Thanks in advance. Mark
2
1596
by: Tim Smith | last post by:
Hi, With our architecture we are looking at the following client applications: - 20-40 GUI desktop power users - 40-100 ASP.NET light users - 5-10 heavy server side integration apps We would like to move all business logic into a single tier/layer. This tier would either run on the same machine as the ASP.NET or
6
1481
by: jensen bredal | last post by:
Hello, I need to build a new web system. It is required that i use SOA . Can someone tell me briefly what that means in practise. I have read some rather abstract documents, describing the idea but i yet need to find a practical guide to kick of my project. Any help will be highly appreciated. Many Thanks in advance
2
1775
by: John A | last post by:
I have a Web Service that I am reponsible for that we use for data integration purposes. Recently I have been tasked with sending some of this data to a third party. Because they need to receive the data in real time. They have requested that I subscribe to a Web Service that they have published. The only problem is that they often take longer than 30 seconds to process my data before I get a response back from them. This is taking far...
1
2139
by: linda.chen | last post by:
This is the first project I worked in Visual Studio .NET 2005. I created a webservices by asp.net 2.0. The webservice works correctly in my development environment. When I published the webservice to the default website, even to the same machine (my default website already has a webservices but written in asp.net 1.1), I got the following error messages if I opened it from brower:
0
9592
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
9425
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,...
0
10059
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...
0
8887
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6679
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
5313
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
5452
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
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
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.