Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Jim Cheshire [MSFT] #1
RE: Server Control Deployment and Client Scripts?
Barry,
You shouldn't create that folder with your deployment. That folder is part
of the Framework, and it already exists on the box.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
[email]jamesche@online.microsoft.com[/email]
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------<jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>Thread-Topic: Server Control Deployment and Client Scripts?
>thread-index: AcQXTPMk3t5MXgHFTi68oaTSaVz8fQ==
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?=" <barry.forrest@ps.net_remove>
>References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9792>Subject: RE: Server Control Deployment and Client Scripts?
>Date: Wed, 31 Mar 2004 10:21:13 -0800
>Lines: 60
>Message-ID: <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 8bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>Path: cpmsftngxa06.phx.gbl
>Xref: cpmsftngxa06.phx.gblThanks for the response. Is there a tutorial you could point me to that>NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>
>Jim,
illustrates what kind of package to use and what steps I need to take to
get the folder structure created?
Thanks,
Barry
----- Jim Cheshire [MSFT] wrote: -----
Barry,
The aspnet_client folder will always be located in the root of the
virtual
server. Inside of it, you will have a system_web folder and then a
folder
for each version of the client scripts on the machine.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
[email]jamesche@online.microsoft.com[/email]
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------<barry.forrest@ps.net_remove>>Subject: Server Control Deployment and Client>Thread-Topic: Server Control Deployment and Client Scripts?
>thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
Scripts?<DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version: 1.0>Date: Tue, 30 Mar 2004 08:41:06 -0800
>Lines: 12
>Message-ID:microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9774>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 8bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>Path: cpmsftngxa06.phx.gbl
>Xref: cpmsftngxa06.phx.gblI've read interesting things in the book "Developing Microsoft®>NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols>>Help,
ASP.NET
Server Controls and Components". They mention using shared client
scripts
from the web server stored in
/aspnet_client/<assemblyName>/<assemblyVersion>
My questions:
What type of Setup and Deployment project do I need to use?
How do I determine where the aspnet_client folder is located?
(Our servers have InetPub/wwwRoot on drives other than C:\)
How to I create the folder structure, especially with a dynamically
generated assemblyVersion?
Any help is appreciated.
Barry>
>Jim Cheshire [MSFT] Guest
-
Deployment problem - unable to access data when hostingtomcat on different machine than the client
Hi, I am developing a flex application that uses servlets to retrieve data from the database and generates graphs. During development, I had the... -
Control Deployment
Hi, I have developed a custom control, which is in the form of a DLL. Now I have to deploy it .. My control uses some javascripts and images and... -
Customer Server Control won't show on client
Hi all, I have a customer server menu control that I downloaded from gotdotnet in order to learn a little more about custom controls. The... -
version control of server scripts
Hello, I will install several servers in the near future, and I want to use a system that will do version control on the scripts. The main idea... -
XML Web Service Client Deployment Failu401 Access Denied
I am new to web service. My goal is to create a simple web service, and a web service client to test the web service. When I created a web... -
Jiho Han #2
Re: Server Control Deployment and Client Scripts?
Barry,
I'm not quite sure what you're looking for. But I've been trying to do a
similar thing for the controls I built.
I haven't tried this out myself yet but in Setup and Deployment project, you
can add a Custom Action that creates the folder structure.
You will probably need to utilize their Textbox or other UI view to gather
which website - if you host multiple websites on a single machine - to
install the controls on. Then you can pass the user response in a variable
to the Custom Action. A Custom Action is basically a derived class of
System.Configuration.Install.Installer.
Visual Studio.NET documentation has a section dedicated to the S&D projects
and it's quite helpful.
I've actually been looking for information on how to add a custom dialog box
other than ones found in the S&D project and have found no such information
so far.
I'd appreciate some info on that if you ever come across it.
Good luck.
Jiho
"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...illustrates what kind of package to use and what steps I need to take to get> Jim,
> Thanks for the response. Is there a tutorial you could point me to that
the folder structure created?virtual>
> Thanks,
> Barry
>
> ----- Jim Cheshire [MSFT] wrote: -----
>
> Barry,
>
> The aspnet_client folder will always be located in the root of thefolder> server. Inside of it, you will have a system_web folder and then arights.> for each version of the client scripts on the machine.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> ASP.NET
> Developer Support
> [email]jamesche@online.microsoft.com[/email]
>
> This post is provided "AS-IS" with no warranties and confers nomicrosoft.public.dotnet.framework.aspnet.buildingc ontrols>
> --------------------> >Thread-Topic: Server Control Deployment and Client Scripts?
> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
> >X-Tomcat-NG:<barry.forrest@ps.net_remove>>Subject: Server Control Deployment and Client> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
Scripts?<DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version: 1.0> >Date: Tue, 30 Mar 2004 08:41:06 -0800
> >Lines: 12
> >Message-ID:microsoft.public.dotnet.framework.aspnet.buildingc ontrols> >Content-Type: text/plain;
> > charset="Utf-8"
> >Content-Transfer-Encoding: 8bit
> >X-Newsreader: Microsoft CDO for Windows 2000
> >Content-Class: urn:content-classes:message
> >Importance: normal
> >Priority: normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >Newsgroups:microsoft.public.dotnet.framework.aspnet.buildingc ontrols> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9774> >Path: cpmsftngxa06.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
> >X-Tomcat-NG:ASP.NET> I've read interesting things in the book "Developing Microsoft®> >>Help,scripts> Server Controls and Components". They mention using shared client> from the web server stored in
> /aspnet_client/<assemblyName>/<assemblyVersion>
>
> My questions:
> What type of Setup and Deployment project do I need to use?
> How do I determine where the aspnet_client folder is located?
> (Our servers have InetPub/wwwRoot on drives other than C:\)
> How to I create the folder structure, especially with a dynamically
> generated assemblyVersion?
>
> Any help is appreciated.
>
> Barry> >
Jiho Han Guest
-
Jim Cheshire [MSFT] #3
Re: Server Control Deployment and Client Scripts?
I would strongly caution anyone against doing this. The Framework that is
actually executing your ASP.NET application is expecting a certain version
of these client-side scripts to be on the machine. When we update the
Framework, we also often provide updated implementation in these files. If
you change the files on the box, you are going to cause problems most
likely.
These may not be binary files, but updating them manually outside of a .NET
Framework update is the same as updating a .NET Framework BCL assembly
manually. It simply should not ever be done.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
[email]jamesche@online.microsoft.com[/email]
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------<jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>From: "Jiho Han" <jiho.han@infinityinfo.com>
>References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
<421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP11>Subject: Re: Server Control Deployment and Client Scripts?
>Date: Fri, 2 Apr 2004 09:47:30 -0500
>Lines: 100
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>NNTP-Posting-Host: 63.120.62.232
>Path:
.phx.gblmicrosoft.public.dotnet.framework.aspnet.buildingc ontrols:9825>Xref: cpmsftngxa06.phx.gblyou>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>
>Barry,
>
>I'm not quite sure what you're looking for. But I've been trying to do a
>similar thing for the controls I built.
>I haven't tried this out myself yet but in Setup and Deployment project,box>can add a Custom Action that creates the folder structure.
>You will probably need to utilize their Textbox or other UI view to gather
>which website - if you host multiple websites on a single machine - to
>install the controls on. Then you can pass the user response in a variable
>to the Custom Action. A Custom Action is basically a derived class of
>System.Configuration.Install.Installer.
>
>Visual Studio.NET documentation has a section dedicated to the S&D projects
>and it's quite helpful.
>
>I've actually been looking for information on how to add a custom dialogget>other than ones found in the S&D project and have found no such information
>so far.
>I'd appreciate some info on that if you ever come across it.
>
>Good luck.
>Jiho
>
>"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
>news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...>illustrates what kind of package to use and what steps I need to take to>> Jim,
>> Thanks for the response. Is there a tutorial you could point me to that>the folder structure created?>virtual>>
>> Thanks,
>> Barry
>>
>> ----- Jim Cheshire [MSFT] wrote: -----
>>
>> Barry,
>>
>> The aspnet_client folder will always be located in the root of the>folder>> server. Inside of it, you will have a system_web folder and then a>rights.>> for each version of the client scripts on the machine.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> ASP.NET
>> Developer Support
>> [email]jamesche@online.microsoft.com[/email]
>>
>> This post is provided "AS-IS" with no warranties and confers no>microsoft.public.dotnet.framework.aspnet.building controls>>
>> -------------------->> >Thread-Topic: Server Control Deployment and Client Scripts?
>> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
>> >X-Tomcat-NG:><barry.forrest@ps.net_remove>>Subject: Server Control Deployment and Client>> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
>Scripts?><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version: 1.0>> >Date: Tue, 30 Mar 2004 08:41:06 -0800
>> >Lines: 12
>> >Message-ID:>microsoft.public.dotnet.framework.aspnet.building controls>> >Content-Type: text/plain;
>> > charset="Utf-8"
>> >Content-Transfer-Encoding: 8bit
>> >X-Newsreader: Microsoft CDO for Windows 2000
>> >Content-Class: urn:content-classes:message
>> >Importance: normal
>> >Priority: normal
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >Newsgroups:>microsoft.public.dotnet.framework.aspnet.building controls>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9774>> >Path: cpmsftngxa06.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl>> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>> >X-Tomcat-NG:>ASP.NET>> I've read interesting things in the book "Developing Microsoft®>> >>Help,>scripts>> Server Controls and Components". They mention using shared client>>> from the web server stored in
>> /aspnet_client/<assemblyName>/<assemblyVersion>
>>
>> My questions:
>> What type of Setup and Deployment project do I need to use?
>> How do I determine where the aspnet_client folder is located?
>> (Our servers have InetPub/wwwRoot on drives other than C:\)
>> How to I create the folder structure, especially with a dynamically
>> generated assemblyVersion?
>>
>> Any help is appreciated.
>>
>> Barry>> >
>
>Jim Cheshire [MSFT] Guest
-
Jiho Han #4
Re: Server Control Deployment and Client Scripts?
Jim,
Can you clarify on what you are cautioning against? Is it the modification
of the structure of the aspnet_client folder structure? Other than that,
your associate Nikhil Kothari actually recommends that we do this in his
book ASP.NET server controls and components. I'm a little confused as to
why one MSFT employee would say one thing and the other would say another.
How about the little question that I had on adding a custom dialog to the
S&D Project? Is this possible at all and can you provide some resources for
performing such customizations?
Thanks much.
Jiho
"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...If> I would strongly caution anyone against doing this. The Framework that is
> actually executing your ASP.NET application is expecting a certain version
> of these client-side scripts to be on the machine. When we update the
> Framework, we also often provide updated implementation in these files...NET> you change the files on the box, you are going to cause problems most
> likely.
>
> These may not be binary files, but updating them manually outside of acpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP11> Framework update is the same as updating a .NET Framework BCL assembly
> manually. It simply should not ever be done.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> ASP.NET
> Developer Support
> [email]jamesche@online.microsoft.com[/email]
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
>
> --------------------> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>>> >Subject: Re: Server Control Deployment and Client Scripts?
> >Date: Fri, 2 Apr 2004 09:47:30 -0500
> >Lines: 100
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >NNTP-Posting-Host: 63.120.62.232
> >Path:gather> phx.gbl> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825> >Xref: cpmsftngxa06.phx.gbl> you> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >
> >Barry,
> >
> >I'm not quite sure what you're looking for. But I've been trying to do a
> >similar thing for the controls I built.
> >I haven't tried this out myself yet but in Setup and Deployment project,> >can add a Custom Action that creates the folder structure.
> >You will probably need to utilize their Textbox or other UI view tovariable> >which website - if you host multiple websites on a single machine - to
> >install the controls on. Then you can pass the user response in aprojects> >to the Custom Action. A Custom Action is basically a derived class of
> >System.Configuration.Install.Installer.
> >
> >Visual Studio.NET documentation has a section dedicated to the S&Dinformation> box> >and it's quite helpful.
> >
> >I've actually been looking for information on how to add a custom dialog> >other than ones found in the S&D project and have found no suchthat> >so far.
> >I'd appreciate some info on that if you ever come across it.
> >
> >Good luck.
> >Jiho
> >
> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...> >> Jim,
> >> Thanks for the response. Is there a tutorial you could point me toa> get> >illustrates what kind of package to use and what steps I need to take to> >the folder structure created?> >virtual> >>
> >> Thanks,
> >> Barry
> >>
> >> ----- Jim Cheshire [MSFT] wrote: -----
> >>
> >> Barry,
> >>
> >> The aspnet_client folder will always be located in the root of the> >> server. Inside of it, you will have a system_web folder and thenClient> >folder> >rights.> >> for each version of the client scripts on the machine.
> >>
> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> ASP.NET
> >> Developer Support
> >> [email]jamesche@online.microsoft.com[/email]
> >>
> >> This post is provided "AS-IS" with no warranties and confers no> >microsoft.public.dotnet.framework.aspnet.building controls> >>
> >> --------------------
> >> >Thread-Topic: Server Control Deployment and Client Scripts?
> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
> >> >X-Tomcat-NG:> ><barry.forrest@ps.net_remove>>Subject: Server Control Deployment and> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="dynamically> >Scripts?> ><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version: 1.0> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
> >> >Lines: 12
> >> >Message-ID:> >microsoft.public.dotnet.framework.aspnet.building controls> >> >Content-Type: text/plain;
> >> > charset="Utf-8"
> >> >Content-Transfer-Encoding: 8bit
> >> >X-Newsreader: Microsoft CDO for Windows 2000
> >> >Content-Class: urn:content-classes:message
> >> >Importance: normal
> >> >Priority: normal
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >> >Newsgroups:> >microsoft.public.dotnet.framework.aspnet.building controls> >> >Path: cpmsftngxa06.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9774
> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
> >> >X-Tomcat-NG:> >ASP.NET> >> >>Help,
> >> I've read interesting things in the book "Developing Microsoft®> >scripts> >> Server Controls and Components". They mention using shared client> >> from the web server stored in
> >> /aspnet_client/<assemblyName>/<assemblyVersion>
> >>
> >> My questions:
> >> What type of Setup and Deployment project do I need to use?
> >> How do I determine where the aspnet_client folder is located?
> >> (Our servers have InetPub/wwwRoot on drives other than C:\)
> >> How to I create the folder structure, especially with a>> >> >> generated assemblyVersion?
> >>
> >> Any help is appreciated.
> >>
> >> Barry
> >> >
> >
> >
Jiho Han Guest
-
Jim Cheshire [MSFT] #5
Re: Server Control Deployment and Client Scripts?
Jiho,
What I am cautioning against is changing the versions of the client-script
files in the aspnet_client folder via your deployment. If you built your
control on a different version of the Framework and you want to ensure that
the correct version of the controls are added to the aspnet_client folder,
that's fine, but any other change is a bad idea.
In other words, adding new versions of the client files is fine. Changing
those that are already there or removing ones already there is not.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
[email]jamesche@online.microsoft.com[/email]
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------<jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>From: "Jiho Han" <jiho.han@infinityinfo.com>
>References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
<421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
<eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
<zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9845>Subject: Re: Server Control Deployment and Client Scripts?
>Date: Mon, 5 Apr 2004 09:31:32 -0400
>Lines: 176
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>NNTP-Posting-Host: 63.120.62.232
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
>Xref: cpmsftngxa06.phx.gblfor>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>
>Jim,
>
>Can you clarify on what you are cautioning against? Is it the modification
>of the structure of the aspnet_client folder structure? Other than that,
>your associate Nikhil Kothari actually recommends that we do this in his
>book ASP.NET server controls and components. I'm a little confused as to
>why one MSFT employee would say one thing and the other would say another.
>
>How about the little question that I had on adding a custom dialog to the
>S&D Project? Is this possible at all and can you provide some resourcesis>performing such customizations?
>Thanks much.
>
>Jiho
>
>"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...>> I would strongly caution anyone against doing this. The Framework thatversion>> actually executing your ASP.NET application is expecting a certain1>If>> of these client-side scripts to be on the machine. When we update the
>> Framework, we also often provide updated implementation in these files.>.NET>> you change the files on the box, you are going to cause problems most
>> likely.
>>
>> These may not be binary files, but updating them manually outside of a>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1>> Framework update is the same as updating a .NET Framework BCL assembly
>> manually. It simply should not ever be done.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> ASP.NET
>> Developer Support
>> [email]jamesche@online.microsoft.com[/email]
>>
>> This post is provided "AS-IS" with no warranties and confers no rights.
>>
>>
>> -------------------->> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>>>>> >Subject: Re: Server Control Deployment and Client Scripts?
>> >Date: Fri, 2 Apr 2004 09:47:30 -0500
>> >Lines: 100
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >NNTP-Posting-Host: 63.120.62.232
>> >Path:a>> phx.gbl>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825>> >Xref: cpmsftngxa06.phx.gbl>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >
>> >Barry,
>> >
>> >I'm not quite sure what you're looking for. But I've been trying to dothe>gather>> you>> >similar thing for the controls I built.
>> >I haven't tried this out myself yet but in Setup and Deployment project,>> >can add a Custom Action that creates the folder structure.
>> >You will probably need to utilize their Textbox or other UI view to>variable>> >which website - if you host multiple websites on a single machine - to
>> >install the controls on. Then you can pass the user response in a>projects>> >to the Custom Action. A Custom Action is basically a derived class of
>> >System.Configuration.Install.Installer.
>> >
>> >Visual Studio.NET documentation has a section dedicated to the S&D>information>> box>> >and it's quite helpful.
>> >
>> >I've actually been looking for information on how to add a custom dialog>> >other than ones found in the S&D project and have found no such>that>> >so far.
>> >I'd appreciate some info on that if you ever come across it.
>> >
>> >Good luck.
>> >Jiho
>> >
>> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
>> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...
>> >> Jim,
>> >> Thanks for the response. Is there a tutorial you could point me to>> get>> >illustrates what kind of package to use and what steps I need to take to>> >the folder structure created?
>> >>
>> >> Thanks,
>> >> Barry
>> >>
>> >> ----- Jim Cheshire [MSFT] wrote: -----
>> >>
>> >> Barry,
>> >>
>> >> The aspnet_client folder will always be located in the root ofclient>a>> >virtual
>> >> server. Inside of it, you will have a system_web folder and then>Client>> >folder
>> >> for each version of the client scripts on the machine.
>> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> ASP.NET
>> >> Developer Support
>> >> [email]jamesche@online.microsoft.com[/email]
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers no
>> >rights.
>> >>
>> >> --------------------
>> >> >Thread-Topic: Server Control Deployment and Client Scripts?
>> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
>> >> >X-Tomcat-NG:
>> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
>> ><barry.forrest@ps.net_remove>>Subject: Server Control Deployment and>> >Scripts?
>> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
>> >> >Lines: 12
>> >> >Message-ID:
>> ><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version: 1.0
>> >> >Content-Type: text/plain;
>> >> > charset="Utf-8"
>> >> >Content-Transfer-Encoding: 8bit
>> >> >X-Newsreader: Microsoft CDO for Windows 2000
>> >> >Content-Class: urn:content-classes:message
>> >> >Importance: normal
>> >> >Priority: normal
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >Newsgroups:
>> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >Path: cpmsftngxa06.phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9774
>> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>> >> >X-Tomcat-NG:
>> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >>Help,
>> >> I've read interesting things in the book "Developing Microsoft®
>> >ASP.NET
>> >> Server Controls and Components". They mention using shared>dynamically>> >scripts
>> >> from the web server stored in
>> >> /aspnet_client/<assemblyName>/<assemblyVersion>
>> >>
>> >> My questions:
>> >> What type of Setup and Deployment project do I need to use?
>> >> How do I determine where the aspnet_client folder is located?
>> >> (Our servers have InetPub/wwwRoot on drives other than C:\)
>> >> How to I create the folder structure, especially with a>>>>> >> generated assemblyVersion?
>> >>
>> >> Any help is appreciated.
>> >>
>> >> Barry
>> >> >
>> >
>> >
>> >
>
>Jim Cheshire [MSFT] Guest
-
Jiho Han #6
Re: Server Control Deployment and Client Scripts?
I see.
The deployment method that I mentioned which is found in the server controls
book is exactly the approach you suggest.
One would be creating a brand new folder structure underneath the
aspnet_client folder without touching its system_web_ui subfolder at all.
i.e.
under c:\inetput\wwwroot\,
\aspnet_client
\system_web_ui
\1_0_0_0
...
\myorg_web_ui
\1_0_5_99
\imgs
button_on.gif
button_off.gif
\scripts
button.js
And that was what I was suggesting that the original poster do.
Any news on my custom setup action question? :)
Thanks
Jiho
"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
news:C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl...that> Jiho,
>
> What I am cautioning against is changing the versions of the client-script
> files in the aspnet_client folder via your deployment. If you built your
> control on a different version of the Framework and you want to ensuremodification> the correct version of the controls are added to the aspnet_client folder,
> that's fine, but any other change is a bad idea.
>
> In other words, adding new versions of the client files is fine. Changing
> those that are already there or removing ones already there is not.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> ASP.NET
> Developer Support
> [email]jamesche@online.microsoft.com[/email]
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
> --------------------> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9845> >Subject: Re: Server Control Deployment and Client Scripts?
> >Date: Mon, 5 Apr 2004 09:31:32 -0400
> >Lines: 176
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >NNTP-Posting-Host: 63.120.62.232
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >
> >Jim,
> >
> >Can you clarify on what you are cautioning against? Is it theanother.> >of the structure of the aspnet_client folder structure? Other than that,
> >your associate Nikhil Kothari actually recommends that we do this in his
> >book ASP.NET server controls and components. I'm a little confused as to
> >why one MSFT employee would say one thing and the other would saydo> for> >
> >How about the little question that I had on adding a custom dialog to the
> >S&D Project? Is this possible at all and can you provide some resources> is> >performing such customizations?
> >Thanks much.
> >
> >Jiho
> >
> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
> >news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...> >> I would strongly caution anyone against doing this. The Framework that> version> >> actually executing your ASP.NET application is expecting a certain>> >If> >> of these client-side scripts to be on the machine. When we update the
> >> Framework, we also often provide updated implementation in these files.> >.NET> >> you change the files on the box, you are going to cause problems most
> >> likely.
> >>
> >> These may not be binary files, but updating them manually outside of a> >> Framework update is the same as updating a .NET Framework BCL assembly
> >> manually. It simply should not ever be done.
> >>
> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> ASP.NET
> >> Developer Support
> >> [email]jamesche@online.microsoft.com[/email]
> >>
> >> This post is provided "AS-IS" with no warranties and confers no rights.
> >>
> >>
> >> --------------------
> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> >> >Subject: Re: Server Control Deployment and Client Scripts?
> >> >Date: Fri, 2 Apr 2004 09:47:30 -0500
> >> >Lines: 100
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >> >NNTP-Posting-Host: 63.120.62.232
> >> >Path:
> >>
>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1
> 1> >> phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >> >
> >> >Barry,
> >> >
> >> >I'm not quite sure what you're looking for. But I've been trying toproject,> a> >> >similar thing for the controls I built.
> >> >I haven't tried this out myself yet but in Setup and Deploymentdialog> >gather> >> you
> >> >can add a Custom Action that creates the folder structure.
> >> >You will probably need to utilize their Textbox or other UI view to> >variable> >> >which website - if you host multiple websites on a single machine - to
> >> >install the controls on. Then you can pass the user response in a> >projects> >> >to the Custom Action. A Custom Action is basically a derived class of
> >> >System.Configuration.Install.Installer.
> >> >
> >> >Visual Studio.NET documentation has a section dedicated to the S&D> >> >and it's quite helpful.
> >> >
> >> >I've actually been looking for information on how to add a customto> >information> >> box
> >> >other than ones found in the S&D project and have found no such> >that> >> >so far.
> >> >I'd appreciate some info on that if you ever come across it.
> >> >
> >> >Good luck.
> >> >Jiho
> >> >
> >> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
> >> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...
> >> >> Jim,
> >> >> Thanks for the response. Is there a tutorial you could point me to> >> >illustrates what kind of package to use and what steps I need to takethen> the> >> get
> >> >the folder structure created?
> >> >>
> >> >> Thanks,
> >> >> Barry
> >> >>
> >> >> ----- Jim Cheshire [MSFT] wrote: -----
> >> >>
> >> >> Barry,
> >> >>
> >> >> The aspnet_client folder will always be located in the root of> >> >virtual
> >> >> server. Inside of it, you will have a system_web folder andMicrosoft®> >a> >Client> >> >folder
> >> >> for each version of the client scripts on the machine.
> >> >>
> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> >> ASP.NET
> >> >> Developer Support
> >> >> [email]jamesche@online.microsoft.com[/email]
> >> >>
> >> >> This post is provided "AS-IS" with no warranties and confers no
> >> >rights.
> >> >>
> >> >> --------------------
> >> >> >Thread-Topic: Server Control Deployment and Client Scripts?
> >> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
> >> >> >X-Tomcat-NG:
> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
> >> ><barry.forrest@ps.net_remove>>Subject: Server Control Deployment and> >> >Scripts?
> >> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
> >> >> >Lines: 12
> >> >> >Message-ID:
> >> ><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version: 1.0
> >> >> >Content-Type: text/plain;
> >> >> > charset="Utf-8"
> >> >> >Content-Transfer-Encoding: 8bit
> >> >> >X-Newsreader: Microsoft CDO for Windows 2000
> >> >> >Content-Class: urn:content-classes:message
> >> >> >Importance: normal
> >> >> >Priority: normal
> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >> >> >Newsgroups:
> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >Path: cpmsftngxa06.phx.gbl
> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9774
> >> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
> >> >> >X-Tomcat-NG:
> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >>Help,
> >> >> I've read interesting things in the book "Developing> client> >> >ASP.NET
> >> >> Server Controls and Components". They mention using shared>> >dynamically> >> >scripts
> >> >> from the web server stored in
> >> >> /aspnet_client/<assemblyName>/<assemblyVersion>
> >> >>
> >> >> My questions:
> >> >> What type of Setup and Deployment project do I need to use?
> >> >> How do I determine where the aspnet_client folder is located?
> >> >> (Our servers have InetPub/wwwRoot on drives other than C:\)
> >> >> How to I create the folder structure, especially with a> >> >> >> generated assemblyVersion?
> >> >>
> >> >> Any help is appreciated.
> >> >>
> >> >> Barry
> >> >> >
> >> >
> >> >
> >> >
> >>
> >
> >
Jiho Han Guest
-
Jim Cheshire [MSFT] #7
Re: Server Control Deployment and Client Scripts?
Hi Jiho,
That's perfectly fine, and as Nikhil says, that's what you would want to do
so that you can ensure that your code runs against the correct version of
the client scripts.
As far as your custom action is concerned, I cannot answer that. I don't
ever deal with Setup project issues. Hopefully someone here can assist
with that.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
[email]jamesche@online.microsoft.com[/email]
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------<jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>From: "Jiho Han" <jiho.han@infinityinfo.com>
>References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
<421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
<eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
<zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
<#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
<C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTF EED01.phx.gbl!TK2MSFTNGP08>Subject: Re: Server Control Deployment and Client Scripts?
>Date: Mon, 5 Apr 2004 15:21:16 -0400
>Lines: 268
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>NNTP-Posting-Host: 63.120.62.232
>Path:
.phx.gbl!TK2MSFTNGP10.phx.gblmicrosoft.public.dotnet.framework.aspnet.buildingc ontrols:9847>Xref: cpmsftngxa06.phx.gblcontrols>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>
>I see.
>The deployment method that I mentioned which is found in the serverclient-script>book is exactly the approach you suggest.
>One would be creating a brand new folder structure underneath the
>aspnet_client folder without touching its system_web_ui subfolder at all.
>
>i.e.
>
>under c:\inetput\wwwroot\,
>
>\aspnet_client
> \system_web_ui
> \1_0_0_0
> ...
> \myorg_web_ui
> \1_0_5_99
> \imgs
> button_on.gif
> button_off.gif
> \scripts
> button.js
>
>And that was what I was suggesting that the original poster do.
>
>Any news on my custom setup action question? :)
>Thanks
>
>Jiho
>
>"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>news:C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl...>> Jiho,
>>
>> What I am cautioning against is changing the versions of thefolder,>that>> files in the aspnet_client folder via your deployment. If you built your
>> control on a different version of the Framework and you want to ensure>> the correct version of the controls are added to the aspnet_clientChanging>> that's fine, but any other change is a bad idea.
>>
>> In other words, adding new versions of the client files is fine.that,>modification>> those that are already there or removing ones already there is not.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> ASP.NET
>> Developer Support
>> [email]jamesche@online.microsoft.com[/email]
>>
>> This post is provided "AS-IS" with no warranties and confers no rights.
>>
>> -------------------->> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9845>> >Subject: Re: Server Control Deployment and Client Scripts?
>> >Date: Mon, 5 Apr 2004 09:31:32 -0400
>> >Lines: 176
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >NNTP-Posting-Host: 63.120.62.232
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >
>> >Jim,
>> >
>> >Can you clarify on what you are cautioning against? Is it the>> >of the structure of the aspnet_client folder structure? Other thanto>> >your associate Nikhil Kothari actually recommends that we do this in his
>> >book ASP.NET server controls and components. I'm a little confused asthe>another.>> >why one MSFT employee would say one thing and the other would say>> >
>> >How about the little question that I had on adding a custom dialog tothat>> for>> >S&D Project? Is this possible at all and can you provide some resources>> >performing such customizations?
>> >Thanks much.
>> >
>> >Jiho
>> >
>> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>> >news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...
>> >> I would strongly caution anyone against doing this. The Frameworkfiles.>> is>> version>> >> actually executing your ASP.NET application is expecting a certain>> >> of these client-side scripts to be on the machine. When we update the
>> >> Framework, we also often provide updated implementation in theserights.>> >If
>> >> you change the files on the box, you are going to cause problems most
>> >> likely.
>> >>
>> >> These may not be binary files, but updating them manually outside of a
>> >.NET
>> >> Framework update is the same as updating a .NET Framework BCL assembly
>> >> manually. It simply should not ever be done.
>> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> ASP.NET
>> >> Developer Support
>> >> [email]jamesche@online.microsoft.com[/email]
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers no1>>>> >>
>> >>
>> >> --------------------
>> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
>> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> >> >Subject: Re: Server Control Deployment and Client Scripts?
>> >> >Date: Fri, 2 Apr 2004 09:47:30 -0500
>> >> >Lines: 100
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >> >NNTP-Posting-Host: 63.120.62.232
>> >> >Path:
>> >>
>>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MS FTNGP08.phx.gbl!TK2MSFTNGPmicrosoft.public.dotnet.framework.aspnet.buildingc ontrols>> 1>> >> phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825
>> >> >X-Tomcat-NG:to>do>> >> >
>> >> >Barry,
>> >> >
>> >> >I'm not quite sure what you're looking for. But I've been trying to>project,>> a>> >> >similar thing for the controls I built.
>> >> >I haven't tried this out myself yet but in Setup and Deployment>> >> you
>> >> >can add a Custom Action that creates the folder structure.
>> >> >You will probably need to utilize their Textbox or other UI view to
>> >gather
>> >> >which website - if you host multiple websites on a single machine -of>> >> >install the controls on. Then you can pass the user response in a
>> >variable
>> >> >to the Custom Action. A Custom Action is basically a derived classno>dialog>> >> >System.Configuration.Install.Installer.
>> >> >
>> >> >Visual Studio.NET documentation has a section dedicated to the S&D
>> >projects
>> >> >and it's quite helpful.
>> >> >
>> >> >I've actually been looking for information on how to add a custom>to>> >> box
>> >> >other than ones found in the S&D project and have found no such
>> >information
>> >> >so far.
>> >> >I'd appreciate some info on that if you ever come across it.
>> >> >
>> >> >Good luck.
>> >> >Jiho
>> >> >
>> >> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
>> >> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...
>> >> >> Jim,
>> >> >> Thanks for the response. Is there a tutorial you could point me to
>> >that
>> >> >illustrates what kind of package to use and what steps I need to take>then>> the>> >> get
>> >> >the folder structure created?
>> >> >>
>> >> >> Thanks,
>> >> >> Barry
>> >> >>
>> >> >> ----- Jim Cheshire [MSFT] wrote: -----
>> >> >>
>> >> >> Barry,
>> >> >>
>> >> >> The aspnet_client folder will always be located in the root of>> >> >virtual
>> >> >> server. Inside of it, you will have a system_web folder and>> >a
>> >> >folder
>> >> >> for each version of the client scripts on the machine.
>> >> >>
>> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> >> ASP.NET
>> >> >> Developer Support
>> >> >> [email]jamesche@online.microsoft.com[/email]
>> >> >>
>> >> >> This post is provided "AS-IS" with no warranties and confers1.0>> >> >rights.
>> >> >>
>> >> >> --------------------
>> >> >> >Thread-Topic: Server Control Deployment and Client Scripts?
>> >> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
>> >> >> >X-Tomcat-NG:
>> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
>> >> ><barry.forrest@ps.net_remove>>Subject: Server Control Deployment and
>> >Client
>> >> >Scripts?
>> >> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
>> >> >> >Lines: 12
>> >> >> >Message-ID:
>> >> ><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version:>Microsoft®>> >> >> >Content-Type: text/plain;
>> >> >> > charset="Utf-8"
>> >> >> >Content-Transfer-Encoding: 8bit
>> >> >> >X-Newsreader: Microsoft CDO for Windows 2000
>> >> >> >Content-Class: urn:content-classes:message
>> >> >> >Importance: normal
>> >> >> >Priority: normal
>> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >> >Newsgroups:
>> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >Path: cpmsftngxa06.phx.gbl
>> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9774
>> >> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>> >> >> >X-Tomcat-NG:
>> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >>Help,
>> >> >> I've read interesting things in the book "Developing>>> client>> >> >ASP.NET
>> >> >> Server Controls and Components". They mention using shared>>>> >> >scripts
>> >> >> from the web server stored in
>> >> >> /aspnet_client/<assemblyName>/<assemblyVersion>
>> >> >>
>> >> >> My questions:
>> >> >> What type of Setup and Deployment project do I need to use?
>> >> >> How do I determine where the aspnet_client folder is located?
>> >> >> (Our servers have InetPub/wwwRoot on drives other than C:\)
>> >> >> How to I create the folder structure, especially with a
>> >dynamically
>> >> >> generated assemblyVersion?
>> >> >>
>> >> >> Any help is appreciated.
>> >> >>
>> >> >> Barry
>> >> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>
>Jim Cheshire [MSFT] Guest
-
Jiho Han #8
Re: Server Control Deployment and Client Scripts?
Ok, I appreciate it though.
One more question about aspnet_client folder usage here:
Is aspnet_client folder meant only for "client" files, meaning, .js scripts,
..css, .htc, etc. and not for .aspx files?
I may have a commonly used .aspx file that I am trying to figure where to
deploy. Think of a lookup control, for example.
It would look like a text box with a magnifying glass button next to it.
Once you click on the button, a dialog would pop up with a list of items
from which you can pick, and when you close the dialog, the value is
returned to the control and the text value shown in the textbox. The dialog
then will have to, at least in my mind, be an .aspx page. Do you think it'd
be a bad practice to put .aspx - albeit not application-specific - into
aspnet_client folder?
Thanks
Jiho
"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
news:GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl...do> Hi Jiho,
>
> That's perfectly fine, and as Nikhil says, that's what you would want tocpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTF EED01.phx.gbl!TK2MSFTNGP08> so that you can ensure that your code runs against the correct version of
> the client scripts.
>
> As far as your custom action is concerned, I cannot answer that. I don't
> ever deal with Setup project issues. Hopefully someone here can assist
> with that.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> ASP.NET
> Developer Support
> [email]jamesche@online.microsoft.com[/email]
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
> --------------------> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
> <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
> <C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>>> >Subject: Re: Server Control Deployment and Client Scripts?
> >Date: Mon, 5 Apr 2004 15:21:16 -0400
> >Lines: 268
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >NNTP-Posting-Host: 63.120.62.232
> >Path:your> phx.gbl!TK2MSFTNGP10.phx.gbl> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9847> >Xref: cpmsftngxa06.phx.gbl> controls> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >
> >I see.
> >The deployment method that I mentioned which is found in the server> client-script> >book is exactly the approach you suggest.
> >One would be creating a brand new folder structure underneath the
> >aspnet_client folder without touching its system_web_ui subfolder at all.
> >
> >i.e.
> >
> >under c:\inetput\wwwroot\,
> >
> >\aspnet_client
> > \system_web_ui
> > \1_0_0_0
> > ...
> > \myorg_web_ui
> > \1_0_5_99
> > \imgs
> > button_on.gif
> > button_off.gif
> > \scripts
> > button.js
> >
> >And that was what I was suggesting that the original poster do.
> >
> >Any news on my custom setup action question? :)
> >Thanks
> >
> >Jiho
> >
> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
> >news:C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl...> >> Jiho,
> >>
> >> What I am cautioning against is changing the versions of the> >> files in the aspnet_client folder via your deployment. If you builthis> folder,> >that> >> control on a different version of the Framework and you want to ensure> >> the correct version of the controls are added to the aspnet_client> Changing> >> that's fine, but any other change is a bad idea.
> >>
> >> In other words, adding new versions of the client files is fine.> that,> >modification> >> those that are already there or removing ones already there is not.
> >>
> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> ASP.NET
> >> Developer Support
> >> [email]jamesche@online.microsoft.com[/email]
> >>
> >> This post is provided "AS-IS" with no warranties and confers no rights.
> >>
> >> --------------------
> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> >> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> >> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
> >> >Subject: Re: Server Control Deployment and Client Scripts?
> >> >Date: Mon, 5 Apr 2004 09:31:32 -0400
> >> >Lines: 176
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >Message-ID: <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >> >NNTP-Posting-Host: 63.120.62.232
> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9845
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >> >
> >> >Jim,
> >> >
> >> >Can you clarify on what you are cautioning against? Is it the> >> >of the structure of the aspnet_client folder structure? Other than> >> >your associate Nikhil Kothari actually recommends that we do this inresources> to> >> >book ASP.NET server controls and components. I'm a little confused as> the> >another.> >> >why one MSFT employee would say one thing and the other would say> >> >
> >> >How about the little question that I had on adding a custom dialog to> >> >S&D Project? Is this possible at all and can you provide somethe> that> >> for
> >> >performing such customizations?
> >> >Thanks much.
> >> >
> >> >Jiho
> >> >
> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
> >> >news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...
> >> >> I would strongly caution anyone against doing this. The Framework> >> is
> >> >> actually executing your ASP.NET application is expecting a certain
> >> version
> >> >> of these client-side scripts to be on the machine. When we updatemost> files.> >> >> Framework, we also often provide updated implementation in these> >> >If
> >> >> you change the files on the box, you are going to cause problemsa> >> >> likely.
> >> >>
> >> >> These may not be binary files, but updating them manually outside ofassembly> >> >.NET
> >> >> Framework update is the same as updating a .NET Framework BCLmicrosoft.public.dotnet.framework.aspnet.buildingc ontrols> rights.> >> >> manually. It simply should not ever be done.
> >> >>
> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> >> ASP.NET
> >> >> Developer Support
> >> >> [email]jamesche@online.microsoft.com[/email]
> >> >>
> >> >> This post is provided "AS-IS" with no warranties and confers no> >> >>
> >> >>
> >> >> --------------------
> >> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> >> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
> >> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> >> >> >Subject: Re: Server Control Deployment and Client Scripts?
> >> >> >Date: Fri, 2 Apr 2004 09:47:30 -0500
> >> >> >Lines: 100
> >> >> >X-Priority: 3
> >> >> >X-MSMail-Priority: Normal
> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> >> >> >Newsgroups:to>> >> >> >NNTP-Posting-Host: 63.120.62.232
> >> >> >Path:
> >> >>
> >>> 1>>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MS FTNGP08.phx.gbl!TK2MSFTNGP> microsoft.public.dotnet.framework.aspnet.buildingc ontrols> >> 1
> >> >> phx.gbl
> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825
> >> >> >X-Tomcat-NG:> >> >> >
> >> >> >Barry,
> >> >> >
> >> >> >I'm not quite sure what you're looking for. But I've been tryingto> to> >do> >project,> >> a
> >> >> >similar thing for the controls I built.
> >> >> >I haven't tried this out myself yet but in Setup and Deployment> >> >> you
> >> >> >can add a Custom Action that creates the folder structure.
> >> >> >You will probably need to utilize their Textbox or other UI view to
> >> >gather
> >> >> >which website - if you host multiple websites on a single machine -> of> >> >> >install the controls on. Then you can pass the user response in a
> >> >variable
> >> >> >to the Custom Action. A Custom Action is basically a derived class> >dialog> >> >> >System.Configuration.Install.Installer.
> >> >> >
> >> >> >Visual Studio.NET documentation has a section dedicated to the S&D
> >> >projects
> >> >> >and it's quite helpful.
> >> >> >
> >> >> >I've actually been looking for information on how to add a custom> >> >> box
> >> >> >other than ones found in the S&D project and have found no such
> >> >information
> >> >> >so far.
> >> >> >I'd appreciate some info on that if you ever come across it.
> >> >> >
> >> >> >Good luck.
> >> >> >Jiho
> >> >> >
> >> >> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
> >> >> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...
> >> >> >> Jim,
> >> >> >> Thanks for the response. Is there a tutorial you could point metake> >> >that
> >> >> >illustrates what kind of package to use and what steps I need toof> >to> >> >> get
> >> >> >the folder structure created?
> >> >> >>
> >> >> >> Thanks,
> >> >> >> Barry
> >> >> >>
> >> >> >> ----- Jim Cheshire [MSFT] wrote: -----
> >> >> >>
> >> >> >> Barry,
> >> >> >>
> >> >> >> The aspnet_client folder will always be located in the rootand> no> >then> >> the
> >> >> >virtual
> >> >> >> server. Inside of it, you will have a system_web folder and> >> >a
> >> >> >folder
> >> >> >> for each version of the client scripts on the machine.
> >> >> >>
> >> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> >> >> ASP.NET
> >> >> >> Developer Support
> >> >> >> [email]jamesche@online.microsoft.com[/email]
> >> >> >>
> >> >> >> This post is provided "AS-IS" with no warranties and confers> >> >> >rights.
> >> >> >>
> >> >> >> --------------------
> >> >> >> >Thread-Topic: Server Control Deployment and Client Scripts?
> >> >> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
> >> >> >> >X-Tomcat-NG:
> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
> >> >> ><barry.forrest@ps.net_remove>>Subject: Server Control Deploymentmicrosoft.public.dotnet.framework.aspnet.buildingc ontrols:9774> 1.0> >> >Client
> >> >> >Scripts?
> >> >> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
> >> >> >> >Lines: 12
> >> >> >> >Message-ID:
> >> >> ><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version:> >> >> >> >Content-Type: text/plain;
> >> >> >> > charset="Utf-8"
> >> >> >> >Content-Transfer-Encoding: 8bit
> >> >> >> >X-Newsreader: Microsoft CDO for Windows 2000
> >> >> >> >Content-Class: urn:content-classes:message
> >> >> >> >Importance: normal
> >> >> >> >Priority: normal
> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >> >> >> >Newsgroups:
> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >> >Path: cpmsftngxa06.phx.gbl
> >> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> >>located?> >Microsoft®> >> >> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
> >> >> >> >X-Tomcat-NG:
> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >> >>Help,
> >> >> >> I've read interesting things in the book "Developing> >> >> >ASP.NET
> >> >> >> Server Controls and Components". They mention using shared
> >> client
> >> >> >scripts
> >> >> >> from the web server stored in
> >> >> >> /aspnet_client/<assemblyName>/<assemblyVersion>
> >> >> >>
> >> >> >> My questions:
> >> >> >> What type of Setup and Deployment project do I need to use?
> >> >> >> How do I determine where the aspnet_client folder is>> >> >> >> >> (Our servers have InetPub/wwwRoot on drives other than C:\)
> >> >> >> How to I create the folder structure, especially with a
> >> >dynamically
> >> >> >> generated assemblyVersion?
> >> >> >>
> >> >> >> Any help is appreciated.
> >> >> >>
> >> >> >> Barry
> >> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >>
> >
> >
Jiho Han Guest
-
Jim Cheshire [MSFT] #9
Re: Server Control Deployment and Client Scripts?
I'd say it's a bad idea only because you will run into issues if crossing
application boundaries. I can't think of any other problems with it.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
[email]jamesche@online.microsoft.com[/email]
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------<jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>From: "Jiho Han" <jiho.han@infinityinfo.com>
>References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
<421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
<eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
<zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
<#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
<C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>
<OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
<GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTF EED01.phx.gbl!TK2MSFTNGP08>Subject: Re: Server Control Deployment and Client Scripts?
>Date: Thu, 8 Apr 2004 09:34:53 -0400
>Lines: 370
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#LKEH5WHEHA.1048@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>NNTP-Posting-Host: 63.120.62.232
>Path:
.phx.gbl!TK2MSFTNGP12.phx.gblmicrosoft.public.dotnet.framework.aspnet.buildingc ontrols:9869>Xref: cpmsftngxa06.phx.gblscripts,>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>
>Ok, I appreciate it though.
>
>One more question about aspnet_client folder usage here:
>
>Is aspnet_client folder meant only for "client" files, meaning, .jsdialog>.css, .htc, etc. and not for .aspx files?
>I may have a commonly used .aspx file that I am trying to figure where to
>deploy. Think of a lookup control, for example.
>It would look like a text box with a magnifying glass button next to it.
>Once you click on the button, a dialog would pop up with a list of items
>from which you can pick, and when you close the dialog, the value is
>returned to the control and the text value shown in the textbox. Theit'd>then will have to, at least in my mind, be an .aspx page. Do you think8>be a bad practice to put .aspx - albeit not application-specific - into
>aspnet_client folder?
>
>Thanks
>Jiho
>
>"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>news:GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl...>do>> Hi Jiho,
>>
>> That's perfectly fine, and as Nikhil says, that's what you would want to>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT FEED01.phx.gbl!TK2MSFTNGP0>> so that you can ensure that your code runs against the correct version of
>> the client scripts.
>>
>> As far as your custom action is concerned, I cannot answer that. I don't
>> ever deal with Setup project issues. Hopefully someone here can assist
>> with that.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> ASP.NET
>> Developer Support
>> [email]jamesche@online.microsoft.com[/email]
>>
>> This post is provided "AS-IS" with no warranties and confers no rights.
>>
>> -------------------->> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
>> <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
>> <C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>>>>> >Subject: Re: Server Control Deployment and Client Scripts?
>> >Date: Mon, 5 Apr 2004 15:21:16 -0400
>> >Lines: 268
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >NNTP-Posting-Host: 63.120.62.232
>> >Path:all.>> phx.gbl!TK2MSFTNGP10.phx.gbl>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9847>> >Xref: cpmsftngxa06.phx.gbl>> controls>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >
>> >I see.
>> >The deployment method that I mentioned which is found in the server>> >book is exactly the approach you suggest.
>> >One would be creating a brand new folder structure underneath the
>> >aspnet_client folder without touching its system_web_ui subfolder atrights.>your>> client-script>> >
>> >i.e.
>> >
>> >under c:\inetput\wwwroot\,
>> >
>> >\aspnet_client
>> > \system_web_ui
>> > \1_0_0_0
>> > ...
>> > \myorg_web_ui
>> > \1_0_5_99
>> > \imgs
>> > button_on.gif
>> > button_off.gif
>> > \scripts
>> > button.js
>> >
>> >And that was what I was suggesting that the original poster do.
>> >
>> >Any news on my custom setup action question? :)
>> >Thanks
>> >
>> >Jiho
>> >
>> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>> >news:C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl...
>> >> Jiho,
>> >>
>> >> What I am cautioning against is changing the versions of the>> >> files in the aspnet_client folder via your deployment. If you built>> folder,>> >> control on a different version of the Framework and you want to ensure
>> >that
>> >> the correct version of the controls are added to the aspnet_client>> Changing>> >> that's fine, but any other change is a bad idea.
>> >>
>> >> In other words, adding new versions of the client files is fine.>> >> those that are already there or removing ones already there is not.
>> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> ASP.NET
>> >> Developer Support
>> >> [email]jamesche@online.microsoft.com[/email]
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers nomicrosoft.public.dotnet.framework.aspnet.buildingc ontrols>> >>
>> >> --------------------
>> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
>> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> >> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> >> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
>> >> >Subject: Re: Server Control Deployment and Client Scripts?
>> >> >Date: Mon, 5 Apr 2004 09:31:32 -0400
>> >> >Lines: 176
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >> >NNTP-Posting-Host: 63.120.62.232
>> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9845
>> >> >X-Tomcat-NG:as>his>> that,>> >> >
>> >> >Jim,
>> >> >
>> >> >Can you clarify on what you are cautioning against? Is it the
>> >modification
>> >> >of the structure of the aspnet_client folder structure? Other than>> >> >your associate Nikhil Kothari actually recommends that we do this in>> >> >book ASP.NET server controls and components. I'm a little confusedmessage>resources>> to>> the>> >> >why one MSFT employee would say one thing and the other would say
>> >another.
>> >> >
>> >> >How about the little question that I had on adding a custom dialog to>> >> >S&D Project? Is this possible at all and can you provide some>> >> for
>> >> >performing such customizations?
>> >> >Thanks much.
>> >> >
>> >> >Jiho
>> >> >
>> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote inof>the>> that>> >> >news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...
>> >> >> I would strongly caution anyone against doing this. The Framework>> >> is
>> >> >> actually executing your ASP.NET application is expecting a certain
>> >> version
>> >> >> of these client-side scripts to be on the machine. When we update>most>> files.>> >> >> Framework, we also often provide updated implementation in these>> >> >If
>> >> >> you change the files on the box, you are going to cause problems>> >> >> likely.
>> >> >>
>> >> >> These may not be binary files, but updating them manually outsideP>a>assembly>> >> >.NET
>> >> >> Framework update is the same as updating a .NET Framework BCL>microsoft.public.dotnet.framework.aspnet.building controls>> rights.>> >> >> manually. It simply should not ever be done.
>> >> >>
>> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> >> ASP.NET
>> >> >> Developer Support
>> >> >> [email]jamesche@online.microsoft.com[/email]
>> >> >>
>> >> >> This post is provided "AS-IS" with no warranties and confers no>> >> >>
>> >> >>
>> >> >> --------------------
>> >> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> >> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
>> >> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> >> >> >Subject: Re: Server Control Deployment and Client Scripts?
>> >> >> >Date: Fri, 2 Apr 2004 09:47:30 -0500
>> >> >> >Lines: 100
>> >> >> >X-Priority: 3
>> >> >> >X-MSMail-Priority: Normal
>> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> >> >> >Newsgroups:>>>> >> >> >NNTP-Posting-Host: 63.120.62.232
>> >> >> >Path:
>> >> >>
>> >>>>>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2M SFTNGP08.phx.gbl!TK2MSFTNGto>to>> 1>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols>> >> 1
>> >> >> phx.gbl
>> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825
>> >> >> >X-Tomcat-NG:>> >> >> >
>> >> >> >Barry,
>> >> >> >
>> >> >> >I'm not quite sure what you're looking for. But I've been trying>> >do
>> >> a
>> >> >> >similar thing for the controls I built.
>> >> >> >I haven't tried this out myself yet but in Setup and Deployment
>> >project,
>> >> >> you
>> >> >> >can add a Custom Action that creates the folder structure.
>> >> >> >You will probably need to utilize their Textbox or other UI view->> >> >gather
>> >> >> >which website - if you host multiple websites on a single machineclass>> to>> >> >> >install the controls on. Then you can pass the user response in a
>> >> >variable
>> >> >> >to the Custom Action. A Custom Action is basically a derivedand>to>> of>> >> >> >System.Configuration.Install.Installer.
>> >> >> >
>> >> >> >Visual Studio.NET documentation has a section dedicated to the S&D
>> >> >projects
>> >> >> >and it's quite helpful.
>> >> >> >
>> >> >> >I've actually been looking for information on how to add a custom
>> >dialog
>> >> >> box
>> >> >> >other than ones found in the S&D project and have found no such
>> >> >information
>> >> >> >so far.
>> >> >> >I'd appreciate some info on that if you ever come across it.
>> >> >> >
>> >> >> >Good luck.
>> >> >> >Jiho
>> >> >> >
>> >> >> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
>> >> >> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...
>> >> >> >> Jim,
>> >> >> >> Thanks for the response. Is there a tutorial you could point me>take>> >> >that
>> >> >> >illustrates what kind of package to use and what steps I need to>of>> >to
>> >> >> get
>> >> >> >the folder structure created?
>> >> >> >>
>> >> >> >> Thanks,
>> >> >> >> Barry
>> >> >> >>
>> >> >> >> ----- Jim Cheshire [MSFT] wrote: -----
>> >> >> >>
>> >> >> >> Barry,
>> >> >> >>
>> >> >> >> The aspnet_client folder will always be located in the root>> >> the
>> >> >> >virtual
>> >> >> >> server. Inside of it, you will have a system_web folderconfers>> >then
>> >> >a
>> >> >> >folder
>> >> >> >> for each version of the client scripts on the machine.
>> >> >> >>
>> >> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> >> >> ASP.NET
>> >> >> >> Developer Support
>> >> >> >> [email]jamesche@online.microsoft.com[/email]
>> >> >> >>
>> >> >> >> This post is provided "AS-IS" with no warranties andScripts?>> no>> >> >> >rights.
>> >> >> >>
>> >> >> >> --------------------
>> >> >> >> >Thread-Topic: Server Control Deployment and Client>and>> >> >> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
>> >> >> >> >X-Tomcat-NG:
>> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
>> >> >> ><barry.forrest@ps.net_remove>>Subject: Server Control Deployment>microsoft.public.dotnet.framework.aspnet.building controls:9774>> 1.0>> >> >Client
>> >> >> >Scripts?
>> >> >> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
>> >> >> >> >Lines: 12
>> >> >> >> >Message-ID:
>> >> >> ><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version:>> >> >> >> >Content-Type: text/plain;
>> >> >> >> > charset="Utf-8"
>> >> >> >> >Content-Transfer-Encoding: 8bit
>> >> >> >> >X-Newsreader: Microsoft CDO for Windows 2000
>> >> >> >> >Content-Class: urn:content-classes:message
>> >> >> >> >Importance: normal
>> >> >> >> >Priority: normal
>> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >> >> >Newsgroups:
>> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >> >Path: cpmsftngxa06.phx.gbl
>> >> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> >>>located?>> >> >> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>> >> >> >> >X-Tomcat-NG:
>> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >> >>Help,
>> >> >> >> I've read interesting things in the book "Developing
>> >Microsoft®
>> >> >> >ASP.NET
>> >> >> >> Server Controls and Components". They mention using shared
>> >> client
>> >> >> >scripts
>> >> >> >> from the web server stored in
>> >> >> >> /aspnet_client/<assemblyName>/<assemblyVersion>
>> >> >> >>
>> >> >> >> My questions:
>> >> >> >> What type of Setup and Deployment project do I need to use?
>> >> >> >> How do I determine where the aspnet_client folder is>>>>> >> >> >> (Our servers have InetPub/wwwRoot on drives other than C:\)
>> >> >> >> How to I create the folder structure, especially with a
>> >> >dynamically
>> >> >> >> generated assemblyVersion?
>> >> >> >>
>> >> >> >> Any help is appreciated.
>> >> >> >>
>> >> >> >> Barry
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>
>Jim Cheshire [MSFT] Guest
-
Jiho Han #10
Re: Server Control Deployment and Client Scripts?
Sorry to drag this out longer but what do you mean by "crossing application
boundaries"?
Thanks
"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
news:qLxEhaYHEHA.616@cpmsftngxa06.phx.gbl...cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTF EED01.phx.gbl!TK2MSFTNGP08> I'd say it's a bad idea only because you will run into issues if crossing
> application boundaries. I can't think of any other problems with it.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> ASP.NET
> Developer Support
> [email]jamesche@online.microsoft.com[/email]
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
> --------------------> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
> <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
> <C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>
> <OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
> <GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl>>> >Subject: Re: Server Control Deployment and Client Scripts?
> >Date: Thu, 8 Apr 2004 09:34:53 -0400
> >Lines: 370
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <#LKEH5WHEHA.1048@TK2MSFTNGP12.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >NNTP-Posting-Host: 63.120.62.232
> >Path:to> phx.gbl!TK2MSFTNGP12.phx.gbl> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9869> >Xref: cpmsftngxa06.phx.gbl> scripts,> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >
> >Ok, I appreciate it though.
> >
> >One more question about aspnet_client folder usage here:
> >
> >Is aspnet_client folder meant only for "client" files, meaning, .js> dialog> >.css, .htc, etc. and not for .aspx files?
> >I may have a commonly used .aspx file that I am trying to figure where to
> >deploy. Think of a lookup control, for example.
> >It would look like a text box with a magnifying glass button next to it.
> >Once you click on the button, a dialog would pop up with a list of items
> >from which you can pick, and when you close the dialog, the value is
> >returned to the control and the text value shown in the textbox. The> it'd> >then will have to, at least in my mind, be an .aspx page. Do you think> >be a bad practice to put .aspx - albeit not application-specific - into
> >aspnet_client folder?
> >
> >Thanks
> >Jiho
> >
> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
> >news:GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl...> >> Hi Jiho,
> >>
> >> That's perfectly fine, and as Nikhil says, that's what you would wantof> >do> >> so that you can ensure that your code runs against the correct versiondon't> >> the client scripts.
> >>
> >> As far as your custom action is concerned, I cannot answer that. Iensure>> >> ever deal with Setup project issues. Hopefully someone here can assist
> >> with that.
> >>
> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> ASP.NET
> >> Developer Support
> >> [email]jamesche@online.microsoft.com[/email]
> >>
> >> This post is provided "AS-IS" with no warranties and confers no rights.
> >>
> >> --------------------
> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> >> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> >> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
> >> <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
> >> <C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>
> >> >Subject: Re: Server Control Deployment and Client Scripts?
> >> >Date: Mon, 5 Apr 2004 15:21:16 -0400
> >> >Lines: 268
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >Message-ID: <OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >> >NNTP-Posting-Host: 63.120.62.232
> >> >Path:
> >>
>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT FEED01.phx.gbl!TK2MSFTNGP0
> 8> all.> >> phx.gbl!TK2MSFTNGP10.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9847
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >> >
> >> >I see.
> >> >The deployment method that I mentioned which is found in the server
> >> controls
> >> >book is exactly the approach you suggest.
> >> >One would be creating a brand new folder structure underneath the
> >> >aspnet_client folder without touching its system_web_ui subfolder at> >your> >> >
> >> >i.e.
> >> >
> >> >under c:\inetput\wwwroot\,
> >> >
> >> >\aspnet_client
> >> > \system_web_ui
> >> > \1_0_0_0
> >> > ...
> >> > \myorg_web_ui
> >> > \1_0_5_99
> >> > \imgs
> >> > button_on.gif
> >> > button_off.gif
> >> > \scripts
> >> > button.js
> >> >
> >> >And that was what I was suggesting that the original poster do.
> >> >
> >> >Any news on my custom setup action question? :)
> >> >Thanks
> >> >
> >> >Jiho
> >> >
> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
> >> >news:C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl...
> >> >> Jiho,
> >> >>
> >> >> What I am cautioning against is changing the versions of the
> >> client-script
> >> >> files in the aspnet_client folder via your deployment. If you built> >> >> control on a different version of the Framework and you want tomicrosoft.public.dotnet.framework.aspnet.buildingc ontrols> rights.> >> >that
> >> >> the correct version of the controls are added to the aspnet_client
> >> folder,
> >> >> that's fine, but any other change is a bad idea.
> >> >>
> >> >> In other words, adding new versions of the client files is fine.
> >> Changing
> >> >> those that are already there or removing ones already there is not.
> >> >>
> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> >> ASP.NET
> >> >> Developer Support
> >> >> [email]jamesche@online.microsoft.com[/email]
> >> >>
> >> >> This post is provided "AS-IS" with no warranties and confers no> >> >>
> >> >> --------------------
> >> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
> >> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
> >> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> >> >> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> >> >> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
> >> >> >Subject: Re: Server Control Deployment and Client Scripts?
> >> >> >Date: Mon, 5 Apr 2004 09:31:32 -0400
> >> >> >Lines: 176
> >> >> >X-Priority: 3
> >> >> >X-MSMail-Priority: Normal
> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >> >Message-ID: <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
> >> >> >Newsgroups:cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl> >> >> >NNTP-Posting-Host: 63.120.62.232
> >> >> >Path:in> microsoft.public.dotnet.framework.aspnet.buildingc ontrols> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9845
> >> >> >X-Tomcat-NG:> >> >> >
> >> >> >Jim,
> >> >> >
> >> >> >Can you clarify on what you are cautioning against? Is it the
> >> >modification
> >> >> >of the structure of the aspnet_client folder structure? Other than
> >> that,
> >> >> >your associate Nikhil Kothari actually recommends that we do thisto> as> >his> >> >> >book ASP.NET server controls and components. I'm a little confused> >> to
> >> >> >why one MSFT employee would say one thing and the other would say
> >> >another.
> >> >> >
> >> >> >How about the little question that I had on adding a custom dialogFramework> message> >resources> >> the
> >> >> >S&D Project? Is this possible at all and can you provide some> >> >> for
> >> >> >performing such customizations?
> >> >> >Thanks much.
> >> >> >
> >> >> >Jiho
> >> >> >
> >> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in> >> >> >news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...
> >> >> >> I would strongly caution anyone against doing this. Thecertain> >> that
> >> >> is
> >> >> >> actually executing your ASP.NET application is expecting aupdate> >> >> version
> >> >> >> of these client-side scripts to be on the machine. When we<DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>> of> >the> >most> >> >> >> Framework, we also often provide updated implementation in these
> >> files.
> >> >> >If
> >> >> >> you change the files on the box, you are going to cause problems> >> >> >> likely.
> >> >> >>
> >> >> >> These may not be binary files, but updating them manually outside> >a> >assembly> >> >> >.NET
> >> >> >> Framework update is the same as updating a .NET Framework BCL> >> >> >> manually. It simply should not ever be done.
> >> >> >>
> >> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> >> >> ASP.NET
> >> >> >> Developer Support
> >> >> >> [email]jamesche@online.microsoft.com[/email]
> >> >> >>
> >> >> >> This post is provided "AS-IS" with no warranties and confers no
> >> rights.
> >> >> >>
> >> >> >>
> >> >> >> --------------------
> >> >> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
> >> >> >> >References:trying>> >microsoft.public.dotnet.framework.aspnet.building controls> >> >> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
> >> >> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
> >> >> >> >Subject: Re: Server Control Deployment and Client Scripts?
> >> >> >> >Date: Fri, 2 Apr 2004 09:47:30 -0500
> >> >> >> >Lines: 100
> >> >> >> >X-Priority: 3
> >> >> >> >X-MSMail-Priority: Normal
> >> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >> >> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
> >> >> >> >Newsgroups:> >> >> >> >NNTP-Posting-Host: 63.120.62.232
> >> >> >> >Path:
> >> >> >>
> >> >>
> >>> P>>>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2M SFTNGP08.phx.gbl!TK2MSFTNG> >> 1
> >> >> 1
> >> >> >> phx.gbl
> >> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825
> >> >> >> >X-Tomcat-NG:
> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols
> >> >> >> >
> >> >> >> >Barry,
> >> >> >> >
> >> >> >> >I'm not quite sure what you're looking for. But I've beenmachine> to> >to> >> >do
> >> >> a
> >> >> >> >similar thing for the controls I built.
> >> >> >> >I haven't tried this out myself yet but in Setup and Deployment
> >> >project,
> >> >> >> you
> >> >> >> >can add a Custom Action that creates the folder structure.
> >> >> >> >You will probably need to utilize their Textbox or other UI view> >> >> >gather
> >> >> >> >which website - if you host multiple websites on a singlea> -> >> to
> >> >> >> >install the controls on. Then you can pass the user response inS&D> class> >> >> >variable
> >> >> >> >to the Custom Action. A Custom Action is basically a derived> >> of
> >> >> >> >System.Configuration.Install.Installer.
> >> >> >> >
> >> >> >> >Visual Studio.NET documentation has a section dedicated to thecustom> >> >> >projects
> >> >> >> >and it's quite helpful.
> >> >> >> >
> >> >> >> >I've actually been looking for information on how to add ame> >> >dialog
> >> >> >> box
> >> >> >> >other than ones found in the S&D project and have found no such
> >> >> >information
> >> >> >> >so far.
> >> >> >> >I'd appreciate some info on that if you ever come across it.
> >> >> >> >
> >> >> >> >Good luck.
> >> >> >> >Jiho
> >> >> >> >
> >> >> >> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
> >> >> >> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...
> >> >> >> >> Jim,
> >> >> >> >> Thanks for the response. Is there a tutorial you could pointroot> >to> >take> >> >> >that
> >> >> >> >illustrates what kind of package to use and what steps I need to> >> >to
> >> >> >> get
> >> >> >> >the folder structure created?
> >> >> >> >>
> >> >> >> >> Thanks,
> >> >> >> >> Barry
> >> >> >> >>
> >> >> >> >> ----- Jim Cheshire [MSFT] wrote: -----
> >> >> >> >>
> >> >> >> >> Barry,
> >> >> >> >>
> >> >> >> >> The aspnet_client folder will always be located in theshared> and> >of> >> >> the
> >> >> >> >virtual
> >> >> >> >> server. Inside of it, you will have a system_web folder> confers> >> >then
> >> >> >a
> >> >> >> >folder
> >> >> >> >> for each version of the client scripts on the machine.
> >> >> >> >>
> >> >> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> >> >> >> ASP.NET
> >> >> >> >> Developer Support
> >> >> >> >> [email]jamesche@online.microsoft.com[/email]
> >> >> >> >>
> >> >> >> >> This post is provided "AS-IS" with no warranties and> Scripts?> >> no
> >> >> >> >rights.
> >> >> >> >>
> >> >> >> >> --------------------
> >> >> >> >> >Thread-Topic: Server Control Deployment and Client><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version:> >and> >> >> >> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
> >> >> >> >> >X-Tomcat-NG:
> >> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
> >> >> >> ><barry.forrest@ps.net_remove>>Subject: Server Control Deployment> >> >> >Client
> >> >> >> >Scripts?
> >> >> >> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
> >> >> >> >> >Lines: 12
> >> >> >> >> >Message-ID:
> >> >> >>> >microsoft.public.dotnet.framework.aspnet.building controls:9774> >> 1.0
> >> >> >> >> >Content-Type: text/plain;
> >> >> >> >> > charset="Utf-8"
> >> >> >> >> >Content-Transfer-Encoding: 8bit
> >> >> >> >> >X-Newsreader: Microsoft CDO for Windows 2000
> >> >> >> >> >Content-Class: urn:content-classes:message
> >> >> >> >> >Importance: normal
> >> >> >> >> >Priority: normal
> >> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >> >> >> >> >Newsgroups:
> >> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >> >> >Path: cpmsftngxa06.phx.gbl
> >> >> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> >> >>> >> >> >> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
> >> >> >> >> >X-Tomcat-NG:
> >> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
> >> >> >> >> >>Help,
> >> >> >> >> I've read interesting things in the book "Developing
> >> >Microsoft®
> >> >> >> >ASP.NET
> >> >> >> >> Server Controls and Components". They mention usinguse?> >> >> client
> >> >> >> >scripts
> >> >> >> >> from the web server stored in
> >> >> >> >> /aspnet_client/<assemblyName>/<assemblyVersion>
> >> >> >> >>
> >> >> >> >> My questions:
> >> >> >> >> What type of Setup and Deployment project do I need toC:\)> >located?> >> >> >> >> How do I determine where the aspnet_client folder is> >> >> >> >> (Our servers have InetPub/wwwRoot on drives other than>> >> >> >> >> >> How to I create the folder structure, especially with a
> >> >> >dynamically
> >> >> >> >> generated assemblyVersion?
> >> >> >> >>
> >> >> >> >> Any help is appreciated.
> >> >> >> >>
> >> >> >> >> Barry
> >> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >>
> >
> >
Jiho Han Guest
-
Jim Cheshire [MSFT] #11
Re: Server Control Deployment and Client Scripts?
Posting from one ASP.NET application to another ASP.NET application.
Depending upon the architecture, you can encounter problems doing this.
For example, Session state is application specific. ASP.NET authentication
is application specific. Web.config configuration is application specific.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
[email]jamesche@online.microsoft.com[/email]
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------<jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>From: "Jiho Han" <jiho.han@infinityinfo.com>
>References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
<421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
<eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
<zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
<#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
<C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>
<OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
<GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl>
<#LKEH5WHEHA.1048@TK2MSFTNGP12.phx.gbl>
<qLxEhaYHEHA.616@cpmsftngxa06.phx.gbl>microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9874>Subject: Re: Server Control Deployment and Client Scripts?
>Date: Thu, 8 Apr 2004 16:00:33 -0400
>Lines: 462
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <OwfWnQaHEHA.2580@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>NNTP-Posting-Host: 63.120.62.232
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl8>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>
>Sorry to drag this out longer but what do you mean by "crossing application
>boundaries"?
>
>Thanks
>
>"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>news:qLxEhaYHEHA.616@cpmsftngxa06.phx.gbl...>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT FEED01.phx.gbl!TK2MSFTNGP0>> I'd say it's a bad idea only because you will run into issues if crossing
>> application boundaries. I can't think of any other problems with it.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> ASP.NET
>> Developer Support
>> [email]jamesche@online.microsoft.com[/email]
>>
>> This post is provided "AS-IS" with no warranties and confers no rights.
>>
>> -------------------->> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>>> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
>> <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
>> <C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>
>> <OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
>> <GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl>>>>> >Subject: Re: Server Control Deployment and Client Scripts?
>> >Date: Thu, 8 Apr 2004 09:34:53 -0400
>> >Lines: 370
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <#LKEH5WHEHA.1048@TK2MSFTNGP12.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >NNTP-Posting-Host: 63.120.62.232
>> >Path:to>> phx.gbl!TK2MSFTNGP12.phx.gbl>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9869>> >Xref: cpmsftngxa06.phx.gbl>> scripts,>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >
>> >Ok, I appreciate it though.
>> >
>> >One more question about aspnet_client folder usage here:
>> >
>> >Is aspnet_client folder meant only for "client" files, meaning, .js>> >.css, .htc, etc. and not for .aspx files?
>> >I may have a commonly used .aspx file that I am trying to figure whereassist>to>> dialog>> >deploy. Think of a lookup control, for example.
>> >It would look like a text box with a magnifying glass button next to it.
>> >Once you click on the button, a dialog would pop up with a list of items
>> >from which you can pick, and when you close the dialog, the value is
>> >returned to the control and the text value shown in the textbox. The>> it'd>> >then will have to, at least in my mind, be an .aspx page. Do you think>> >be a bad practice to put .aspx - albeit not application-specific - into
>> >aspnet_client folder?
>> >
>> >Thanks
>> >Jiho
>> >
>> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>> >news:GjmUJaLHEHA.3568@cpmsftngxa06.phx.gbl...
>> >> Hi Jiho,
>> >>
>> >> That's perfectly fine, and as Nikhil says, that's what you would want>of>> >do
>> >> so that you can ensure that your code runs against the correct version>don't>> >> the client scripts.
>> >>
>> >> As far as your custom action is concerned, I cannot answer that. I>> >> ever deal with Setup project issues. Hopefully someone here canrights.>> >> with that.
>> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> ASP.NET
>> >> Developer Support
>> >> [email]jamesche@online.microsoft.com[/email]
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers no0>>>> >>
>> >> --------------------
>> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
>> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> >> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> >> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
>> >> <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
>> >> <C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl>
>> >> >Subject: Re: Server Control Deployment and Client Scripts?
>> >> >Date: Mon, 5 Apr 2004 15:21:16 -0400
>> >> >Lines: 268
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <OvAgrM0GEHA.2084@TK2MSFTNGP10.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >> >NNTP-Posting-Host: 63.120.62.232
>> >> >Path:
>> >>
>>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSF TFEED01.phx.gbl!TK2MSFTNGPmicrosoft.public.dotnet.framework.aspnet.buildingc ontrols>> 8>> >> phx.gbl!TK2MSFTNGP10.phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9847
>> >> >X-Tomcat-NG:message>> all.>> >> >
>> >> >I see.
>> >> >The deployment method that I mentioned which is found in the server
>> >> controls
>> >> >book is exactly the approach you suggest.
>> >> >One would be creating a brand new folder structure underneath the
>> >> >aspnet_client folder without touching its system_web_ui subfolder at>> >> >
>> >> >i.e.
>> >> >
>> >> >under c:\inetput\wwwroot\,
>> >> >
>> >> >\aspnet_client
>> >> > \system_web_ui
>> >> > \1_0_0_0
>> >> > ...
>> >> > \myorg_web_ui
>> >> > \1_0_5_99
>> >> > \imgs
>> >> > button_on.gif
>> >> > button_off.gif
>> >> > \scripts
>> >> > button.js
>> >> >
>> >> >And that was what I was suggesting that the original poster do.
>> >> >
>> >> >Any news on my custom setup action question? :)
>> >> >Thanks
>> >> >
>> >> >Jiho
>> >> >
>> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote inbuilt>> >> >news:C6w7M0xGEHA.612@cpmsftngxa06.phx.gbl...
>> >> >> Jiho,
>> >> >>
>> >> >> What I am cautioning against is changing the versions of the
>> >> client-script
>> >> >> files in the aspnet_client folder via your deployment. If youthan>ensure>> >your
>> >> >> control on a different version of the Framework and you want to>microsoft.public.dotnet.framework.aspnet.building controls>> rights.>> >> >that
>> >> >> the correct version of the controls are added to the aspnet_client
>> >> folder,
>> >> >> that's fine, but any other change is a bad idea.
>> >> >>
>> >> >> In other words, adding new versions of the client files is fine.
>> >> Changing
>> >> >> those that are already there or removing ones already there is not.
>> >> >>
>> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> >> ASP.NET
>> >> >> Developer Support
>> >> >> [email]jamesche@online.microsoft.com[/email]
>> >> >>
>> >> >> This post is provided "AS-IS" with no warranties and confers no>> >> >>
>> >> >> --------------------
>> >> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >> >> >References: <DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>
>> >> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
>> >> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> >> >> <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> >> >> <zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl>
>> >> >> >Subject: Re: Server Control Deployment and Client Scripts?
>> >> >> >Date: Mon, 5 Apr 2004 09:31:32 -0400
>> >> >> >Lines: 176
>> >> >> >X-Priority: 3
>> >> >> >X-MSMail-Priority: Normal
>> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >> >Message-ID: <#GsmQJxGEHA.3880@TK2MSFTNGP09.phx.gbl>
>> >> >> >Newsgroups:>cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP09.phx.gbl>> >> >> >NNTP-Posting-Host: 63.120.62.232
>> >> >> >Path:>> microsoft.public.dotnet.framework.aspnet.buildingc ontrols>> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9845
>> >> >> >X-Tomcat-NG:>> >> >> >
>> >> >> >Jim,
>> >> >> >
>> >> >> >Can you clarify on what you are cautioning against? Is it the
>> >> >modification
>> >> >> >of the structure of the aspnet_client folder structure? Otherconfused>in>> >> that,
>> >> >> >your associate Nikhil Kothari actually recommends that we do this>> >his
>> >> >> >book ASP.NET server controls and components. I'm a littleoutside>to>> as>> >> to
>> >> >> >why one MSFT employee would say one thing and the other would say
>> >> >another.
>> >> >> >
>> >> >> >How about the little question that I had on adding a custom dialog>Framework>> message>> >> the
>> >> >> >S&D Project? Is this possible at all and can you provide some
>> >resources
>> >> >> for
>> >> >> >performing such customizations?
>> >> >> >Thanks much.
>> >> >> >
>> >> >> >Jiho
>> >> >> >
>> >> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in>> >> >> >news:zH$IE8OGEHA.660@cpmsftngxa06.phx.gbl...
>> >> >> >> I would strongly caution anyone against doing this. The>certain>> >> that
>> >> >> is
>> >> >> >> actually executing your ASP.NET application is expecting a>update>> >> >> version
>> >> >> >> of these client-side scripts to be on the machine. When we>> >the
>> >> >> >> Framework, we also often provide updated implementation in these
>> >> files.
>> >> >> >If
>> >> >> >> you change the files on the box, you are going to cause problems
>> >most
>> >> >> >> likely.
>> >> >> >>
>> >> >> >> These may not be binary files, but updating them manuallyG><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>> of>> >a
>> >> >> >.NET
>> >> >> >> Framework update is the same as updating a .NET Framework BCL
>> >assembly
>> >> >> >> manually. It simply should not ever be done.
>> >> >> >>
>> >> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> >> >> ASP.NET
>> >> >> >> Developer Support
>> >> >> >> [email]jamesche@online.microsoft.com[/email]
>> >> >> >>
>> >> >> >> This post is provided "AS-IS" with no warranties and confers no
>> >> rights.
>> >> >> >>
>> >> >> >>
>> >> >> >> --------------------
>> >> >> >> >From: "Jiho Han" <jiho.han@infinityinfo.com>
>> >> >> >> >References:>>>> >> >> >> <jaegxJpFEHA.612@cpmsftngxa06.phx.gbl>
>> >> >> >> <421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com>
>> >> >> >> >Subject: Re: Server Control Deployment and Client Scripts?
>> >> >> >> >Date: Fri, 2 Apr 2004 09:47:30 -0500
>> >> >> >> >Lines: 100
>> >> >> >> >X-Priority: 3
>> >> >> >> >X-MSMail-Priority: Normal
>> >> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >> >> >Message-ID: <eW85tFMGEHA.1396@TK2MSFTNGP11.phx.gbl>
>> >> >> >> >Newsgroups:
>> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >> >NNTP-Posting-Host: 63.120.62.232
>> >> >> >> >Path:
>> >> >> >>
>> >> >>
>> >>>>>>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2 MSFTNGP08.phx.gbl!TK2MSFTNview>trying>> P>> >> 1
>> >> >> 1
>> >> >> >> phx.gbl
>> >> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols:9825
>> >> >> >> >X-Tomcat-NG:
>> >> microsoft.public.dotnet.framework.aspnet.buildingc ontrols
>> >> >> >> >
>> >> >> >> >Barry,
>> >> >> >> >
>> >> >> >> >I'm not quite sure what you're looking for. But I've been>> >to
>> >> >do
>> >> >> a
>> >> >> >> >similar thing for the controls I built.
>> >> >> >> >I haven't tried this out myself yet but in Setup and Deployment
>> >> >project,
>> >> >> >> you
>> >> >> >> >can add a Custom Action that creates the folder structure.
>> >> >> >> >You will probably need to utilize their Textbox or other UIin>machine>> to>> >> >> >gather
>> >> >> >> >which website - if you host multiple websites on a single>> ->> >> to
>> >> >> >> >install the controls on. Then you can pass the user responseto>a>S&D>> class>> >> >> >variable
>> >> >> >> >to the Custom Action. A Custom Action is basically a derived>> >> of
>> >> >> >> >System.Configuration.Install.Installer.
>> >> >> >> >
>> >> >> >> >Visual Studio.NET documentation has a section dedicated to the>custom>> >> >> >projects
>> >> >> >> >and it's quite helpful.
>> >> >> >> >
>> >> >> >> >I've actually been looking for information on how to add a>me>> >> >dialog
>> >> >> >> box
>> >> >> >> >other than ones found in the S&D project and have found no such
>> >> >> >information
>> >> >> >> >so far.
>> >> >> >> >I'd appreciate some info on that if you ever come across it.
>> >> >> >> >
>> >> >> >> >Good luck.
>> >> >> >> >Jiho
>> >> >> >> >
>> >> >> >> >"Barry Forrest" <barry.forrest@ps.net_remove> wrote in message
>> >> >> >> >news:421EC06A-7659-4F73-92EC-4E18BC4B1D36@microsoft.com...
>> >> >> >> >> Jim,
>> >> >> >> >> Thanks for the response. Is there a tutorial you could point>> >to
>> >> >> >that
>> >> >> >> >illustrates what kind of package to use and what steps I needDeployment>root>> >take
>> >> >to
>> >> >> >> get
>> >> >> >> >the folder structure created?
>> >> >> >> >>
>> >> >> >> >> Thanks,
>> >> >> >> >> Barry
>> >> >> >> >>
>> >> >> >> >> ----- Jim Cheshire [MSFT] wrote: -----
>> >> >> >> >>
>> >> >> >> >> Barry,
>> >> >> >> >>
>> >> >> >> >> The aspnet_client folder will always be located in the>> and>> >of
>> >> >> the
>> >> >> >> >virtual
>> >> >> >> >> server. Inside of it, you will have a system_web folder>> confers>> >> >then
>> >> >> >a
>> >> >> >> >folder
>> >> >> >> >> for each version of the client scripts on the machine.
>> >> >> >> >>
>> >> >> >> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> >> >> >> ASP.NET
>> >> >> >> >> Developer Support
>> >> >> >> >> [email]jamesche@online.microsoft.com[/email]
>> >> >> >> >>
>> >> >> >> >> This post is provided "AS-IS" with no warranties and>> Scripts?>> >> no
>> >> >> >> >rights.
>> >> >> >> >>
>> >> >> >> >> --------------------
>> >> >> >> >> >Thread-Topic: Server Control Deployment and Client>> >> >> >> >> >thread-index: AcQWdcvn7hSiyZ18TtejqFMTQ5aLTw==
>> >> >> >> >> >X-Tomcat-NG:
>> >> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >> >> >From: "=?Utf-8?B?QmFycnkgRm9ycmVzdA==?="
>> >> >> >> ><barry.forrest@ps.net_remove>>Subject: Server Control>shared>><DBDDF2F3-E361-437C-B360-21BB99F5F171@microsoft.com>>MIME-Version:>> >and
>> >> >> >Client
>> >> >> >> >Scripts?
>> >> >> >> >> >Date: Tue, 30 Mar 2004 08:41:06 -0800
>> >> >> >> >> >Lines: 12
>> >> >> >> >> >Message-ID:
>> >> >> >>>> >> 1.0
>> >> >> >> >> >Content-Type: text/plain;
>> >> >> >> >> > charset="Utf-8"
>> >> >> >> >> >Content-Transfer-Encoding: 8bit
>> >> >> >> >> >X-Newsreader: Microsoft CDO for Windows 2000
>> >> >> >> >> >Content-Class: urn:content-classes:message
>> >> >> >> >> >Importance: normal
>> >> >> >> >> >Priority: normal
>> >> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>> >> >> >> >> >Newsgroups:
>> >> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >> >> >Path: cpmsftngxa06.phx.gbl
>> >> >> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> >> >>
>> >microsoft.public.dotnet.framework.aspnet.building controls:9774
>> >> >> >> >> >NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>> >> >> >> >> >X-Tomcat-NG:
>> >> >> >> >microsoft.public.dotnet.framework.aspnet.building controls
>> >> >> >> >> >>Help,
>> >> >> >> >> I've read interesting things in the book "Developing
>> >> >Microsoft®
>> >> >> >> >ASP.NET
>> >> >> >> >> Server Controls and Components". They mention using>use?>> >> >> client
>> >> >> >> >scripts
>> >> >> >> >> from the web server stored in
>> >> >> >> >> /aspnet_client/<assemblyName>/<assemblyVersion>
>> >> >> >> >>
>> >> >> >> >> My questions:
>> >> >> >> >> What type of Setup and Deployment project do I need to>C:\)>> >> >> >> >> How do I determine where the aspnet_client folder is
>> >located?
>> >> >> >> >> (Our servers have InetPub/wwwRoot on drives other than>>>>> >> >> >> >> How to I create the folder structure, especially with a
>> >> >> >dynamically
>> >> >> >> >> generated assemblyVersion?
>> >> >> >> >>
>> >> >> >> >> Any help is appreciated.
>> >> >> >> >>
>> >> >> >> >> Barry
>> >> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>
>Jim Cheshire [MSFT] Guest



Reply With Quote

