|
Hi Chris,
My idea was to have a mix of ASP.NET pages that are written in 1.1 and 2.0, and have that hosted as one single Web application. Currently our application has a mix of ASP, ASP.NET 1.1, but since we are integrating a new application into the current one, we want the new code to be written in ASP.NET 2.0 and migrate all the existing ASP and ASP.NET 1.1 to ASP.NET 2.0 pages at a later point of time. Since all this is one appln, we would like to have this run as one appln.
But reflecting on your thoughts, i guess you are right , that we cant be doing this, since IIS routes different ASP.NET versions to different ASP.NET Worker processes, rather they are defined so in IIS metabase, so they would never execute as one application.
What is the best way to go about this ?
Thanks
Rajaraman.S
|
|
|
|
|
Rajaraman Soundararajan wrote: What is the best way to go about this ?
Create a 2.0 app and see if any of your old pages break, as they will be running as 2.0 pages.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I'm sorry, Christian, but you're wrong: different 'web applications' can be run with different .NET versions. However, all web applications sharing a worker process (pool) must have the same .NET version.
A 'web application' differs from a virtual directory, and has a different icon (IIS 5.x uses an open box icon rather than a folder icon; IIS 6.0 uses a 'gear' icon rather than a folder). To convert a folder into a web application, click Create under 'Application Settings' in the folder's properties in the IIS management console.
In IIS 5.x (Windows 2000 and XP), this is automatic - the appropriate version of the ISAPI Filter is loaded depending on what the metabase has configured, which then loads the appropriate worker (aspnet_wp.exe) process. ASP.NET 2.0 adds a new ASP.NET page to the application's property sheet which permits the version to be selected. If this page isn't present, ASP.NET 2.0 is probably not installed correctly. To install it, but keep any existing web applications using ASP.NET 1.1, run aspnet_regiis -ir .
The IIS 5.x process model supports in-process, shared process or dedicated process hosting. All applications set to 'shared process' use the same dllhost.exe worker process. However, ASP.NET always creates its own worker processes - your code does not run in dllhost.exe.
In IIS 6.0, the worker process (w3wp.exe) has native support for ASP.NET hosting. Web applications can run in different 'application pools'. An application pool uses at least one process, and potentially more than one, to run the set of applications in the pool. However, the ASP.NET version required for each application is not checked. Only one version of the .NET CLR can be loaded into a process. If you configure an application pool with a set of applications that require different versions, you will have problems as the first application to load into a worker process dictates which version of the CLR is loaded. It's best to keep your .NET 2.0 applications in a separate pool from your .NET 1.1 applications to avoid problems with CLR version mismatches.
|
|
|
|
|
OK, that's good to know. I recall having aspnet_regiis for 2.0 and 1.1 as shortcuts on my desktop, I wonder why I had to do that ? Perhaps I didn't....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
A web application can only use one version of the Framework. You would have to place the pages developed for the other version into a different folder (this could be a subfolder) and create a new Application (click Create under Application Settings in the folder's properties in the IIS management console).
You should place the appropriate version of web.config under the root that matches the version of ASP.NET you have selected for the root. The application you create for the other version should have its own web.config: settings are not inherited from the root configuration.
If running on IIS 6.0, you should place your ASP.NET 1.1 applications in a different application pool to the ASP.NET 2.0 applications to ensure that they get separate worker processes.
|
|
|
|
|
What is it you want to know ? Why are you asking ? What are you after ?
It's obviously true, web sites can be written in a number of different ways.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I have .NET 2 / MONO C# application.
I need to change column order by dragging column headers by mouse.
I tried but DataGridView and DataGrid ignore ordering attempts.
How to implement interactive column ordering in DataGridView or in DataGrid
?
Andrus
|
|
|
|
|
Never used it but... DataGridView.AllowUserToOrderColumns property.
led mike
|
|
|
|
|
I want some tutorials on rubi on rails, please, anybody.
|
|
|
|
|
|
*grin* does googling rubi on rails work ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
Dave Kreskowiak wrote: Hamster Dance song plays... ... well what do you know - It works!!
[Wipes tears]
|
|
|
|
|
Get a clue! and a name!
led mike
|
|
|
|
|
CP currently has a bit of bug. New users names, even though they have one, are comming up blank in their posts.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
OH! I posted several of these "get a name" replies this week and you are the first one to tell me that. I thought it was the same person all the time.
Thanks
led mike
|
|
|
|
|
Yeah, I was thinking the same thing until i caught a little blurb from Christian earlier this week.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i have a windows sevice and installed it. It's notifier icon is Display Right side of the Task Bar. now i want to open a form to click on it.
Pavan Pareta
|
|
|
|
|
System.Windows.Forms.Form.Show()
led mike
|
|
|
|
|
Please help me .!!
<big>anybody can guide me how to send sms using Edge Technology through .net application ? </big>
Pavan Pareta
|
|
|
|
|
Hi to All,
I want to register my window control library into registry so that my control can listed in the object list of word.
The registry normal path is "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\..."
Thanks,
Kumar Arun
Arun Kr
|
|
|
|
|
Hi Arun,
Basically the type of control You need to use would be an Active-X control.Basically Active-X controls are improved,sophisticated and wrapped versions of OLE controls.I have made a .ocx file available in my word document's file under the listings
"insert->object" using the "insert object type checkbox" of the "Active-X MFC wizard " of "VC++ 6.0" and "VC++2005" both .I therefore think this should also be available into the wizard of your language ,so no need to intangle with the registry.But further if I find it by any means will soon let you know.
Vinit
|
|
|
|
|
Hi, I'm using the Windows Performance Counter to monitor my .NET application and to diagnose some memory leak problems.
The two counters I'm particuarly interested in are "Working Set" and "Private Bytes". However I'm not sure what scale to use for both?
Currently the scale is set at 0.00001 by default. I'm not sure what units this is measured in so can someone guide me to what scale to measure at?
Thanks
|
|
|
|
|
It says right in the title of the Counter - Bytes. The scale is just there to get the counter values to fit into the range of 0-100. So 30,000,000 bytes multiplied by a scale of .000001 would give to 30, the bottom of the graph being 0 and the top 100,000,000.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi all,
is it possible to create a Class without specifying any namespace??
thanks,
rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|