473,491 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP with Visual Basic Program

I know we can write ASP with VB Script. Some people told me the big ASP
projects usually use Visual Basic for the business logic. Is that the case?
What I mean is an ASP project is the combination of server-side ASP code and
Visual Basic components (.cls)

Please advise. thanks!!
Jul 19 '05 #1
2 1747
Creating robust, large-scale n-tier applications isn't particularly easy if
you're using ASP Classic and VB6. You implement the business layer as
ActiveX components (EXE or DLL COM/DCOM objects) that have to be
installed/registered where they are accessible to IIS. Your ASP pages or
application can then access them as objects through direct instances and/or
MTS. Frankly, it's a pain.

On the other hand, if you're using ASP.Net and VB.Net, it is far less
complicated. You can implement your business logic as Web Services, which
are considerably more flexible and maintainable. There is a ton of
information on the MSDN site about the advantages of switching to .Net, so I
won't go into the details here.

If your application has only relatively modest business logic, it is also
possible for you to create n-tier applications using just ASP Classic on IIS
5 or 6. You can create classes in script (similar to how you would in VB6)
that encapsulate your business logic and use <!-- include --> directives to
incorporate them in your other pages. This is quite helpful for isolating
business logic from the UI for simple objects like "Person" or
"OrderDetail". However, since ASP Classic is stateless, IIS has to recreate
your objects on every invocation. This means your app's performance
probably won't scale well if it has lots of concurrent users or involves
complex objects.

My recommendation is that you go with the .Net environment.

Alan

"Matt" <ma*******@hotmail.com> wrote in message
news:u7**************@TK2MSFTNGP10.phx.gbl...
I know we can write ASP with VB Script. Some people told me the big ASP
projects usually use Visual Basic for the business logic. Is that the case? What I mean is an ASP project is the combination of server-side ASP code and Visual Basic components (.cls)

Please advise. thanks!!

Jul 19 '05 #2
Creating robust, large-scale n-tier applications isn't particularly easy if
you're using ASP Classic and VB6. You implement the business layer as
ActiveX components (EXE or DLL COM/DCOM objects) that have to be
installed/registered where they are accessible to IIS. Your ASP pages or
application can then access them as objects through direct instances and/or
MTS. Frankly, it's a pain.

On the other hand, if you're using ASP.Net and VB.Net, it is far less
complicated. You can implement your business logic as Web Services, which
are considerably more flexible and maintainable. There is a ton of
information on the MSDN site about the advantages of switching to .Net, so I
won't go into the details here.

If your application has only relatively modest business logic, it is also
possible for you to create n-tier applications using just ASP Classic on IIS
5 or 6. You can create classes in script (similar to how you would in VB6)
that encapsulate your business logic and use <!-- include --> directives to
incorporate them in your other pages. This is quite helpful for isolating
business logic from the UI for simple objects like "Person" or
"OrderDetail". However, since ASP Classic is stateless, IIS has to recreate
your objects on every invocation. This means your app's performance
probably won't scale well if it has lots of concurrent users or involves
complex objects.

My recommendation is that you go with the .Net environment.

Alan

"Matt" <ma*******@hotmail.com> wrote in message
news:u7**************@TK2MSFTNGP10.phx.gbl...
I know we can write ASP with VB Script. Some people told me the big ASP
projects usually use Visual Basic for the business logic. Is that the case? What I mean is an ASP project is the combination of server-side ASP code and Visual Basic components (.cls)

Please advise. thanks!!

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1395
by: carlos | last post by:
How can we read / write numbers in a excel data sheet.
1
1516
by: Davy | last post by:
Hi Can somebody help me to print a specific worksheet of an Excel file thru Visual Basic Thank Davy
0
1297
by: Jason | last post by:
I've got a program that wil convert an IP address to decimal. Anyone give me any infor on how I would modify this program that I had converting regular IPs to decimal, hwo would I make it work...
1
2140
by: MRAMIREZ | last post by:
This may be a simpler question then it sounds. I am tring to write a visual basic program that uses a GBIP card. But how or what actual command lines do I use to access the card in my compuer to send...
0
998
by: Bl00dFox | last post by:
Hi guys The question is quite self-explanatory. I want to be able to write a program that will allow me to hide a program in the taskbar (eg. warcraft III) after pressing a certain key. I do...
1
1240
by: bondfresher11 | last post by:
Can any one tell me a program simulating a traffic light in visual basic????????
1
1114
by: Francis2004 | last post by:
Hi there, Would like to request for listbox program
5
1177
by: omotoyosi | last post by:
I developed a visual studio program and after running it , i discovered that the application is not seeing any database. Please how can i carry the database along with my application so that it...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6978
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.