How to implemente 3 tier architecture in Windows Application ?

Posted by Nav234 under C# on 7/25/2010 | Views : 28383 | Status : [Member] | Replies : 4
Hi all

I use only c# (or vb.net) and sql 2005

I am new to layered architecture design. I need to implement a record navigation form in c#(VB.net) windows application.
It will contain three textboxes one for entering the empname and another for entering empage and
another for entering his dateofbirth. I have buttons for adding, deleting and editing the current record.
Also i have buttons for first, next, last, previous for navigation of records through textbox controls.

Could you please help me in implementing this form with three layered architecture in windows application
and not web application with an easy example to understand by beginners .

Thanks in advance

S.Naveen...


Responses

Posted by: Raja on: 7/25/2010 [Member] Starter

Up
0
Down
Hello Naveen,

Its not a great difference in implementing 3-tier architecture between web and windows application. Everything remains the same except the Web application becomes Windows.

Just try to get idea from http://www.dotnetfunda.com/articles/article71.aspx article, I hope this will help you.

Thank you.

Regards,
Raja, USA

Nav234, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nav234 on: 7/26/2010 [Member] Starter

Up
0
Down
Thank you Mr.Raja,

yeah i have heard like in web app ,we use webservices between Layers in 3 - tiers.So was confused to start in win app,tatz why.
anyways ur url link was good article,thanks...

Regards,

S.Naveen...

Nav234, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 7/26/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day Nav234

As Raja stated , the implementation is the same for both. Years ago i have written an article on the subject and the examples were all windows based. Look at the following links

http://www.codeproject.com/KB/cs/N-Tier22.aspx

http://www.codeproject.com/KB/cs/NTier.aspx

Thank you for posting at Dotnetfunda
[Administrator]

Nav234, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: BangaruBabu on: 7/26/2010 [Member] Starter

Up
0
Down
Architecture Doesn't Vary Between Windows and Web Application...Only Thing Think is Separating Layers
as Presentation Layer,Business Logic Layer,Data Access Layer


Please check This Link

http://social.msdn.microsoft.com/Forums/en-US/winformsapplications/thread/2c15af26-7758-4268-9568-5932225cca32



BangaruBabu Pureti
http://bangarubabupureti.spaces.live.com/

Nav234, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response