Developer forum

Forum » Development » TemplateExtender

TemplateExtender


Reply

If made some ProductTemplateExtenders and placed my assembly in the bin directory - everthing works fine - until this morning. Suddenly all my custom tags have been lost, the only way to fix it was to upload the assembly again.


 


Why is this ? does it loose the extenders when you guys update or what ?


Replies

 
Jess Lassen
Reply

Ive read this post in the development forum:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

By Nicolai Høeg PedersenNP Reply
 

Hi Lars



 

 



 

The price provider you code on top of the API has to be in a seperate assembly that you just put in the /bin directory. Dynamicweb will then load the assembly and find all priceproviders in the /Bin and subscribe to them. Very easy.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

- Im doing the exact same thing - just with the template extenders. - This morning all my custom tags where lost and i needed to upload the assembly again to make it work.

 

 
Nicolai Høeg Pedersen
Reply

It sounds like there is something wrong with the /bin directory - could you please mail me the URL to the solution? np@dynamic.....dk

 
Reply


Hi,



I noticed this same issue now 3 times at our development environments too.



The strange thing is, that we only notice it the next day. To solve it we have to rebuild the library.



Is there any logging in the Dynamicweb application that keeps track of loading/unloading 3rd party libraries?



-Emil
 
Nicolai Høeg Pedersen
Reply

Hi Emil


 


Right now there is no logging. We have a solution of the issue in test right now and hope to release it later this week.


 


We are also working on a control panel for these plugins so it will be possible to see what extenders and addins Dynamicweb know of. It will also be possible to force an assembly to be loaded.

 
Reply
Thanks for your info !



Looking forward to it.
 
Reply

If you're running on a server that's not hosted by us, please download the latest package from this site and update the application.

 
Reply
Sorensen wrote:


If you're running on a server that's not hosted by us, please download the latest package from this site and update the application.




Thanks, I just downloaded and installed it.


 
Reply
Unfortunately with this version I downloaded and installed yesterday, I still experience this issue.



I only notice it the next morning when I request a page for the first time.



The website works just fine, it's just that the custom tags are not replaced by their custom content.

To have the custom DLL loaded again, i delete the file and copy it again.
 
Reply

We'll look in to it.

 
Reply
Sorensen wrote:


We'll look in to it.





is there any news on this issue.


 


I having the same problem with a custom priceprovider on www.weberklubben.dk.


 


It would be so nice I you posted the solution here also, no matter what the solution is. that would give us a chance to take it into acount when we a coding our custom code, and most of all when we are given advice to our customer, wether a new feature cna og can't be made in DW


 


/Kenneth

 
Reply

We solved the problem by moving the extender classes from a seperate assembly (extenders.dll) into the the custom solution (customModules.dll) assembly.


 


Hope it helps.


 


Regards Jess

 
Reply
Unfortunately that doesn't work for me since i already have all extender classes in one library.
 
Reply

We've made some changes to the code that loads the dll's. The changes are part of the service release that will be available through this site tomorrow. I'll post a message here when the new package is available for download.


 


I the meantime, I hope that those of you that are experiencing the problem could provide some info here. What dll's are present in your bin directory besides the ones that are distributed with the DW package? We have experienced the problem with a dll that referenced the Visual.Studio.Shell.dll.

 
Reply


I just have the list of standard dlls in the 'bin' directory, there are no other custom modules/assemblies.



Here's a dump of my bin directory:



10-04-2007  10:38           921.600 ABCpdf.dll

10-04-2007  10:38           770.458 ABCpdf.xml

13-04-2007  10:42         8.736.768 ABCpdf6.dll

17-01-2007  21:03         3.432.448 ABCpdfCE5.dll

13-04-2007  10:42         8.192.000 ABCpdfCE6.dll

17-01-2007  21:03           528.384 aspNetEmail.dll

15-05-2007  10:46            77.824 aspNetMX.dll

15-05-2007  10:46             1.407 aspnetmx.xml.lic

17-01-2007  21:03           286.720 BasicFrame.WebControls.BasicDatePicker.dll

26-11-2007  12:20                 0 dllsinbin.txt

22-08-2007  15:24         3.035.136 Dynamicweb.Admin.dll

30-06-2006  12:33            12.784 Dynamicweb.Admin.xml

22-08-2007  15:24            98.304 Dynamicweb.Admin.XmlSerializers.dll

22-08-2007  15:24            61.440 Dynamicweb.Controls.dll

16-07-2007  10:32             5.352 Dynamicweb.Controls.xml

22-08-2007  15:24         4.034.560 Dynamicweb.dll

12-01-2007  10:09            28.672 Dynamicweb.SharePoint.dll

16-07-2007  10:32           497.502 Dynamicweb.xml

22-08-2007  15:24            98.304 Dynamicweb.XmlSerializers.dll

17-01-2007  21:03             4.096 escape.dll

26-11-2007  12:05            49.152 FamilysportExtensions.dll

26-11-2007  12:05            62.976 FamilysportExtensions.pdb

17-01-2007  21:03            32.768 FredCK.FCKeditorV2.dll

17-01-2007  21:03            24.576 HttpCompression.dll

17-01-2007  21:03               123 HttpCompression.xml

17-01-2007  21:03           143.360 ICSharpCode.SharpZipLib.dll

21-05-2007  09:09            53.248 ImageGlue.dll

21-05-2007  09:09         7.454.720 ImageGlue6CE.dll

21-05-2007  09:09         1.908.736 ImageGlue6PSCE.dll

17-01-2007  21:03            24.576 ImageQuantization.dll

17-01-2007  21:07           454.656 RadGrid.dll

17-01-2007  21:07           151.552 RadTreeView.dll

17-01-2007  21:07           131.072 SgmlReaderDll.dll

17-09-2002  16:17           114.688 SharpZipLib.dll

30-06-2006  12:33             6.412 VBCommenterLog.txt

17-01-2007  21:03            36.864 WebSupergoo.ImageGlue5.COM.dll

17-01-2007  21:03            40.960 WebSupergoo.ImageGlue5.dll
 
Reply

There's a new download file available at http://developer.dynamicweb.dk/Software-17203.aspx.

 
Reply


Thanks, I will download and install it today. I will keep you guys updated on my findings.



Regards,

Emil
 
Reply


Great job guys, the newest release looks promising. Checked this morning on our development and test environment and all looks ok.



Thanks a lot !



-Emil

 

You must be logged in to post in the forum