• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 14822
  • Last Modified:

Thin Client VB.NET Application - 3 tier architecture

Dear Experts,

I need to develop a thin client application in VB.NET.
This is what I mean by thin client - I need to provide a user interface ( probably developed in VB.NET) for our users. With this, I want to separate all the processing/logic and the database related access so that this all happens at our server and the user interface is thin.

I am not sure how to go about this implementation and deployment of these kind of applications.
Should I develop application with three tier architecture in VB.Net? If so how can I provide just the UI to the users and retain the database layer and the business layer at our server

Any sample examples or website links will be of great help.

Thank You in advance
1 Solution
To create the three tier architecture you would want to of course have the database tier, then create a web service for the business layer, and third a web site for the user interface.

If your not sure how to create or call a web service this video should give you a basic understanding.
Jeff CertainCommented:
Web services aren't the only option for the business layer. In fact, if you're planning on controlling both ends of the pipe, I'd strongly recommend using a WCF service with net.tcp bindings for performance reasons.

It also depends on your choice of UI technology. A web application is about as thin as you can get, but these have some issues -- like needing validation logic on the client side, and generally having to write that in javascript, while your server-side validation is in .NET. Silverlight eases this pain a little bit, but introduces a whole bunch of other issues.

However, if you require a great-looking UI, you're likely looking at Silverlight, WCF or an ASP.NET pages. WinForms are so last decade.

You're going to end up with two (or more) deployment packages -- one for the client and one (or more) for the various server-side pieces.

When architecting your services, be sure that you use chunky interfaces. One of the worst things you can do for performance and scalability is have frequent, small calls to your services. You want a coarse-grained API exposed to the client, so that significant tasks are performed with a single service call.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now