By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,963 Members | 1,778 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,963 IT Pros & Developers. It's quick & easy.

Converting VB.Net to ASP.Net

P: n/a
Hi there, kind of a dumb question, but it falls in line with not
understanding (go figure) every nuance about .Net. Is it relatively
straight forward to convert a VB.Net built app to an ASP.Net web system? If
I am not just way off in left field, it would seem to be not too difficult,
but am curious if anybody had experience doing or attempting this.

Thanks,
Derek
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
First of all, VB.NET is a language - a VB.NET app is anything written in
this language - a windows app, an ASP.NET web application, a web service, a
windows service, etc.

To answer your question, converting from a windows app (which is what I
assume you mean by VB app) to a web application is not something I would say
is trivial. The key lies in the structure of your current application. If
the UI and the business logic are well separate, then it will be easier, as
you will mainly focus on converting the UI, and be able to call your
business logic (presumably in a separate DLL) to do all the work.

The stateless nature of web apps will no doubt present some issues, as a web
application functions much different then a windows form. The fact that the
page object gets recreated on every request, means you have to code
differently then for a windows app, which has just one instance of the Form
the entire time. But again, if the business logic is already separated,
then you will mainly focus on the UI portion. This means having to work
with objects that function differently, and are possibly less functional
then what you are used to.
"Derek Martin" <dm*****@DONTSPAMMEokstate.edu> wrote in message
news:ub*************@tk2msftngp13.phx.gbl...
Hi there, kind of a dumb question, but it falls in line with not
understanding (go figure) every nuance about .Net. Is it relatively
straight forward to convert a VB.Net built app to an ASP.Net web system? If I am not just way off in left field, it would seem to be not too difficult, but am curious if anybody had experience doing or attempting this.

Thanks,
Derek

Nov 20 '05 #2

P: n/a
* "Derek Martin" <dm*****@DONTSPAMMEokstate.edu> scripsit:
Hi there, kind of a dumb question, but it falls in line with not
understanding (go figure) every nuance about .Net. Is it relatively
straight forward to convert a VB.Net built app to an ASP.Net web system? If
I am not just way off in left field, it would seem to be not too difficult,
but am curious if anybody had experience doing or attempting this.


I think with VB.NET you are referring to "Windows Forms". You want to
convert a Windows Forms application to a Web Forms application. Yes,
that's difficult because in the browser you have a different interaction
model -- no dialogs, other ways to display data properly, you can build
richer interfaces in some cases but there are also limitations. If your
application is well-structured (3-tier for example) you can easily
replace the presentation layer by a web interface.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

P: n/a
Hi Marina,

Nice answer

Cor
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.