473,770 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2763
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*********@ya hoo.com> wrote in message
news:66******** *************** ***@posting.goo gle.com...
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*********@ya hoo.com> wrote in message
news:66******** *************** ***@posting.goo gle.com...
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@@m sn.com> wrote in message news:<ud******* *******@TK2MSFT NGP12.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*********@ya hoo.com> wrote in message
news:66******** *************** ***@posting.goo gle.com...
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
1960
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 seems to dynamically create an assembly. When I run the .EXE locally on the development PC it is fine, if I also copy all the files to the test PC it runs fine. But when I run it via http://myIIS/ztd/app/ztd.exe from the test pc it fails and the...
3
2095
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 started locally. We have already set up Dummy Resource Files and we can see from the Web Server Log that no Web Server Access happens anymore. What is it that eats up Performance and how can we switch this off? It is especially blatant when just...
1
1821
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 error: Unhandled Exception: System.ArgumentException: Invalid directory on URL. at System.Security.CodeAccessSecurityEngine.GetZoneAndOriginInternal(ArrayList zoneList, ArrayList originList, StackCrawlMark& stackMark, Int32 checkFrames) at...
0
1582
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 what I'm facing: · Deploying Windows Form client using Zero Touch deployment. · I use a variant of Rocky Lhotka's NetRun utility to bootstrap the application. This utility is client resident and sets permissions to "Full Trust" prior to invoking...
4
3537
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 objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
289
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? MTIA, Grawsha
2
13851
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
4069
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 an issue, what else is available?
7
5990
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 it? If not, how do I have to change my deployment strategy? Thanks!
0
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4007
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 we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.