473,322 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 threadsafeCreate()
Method threadsafeRead()
Method threadsafeUpdate()
Method threadsafeDelete()
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 1475
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.comwrote in message
news:3d**************************@msnews.microsoft .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.com.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 threadsafeCreate()
Method threadsafeRead()
Method threadsafeUpdate()
Method threadsafeDelete()
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/NTierDevelopmentwithMS111302005054224AM/NTierDevelopmentwithMS1.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.comwrote in message
news:eZ**************@TK2MSFTNGP02.phx.gbl...
>
"NewsGuy" <jo**@nospam.com.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 threadsafeCreate()
Method threadsafeRead()
Method threadsafeUpdate()
Method threadsafeDelete()
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/NTierDevelopmentwithMS111302005054224AM/NTierDevelopmentwithMS1.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...urrrrgg......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.spaces.live.com/blog/cns!A68482B9628A842A!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.com.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 threadsafeCreate()
Method threadsafeRead()
Method threadsafeUpdate()
Method threadsafeDelete()
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.com.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
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...
0
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...
1
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...
2
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...
2
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...
2
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...
6
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...
2
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...
1
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.