Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major mixup in two ASP.NET transactions
Message
De
05/09/2006 14:16:19
 
 
À
05/09/2006 12:35:46
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01150471
Message ID:
01151037
Vues:
44
>This is the crux of it - Michel wants to use his existing framework object and make it threadsafe with as little change as possible. And the safe way is to instantiate a new object for every hit. Given that I think we're both suggesting the same thing - using a static constructor and static properties for truly global values to reduce the creation overhead...

I have been on it since yesterday afternoon. Basically, the design will be as Rick suggested by breaking down the oProcess functionality of the application object and tieing the application object to oProcess for any hit coming from the Web. So, basically, the application object will be created once. Then, at every page, I will create only the oProcess object which will tie the application object to it by the use of oProcess.oApp.

So, the framework has been adjusted and completed. I need to adjust both applications now. The first one is always done. But, I had to adjust about 4000 lines - thanks for replace all. :)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform