Re: More than One



Thank you for the information. I am still working my way through it.

In pre-ASP and ASP 3 I worked with a customer by developing a website on my
remote space (currently containing my applications and 37 customer
applications that have limited access. When the customer is happy with the
result I simply copy the "space" from my remote server to the root of their
remote server "webspace" and it is published to the world.

I am hoping to have a similar arrangement with 2.0 where there will 32
subdirectories from the root and each will be a separate customer with
separate access controls.

One difference that I noticed and am still trying to work through is that
there is no namespace statement in ASP.NET 2.0 applications and there is in
ASP.NET 1.1 applications. Perhaps this is what was providing the nice
segregation of applications in 1.1?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:UfT9XnSBGHA.2560@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Thom,
>
> Welcome.
> As for ASP.NET 2.0 web application hosting in IIS website, it has the same
> model as ASP.NET 1.1. Each asp.net web application should reside in a
> single virtual directory which is configured as "Application"(have
> application name....). And for a single asp.net application, it can
> contains other sub dirs(normal virutal dir ,not application dir) which
> contains pages or other static resources... , however, all the assemblies
> should be put in the private "bin" dir of the Application's root
> directory(must...).
>
> Also, when hosting multiple asp.net web application, and those
> applications's diretory has sub/children hierarchy, we need to pay
> attention for somethings:
>
> 1. For web.config, each application's runtime configuration collection are
> calculated from the whole hierarchy from its own web.config , to sub
> virtual dir's web.config or IIS site root's web.config(if exists) and
> finally, global web.config(or machine.config....). So if we defined some
> application specific data in the super application's web.config, it'll be
> inherited in sub application....
>
> /siteroot
> /bin
> page files....
> web.config
>
>
> /superwebapp
> /bin
> super web app pages.....
> web.config
>
>
> /sub app
> /bin
> sub app pages....
> web.conifg
>
>
>
> 2. For some component (such as http handler or httpModule . or other
> assembly related setting ) setting in web.config, it'll require we specify
> the assembly name.... , in such cases, we need to pay more attention,
> since
> the sub applcation will inherit these setting, so at runtime, the sub
> application will try looking for those assemblies in their own private
> "bin" folder rather than super application's "bin" dir, this is a common
> problems ......
>
> So generally, we suggest deploy separate applications (haven't particular
> super/children relationship) in separate virtual directory path .....
> If we do have to deploy different applications in virtual directorys that
> have parent/child structure, we need to pay attention to the above things
> I
> mentioned....
>
> Here are some msdn reference discussing about ASP.NET web configuration
> structure/hierarchy and configuration ASP.NET application in IIS:
>
> #ASP.NET Configuration File Hierarchy and Inheritance
> http://msdn2.microsoft.com/en-us/library/ms178685.aspx
>
> #ASP.NET and IIS Configuration
> http://msdn2.microsoft.com/en-us/library/ms178477(en-US,VS.80).aspx
>
> Hope helps. Thanks,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
> --------------------
> | From: "Thom Little" <thom@xxxxxxxxxx>
> | Subject: More than One
> | Date: Mon, 19 Dec 2005 15:05:45 -0500
> | Lines: 22
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
> | X-RFC2646: Format=Flowed; Original
> | Message-ID: <#5kAbeNBGHA.1252@xxxxxxxxxxxxxxxxxxxx>
> | Newsgroups: microsoft.public.dotnet.framework.aspnet
> | NNTP-Posting-Host: 65.99.185.176
> | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl
> microsoft.public.dotnet.framework.aspnet:365783
> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> |
> | Visual Studio 2003 / .NET Framework 1.1 I could create multiple web
> | applications. In the root of a remote webspace I could have a single
> /bin
> | directory and a single web.config file.
> |
> | I would then FTP (using a third-party FTP program) the .aspx files in
> any
> of
> | the applications to any directory in the webspace. I would also FTP all
> the
> | .dll files to the single /bin directory in the root.
> |
> | Visual Studio 2005 / .NET Framework 2.0 does not seem to support
> multiple
> | independent applications in the same webspace
> |
> | How can I publish multiple applications (that are built in separate
> | unconnected projects) in the same webspace?
> |
> | Is there a document that describes this procedure that I can access?
> |
> | --
> | -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
> | --
> |
> |
> |
> |
>


.



Relevant Pages

  • Re: More than One
    ... separate access controls. ... ASP.NET 1.1 applications. ... each application's runtime configuration collection ... |> calculated from the whole hierarchy from its own web.config, to sub ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What problems are people in the MV world trying to solve
    ... A good number of my pick applications were actually moved to a windows ... this practical feature will be sorely missed by the customer. ... without question is web enabling portions of these applications. ... frontiers of our computing industry for smaller businesses. ...
    (comp.databases.pick)
  • Customer Applications Scientist *HPLC*
    ... Western Region Customer Applications Scientist ... The Western Region Customer Applications Scientist will support the ... will demonstrate Eksigent's HPLC systems in the Eksigent laboratory ... Act as the technical expert for the sales team in presenting ...
    (sci.chem.analytical)
  • Re: Buying Tips - I am all ears ...
    ... > file was created with a later version of Excel. ... > The important thing is your ability to build applications that will work, ... > the expectations of the customer. ... >> from users seeking advice and usually that is the case with me but I have ...
    (microsoft.public.excel.programming)
  • Re: chooses not to generate code at all
    ... the presumption behind the idea of relational databases is ... there would be no need for software applications. ... anyone can claim something else because of yada yada yada. ... the customer believes it is correct and the software reproduces it ...
    (comp.object)