|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows Forms to Web AppWhat is the best way to design and build a desktop application if you know
it will eventually become a web app? Any thoughts? -- Al Reid Dear AL Reid,
Well, from my friends and me, I will move most of the function into Class, you may later calling those function from Your windows applcaition or web applciation. You may also turning them into webservice. -- Show quoteHide quoteHope this help and welcome to reply the testing result. Regards Ken Lin, Kam Hung Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com) MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & win2k), MCSE+I, MCDBA(SQL7 & SQL2K), MCSD(VB6 & .NET), MCAD(.NET) Microsoft Community Star(Hong Kong & Taiwan) Microsoft Most Valuable Professional(.NET since 2003) MCT2004 & 2005 "Al Reid" <arei***@reidDASHhome.com> wrote in message news:ewey$AJTGHA.2156@tk2msftngp13.phx.gbl... > What is the best way to design and build a desktop application if you know > it will eventually become a web app? Any thoughts? > > -- > Al Reid > > Al,
> What is the best way to design and build a desktop application if you know Not much, however don't use shared classes and don't do things in your UI > it will eventually become a web app? Any thoughts? > wich are not special to that page. Cor "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23ZEVBEMTGHA.4492@TK2MSFTNGP09.phx.gbl... Cor,> Al, > > > What is the best way to design and build a desktop application if you know > > it will eventually become a web app? Any thoughts? > > > Not much, however don't use shared classes and don't do things in your UI > wich are not special to that page. > > Cor > > That makes sense. I was asked this question at an interview yesterday. I wasn't sure how to answer it. I was thinking there was something within the framework that would allow this to happen with minimal pain since the question was asked while talking about framework classers, etc.. After giving it more thought, I guess that correct answer would be to keep the presentation layer separate from any business logic or data access. -- Al Reid |
|||||||||||||||||||||||