How can I build a 3-tiers application using VC# Express Edition
I want to build a Appliction that has 3-tiers, those are Client, Server and Database Server, how can I do that?
Anybody can give me a sample?
Thanks!
I want to build a Appliction that has 3-tiers, those are Client, Server and Database Server, how can I do that?
Anybody can give me a sample?
Thanks!
This article talks about building an application using a three tiered architecture. You will want to follow this or a similar model for your client.
http://www.hanselman.com/blog/PermaLink.aspx?guid=a0a65e0c-5ef8-41e4-a566-1739b4428aa5
As for the three components you mention above: client, server and DB server you have many options for the communication among these components, but the three main choices you have are:
Sockets - see System.Net namespace
Web Services - See MSDN documentation
Remoting - see System.Runtime.Remoting namespace
Can you please be more specific regarding the appliation you want to build?
Regarding my appliction, it is a little Management software, and I want use rather windows forms as the client than the ASP.Net or WEB Forms.
Can you give me a sample?
The sample you are requesting is very involved and requries a lot of architectural understanding of what you are intending to do.This link below might help. http://msdn.microsoft.com/practices/GetStarted/default.aspx?pull=/library/en-us/dnpag/html/scag.asp
Sorry there is no simple sample I can provide. There are plenty of books and articles on how to use ASP.NET and ADO.NET to accomplish what you are trying to do.