Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 2 Dec 2005 13:51:03 -0800,    group: microsoft.public.exchange2000.development        back       


Better Documentation   
I'm doing some pretty complicated stuff with event sinks, but I generally 
have to feel my way around in the dark.  Does any documentation exist that 
goes into more detail?

One question I have right now is on persistant configuration.  The sink I am 
working on is your standard IMailTransportSubmission.OnMessageSubmission  
implementation.  I have a handful of values that I store in  an XML config 
file that I don't want to have to read from disk every time the sink runs.  I 
have previously used the SharedPropertyGroupManager, but I don't really know 
what is going on behind the scenes.

Note to Glen:  Do you do any consulting on Exchange dev?
date: Fri, 2 Dec 2005 13:51:03 -0800   author:   David A. Coursey

Re: Better Documentation   
Unfortunately the documentation is little lacking (but comparatively I find 
the Exchange stuff a lot better then some other areas). MSDN is usually the 
best place to look the CDO doco is usually better then the Exchange SDK for 
SMTP event sinks 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/0b60501a-7908-4efa-b2c9-8a6040f1bceb.asp?frame=true . 
I printed this out and made sure I read every page. The other good source is 
some of Daniel Longley 's old newsgroup post in the various Exchange forums 
which contain information I've not seen anywhere else. There's also 
information in the architecture documents up on TechNet which I refer to 
sometime and also the Exchange Team's blog also has some very good posts 
http://blogs.technet.com/exchange/default.aspx

But I would agree that a lot of time you have to stumble round in the dark 
if you can afford it you can try contacting Microsoft Developer support 
which should be able to help you out or a least hopefully point you in the 
right direction.

To persist data in a SMTP Event sink I use the Registry I figure it good 
enough for Microsoft to use to store configuration data so im going to get 
decent performance when it comes to accessing and memory caching. If you 
think about it SMTP event sinks run in the IIS process space so if you have 
a really busy application it might be worth investigating wether custom 
metabase properties might provide the best performance. AFAIK the metabase 
is allways held in memory by IIS.

Cheers
Glen

"David A. Coursey"  wrote in message 
news:F5D21F21-5FA4-4362-A805-5D1E658669DD@microsoft.com...
> I'm doing some pretty complicated stuff with event sinks, but I generally
> have to feel my way around in the dark.  Does any documentation exist that
> goes into more detail?
>
> One question I have right now is on persistant configuration.  The sink I 
> am
> working on is your standard IMailTransportSubmission.OnMessageSubmission
> implementation.  I have a handful of values that I store in  an XML config
> file that I don't want to have to read from disk every time the sink runs. 
> I
> have previously used the SharedPropertyGroupManager, but I don't really 
> know
> what is going on behind the scenes.
>
> Note to Glen:  Do you do any consulting on Exchange dev?
date: Mon, 5 Dec 2005 11:20:44 +1100   author:   Glen Scales [MVP]

Re: Better Documentation   
Outstanding, at least now I have a little more reading material.  I was 
getting tired of looking at the same 4 articles on MSDN.   I do have my free 
calls for my MSDN subscription, but I was hoping to save those for extreme 
cases.

thanks
dave

"Glen Scales [MVP]" wrote:

> Unfortunately the documentation is little lacking (but comparatively I find 
> the Exchange stuff a lot better then some other areas). MSDN is usually the 
> best place to look the CDO doco is usually better then the Exchange SDK for 
> SMTP event sinks 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/0b60501a-7908-4efa-b2c9-8a6040f1bceb.asp?frame=true . 
> I printed this out and made sure I read every page. The other good source is 
> some of Daniel Longley 's old newsgroup post in the various Exchange forums 
> which contain information I've not seen anywhere else. There's also 
> information in the architecture documents up on TechNet which I refer to 
> sometime and also the Exchange Team's blog also has some very good posts 
> http://blogs.technet.com/exchange/default.aspx
> 
> But I would agree that a lot of time you have to stumble round in the dark 
> if you can afford it you can try contacting Microsoft Developer support 
> which should be able to help you out or a least hopefully point you in the 
> right direction.
> 
> To persist data in a SMTP Event sink I use the Registry I figure it good 
> enough for Microsoft to use to store configuration data so im going to get 
> decent performance when it comes to accessing and memory caching. If you 
> think about it SMTP event sinks run in the IIS process space so if you have 
> a really busy application it might be worth investigating wether custom 
> metabase properties might provide the best performance. AFAIK the metabase 
> is allways held in memory by IIS.
> 
> Cheers
> Glen
> 
> "David A. Coursey"  wrote in message 
> news:F5D21F21-5FA4-4362-A805-5D1E658669DD@microsoft.com...
> > I'm doing some pretty complicated stuff with event sinks, but I generally
> > have to feel my way around in the dark.  Does any documentation exist that
> > goes into more detail?
> >
> > One question I have right now is on persistant configuration.  The sink I 
> > am
> > working on is your standard IMailTransportSubmission.OnMessageSubmission
> > implementation.  I have a handful of values that I store in  an XML config
> > file that I don't want to have to read from disk every time the sink runs. 
> > I
> > have previously used the SharedPropertyGroupManager, but I don't really 
> > know
> > what is going on behind the scenes.
> >
> > Note to Glen:  Do you do any consulting on Exchange dev? 
> 
> 
>
date: Mon, 5 Dec 2005 05:32:02 -0800   author:   David A. Coursey

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us