473,289 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Zero Deployment in VB.NET??

al
Hi,

Can someone please tell me what is exactly zero deployment in VB.NET.
Is it that .NET doesn't need to deal with the registry? If that is
the case, then why MS introduced class registry?

MTIA,
Grawsha
Nov 20 '05 #1
3 2716
There are new deployment options in .NET. "Zero deployment" is a bit
misleading since if the code where never deployed, nobody could run it
(except maybe the developer) :-)

If you are using pure .NET managed code, the only prerequisite on the target
machine is the .NET framework. You can actually copy the files over and
things will run just fine. .NET components do not require registration, and
multiple versions of the same component can exist on the machine if
different applications require the different versions. The only exception to
this "no registration required" bit is when you want to create a shared
assembly instead of a local (private) assembly. Local library assemblies
(managed DLLs) exist in the same directory as the app that uses them by
default. Shared assemblies are installed into a special subdirectory of the
system called the GAC (global assembly cache).

The registry class is supplied because there is a lot of information in the
registry that you might want to read or write. If you are using older COM
components from .NET, then your code will also need access to the registry,
so in essence, it isn't like the registry is no longer needed at all.

There is also another thing called "No Touch Deployment", which allows you
to place your application and its various components up on a server, and
have clients load the executable from a URL to that server. The clients will
automatically download the latest application files and execute them without
requiring an install. There are some limitations, security precautions, and
caveats. Chris Sells wrote a few very good articles on this topic. Try doing
a search for this on MSDN or Google.

In addition, the next version of .NET and Windows will have a few more
deployment options that further ease the pain of application deployment.
Among them are the self-updating options of "click once" deployment, and
rich client applications written in XML.

-Rob Teixeira [MVP]
"al" <gr*********@yahoo.com> wrote in message
news:66**************************@posting.google.c om...
Hi,

Can someone please tell me what is exactly zero deployment in VB.NET.
Is it that .NET doesn't need to deal with the registry? If that is
the case, then why MS introduced class registry?

MTIA,
Grawsha

Nov 20 '05 #2
Rob covered it well.

But basically if .NET Framework is installed and that is all you used in
developing the app, then you can just copy (as in file copy, no reg or DLL
installs) your application dir to any place you like so long as it has the
..NET framework installed at that client. SysAdmins will love that.

Everyday I'm finding it hard and hard to go back and maintain my VB6 code.

Rob (other one)

"al" <gr*********@yahoo.com> wrote in message
news:66**************************@posting.google.c om...
Hi,

Can someone please tell me what is exactly zero deployment in VB.NET.
Is it that .NET doesn't need to deal with the registry? If that is
the case, then why MS introduced class registry?

MTIA,
Grawsha

Nov 20 '05 #3
al
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message news:<ud**************@TK2MSFTNGP12.phx.gbl>...
There are new deployment options in .NET. "Zero deployment" is a bit
misleading since if the code where never deployed, nobody could run it
(except maybe the developer) :-)

If you are using pure .NET managed code, the only prerequisite on the target
machine is the .NET framework. You can actually copy the files over and
things will run just fine. .NET components do not require registration, and
multiple versions of the same component can exist on the machine if
different applications require the different versions. The only exception to
this "no registration required" bit is when you want to create a shared
assembly instead of a local (private) assembly. Local library assemblies
(managed DLLs) exist in the same directory as the app that uses them by
default. Shared assemblies are installed into a special subdirectory of the
system called the GAC (global assembly cache).

The registry class is supplied because there is a lot of information in the
registry that you might want to read or write. If you are using older COM
components from .NET, then your code will also need access to the registry,
so in essence, it isn't like the registry is no longer needed at all.

There is also another thing called "No Touch Deployment", which allows you
to place your application and its various components up on a server, and
have clients load the executable from a URL to that server. The clients will
automatically download the latest application files and execute them without
requiring an install. There are some limitations, security precautions, and
caveats. Chris Sells wrote a few very good articles on this topic. Try doing
a search for this on MSDN or Google.

In addition, the next version of .NET and Windows will have a few more
deployment options that further ease the pain of application deployment.
Among them are the self-updating options of "click once" deployment, and
rich client applications written in XML.

-Rob Teixeira [MVP]
"al" <gr*********@yahoo.com> wrote in message
news:66**************************@posting.google.c om...
Hi,

Can someone please tell me what is exactly zero deployment in VB.NET.
Is it that .NET doesn't need to deal with the registry? If that is
the case, then why MS introduced class registry?

MTIA,
Grawsha


Rob T.

Forgive my stupidity, but do you mean as long the client runs .net
framework I don't need to do packging and deployment OR as long there
is .config file??
Nov 20 '05 #4

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

Similar topics

1
by: Alan Seunarayan | last post by:
Hello all, I am in the process of developing a Windows Forms application that is distributed via zero-touch. Unfortunately I have come across an obstacle! A 3rd party control that I am using...
3
by: Matthias Heuer | last post by:
Hi, we try to deploy a quite heavyweight .NET (C#) Rich Client App (2 Tier) via IIS Server Zero Touch, but it requires about 4-6 times more Processor Time and is thus 3-4 times slower than if...
1
by: JP Burford | last post by:
I am working on testing zero deployment on Windows 2003 server. The application I am testing is a simple Managed application written in C#. When I access the application I receive the following...
0
by: thbst16 | last post by:
After a number of weeks of fruitless research and experimentation, I decided to turn to the group with this issue and see if anyone had any experiences or insights that might help me out. Here's...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: al | last post by:
Hi, Can someone please tell me what is exactly zero deployment in VB.NET. Is it that .NET doesn't need to deal with the registry? If that is the case, then why MS introduced class registry? ...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.