Developer forum

Forum » Development » Confused about Global.asax and Dynamicweb.Admin.Global in stable build

Confused about Global.asax and Dynamicweb.Admin.Global in stable build

Mikkel Høst
Reply

Hi.

I'm a bit confused about Global.asax. I if download the current stable build 8.5.1.25. the Global.asax file in that application inherits from "Dynamicweb.Admin.Global" - If i decompile the code this is marked as obsolete. Should'nt the "standard" Application folder use the new namespace oris this only for custom solutions?

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Mikkel

I understand your confusion. The reason for the Obsolete attribute is that in custom projects you should NOT reference Dynamicweb.Admin.Global from your custom solutions Global.asax file.

That was the default in DW 7, so custom solutions from back then have that reference and it should be updated to Dynamicweb.Frontend.GlobalAsaxHandler.

So the Obsolete attribute is for 3rd party developers, standard application is ok. Makes sense?

 

You must be logged in to post in the forum