Issue about "Shared" ("Static" in c#) object under Webmatrix.
Language: VB.NET
In reference to the source CMS4.00.zip published here: http://sourceforge.net/projects/cmsaspnet/files/CMS4.00.zip/download
With reference to line 699 of the file "app_code/config.vb":
Public Class SubSite
Inherits Common.PluginAttributes Public Shared Load As New Cache(AddressOf LoadObject, 100, GetType(SubSite)) 'line 699
...
End Clsaa
With reference to the object "Load".
This object (declared as shared) is instantiated correctly but is not maintained during the application cycle.
The line 699 is only an example, but there are other similar cases in the application.
This problem has not been found in IIS or during development under Visual Studio.
This problem causes an overload of resource utilization and makes it difficult to program sophisticated algorithms.
There is a system for obtaining an environment similar to that of development?
www.cmsaspne...
Member
34 Points
34 Posts
vb.net Shared object under Webmatrix
Dec 06, 2012 08:01 PM|LINK
Issue about "Shared" ("Static" in c#) object under Webmatrix.
Language: VB.NET
In reference to the source CMS4.00.zip published here: http://sourceforge.net/projects/cmsaspnet/files/CMS4.00.zip/download
With reference to line 699 of the file "app_code/config.vb":
Public Class SubSite
Inherits Common.PluginAttributes
Public Shared Load As New Cache(AddressOf LoadObject, 100, GetType(SubSite)) 'line 699
...
End Clsaa
With reference to the object "Load".
This object (declared as shared) is instantiated correctly but is not maintained during the application cycle.
The line 699 is only an example, but there are other similar cases in the application.
This problem has not been found in IIS or during development under Visual Studio.
This problem causes an overload of resource utilization and makes it difficult to program sophisticated algorithms.
There is a system for obtaining an environment similar to that of development?
https://sourceforge.net/projects/cmsaspnet/
Amazing "CMS+FORUM+GALLERY+WIKI+COMMUNITY vb.NET" easy user-friendly
Mikesdotnett...
All-Star
154840 Points
19854 Posts
Moderator
MVP
Re: vb.net Shared object under Webmatrix
Dec 07, 2012 05:06 AM|LINK
You should find a forum or issue tracker for the project in question and post your issue to that.
Just noticed that it is your project. You should post potential bugs with WebMatrix to http://forums.iis.net/1166.aspx
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter