Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major mixup in two ASP.NET transactions
Message
De
03/09/2006 23:03:34
 
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:
01150647
Vues:
38
>You can also attach these static properties to your _global object, but I would not recommend it. Using a separate object like the above the object isn't tied to your front ASP.NET layer and instead can live in your business layer and be reused. So for example, in my Web Store application I use the same App object in the Web app and the Windows Forms offline app for it.

Correct, the way I designed the framework was to be able to respond to a Web Service, an ASP.NET application or a desktop application, without changing one single line code and without the need to maintain three frameworks. I will do some reading in regards to static properties such as you mentioned. For now, I have resolved the issue and it provides me a better control over the inheritance of a ASPX page as I didn't have a class for that before and would surely be able to make good use further more on it at a later time.

>I would highly recommend you do a little reading on VB.NET or C# and a learning about how the CLR works. For the kind of stuff you are doing this is important. I recommend Jeffrey Richter's book on the CLR which is a great introduction to the .NET framework architecture.

Thanks
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
Répondre
Fil
Voir

Click here to load this message in the networking platform