Hi,
Our CMS product has two components. An editor (inside the safe network) which authors edit content, including creating events and appointments in the RadScheduler. This information, including RadScheduler XML is then taken and sent to another non-secure site for display. This "live" site utilises the RadScheduler content in a variety of ways, none of which are actually shown in the RadSchduler UI. One of these usages is integrated search.
My question is, what is best best way to query the RadScheduler data server-side, i.e. "I want all the Appointments that occur (or have re-occurrance) within a particular date range".
Currently I am using the .Appointments.GetAppointmentsInRange(startDate, endDate) on the RadScheduler class - I am wondering if there is another more efficient way to do this without having to instanciate a RadScheduler every time (the search engine doesn't have UI component - the RadScheulder will not be inserted into a page *anywhere* on the live site). Maybe something on the provider directly (XmlSchedulerProvider)?
Also if instanciating RadScheduler every time is the best (only) way, is it thread-safe so I can make it a singleton object to save space on the heap (and inevitable data load and other startup overhead as the data grows over time)?
Efficiency is key here, our search engine has to copy with a very high volume, and it cannot have a performance hit after we integrate this new "events" search feature.
Thanks in advance,
Jordan.
Our CMS product has two components. An editor (inside the safe network) which authors edit content, including creating events and appointments in the RadScheduler. This information, including RadScheduler XML is then taken and sent to another non-secure site for display. This "live" site utilises the RadScheduler content in a variety of ways, none of which are actually shown in the RadSchduler UI. One of these usages is integrated search.
My question is, what is best best way to query the RadScheduler data server-side, i.e. "I want all the Appointments that occur (or have re-occurrance) within a particular date range".
Currently I am using the .Appointments.GetAppointmentsInRange(startDate, endDate) on the RadScheduler class - I am wondering if there is another more efficient way to do this without having to instanciate a RadScheduler every time (the search engine doesn't have UI component - the RadScheulder will not be inserted into a page *anywhere* on the live site). Maybe something on the provider directly (XmlSchedulerProvider)?
Also if instanciating RadScheduler every time is the best (only) way, is it thread-safe so I can make it a singleton object to save space on the heap (and inevitable data load and other startup overhead as the data grows over time)?
Efficiency is key here, our search engine has to copy with a very high volume, and it cannot have a performance hit after we integrate this new "events" search feature.
Thanks in advance,
Jordan.