Microsoft Content Management Server - about mcms 2002 publish(4)

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > June 2007 > about mcms 2002 publish(4)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author about mcms 2002 publish(4)
zch

2007-06-05, 1:15 am

hi, Stefan

We checked our web applications and found that there are many programs like
the followings:

foreach(ChannelItem subItem in subChannel.AllChildren)
{
if(subItem.CustomProperties["ishot"]!=null)

cusPro_isHotValue=subItem.CustomProperties["ishot"].Value.ToString();//isHot
if(subItem.CustomProperties["isnew"]!=null)
cusPro_isNewValue=subItem.CustomProperties["isnew"].Value.ToString();//isNew
……
}

if they effect performance?

Thanks a lot!

zch
Stefan Goßner [MSFT]

2007-06-05, 7:16 am

Hi,

this will affect performance significantly!
You have to recode them as outlined in point 2 in the following article:
http://blogs.technet.com/stefan_gos...ishing-api.aspx

Cheers,
Stefan


"zch" <zch@discussions.microsoft.com> wrote in message
news:6D32E1B1-7E68-4815-BE17-F881D73C7C05@microsoft.com...
> hi, Stefan
>
> We checked our web applications and found that there are many programs
> like
> the followings:
>
> foreach(ChannelItem subItem in subChannel.AllChildren)
> {
> if(subItem.CustomProperties["ishot"]!=null)
>
> cusPro_isHotValue=subItem.CustomProperties["ishot"].Value.ToString();//isHot
> if(subItem.CustomProperties["isnew"]!=null)
> cusPro_isNewValue=subItem.CustomProperties["isnew"].Value.ToString();//isNew
> ..
> }
>
> if they effect performance?
>
> Thanks a lot!
>
> zch



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com