473,396 Members | 1,786 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,396 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 2723
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.