<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1575476679976002386.post8505661941666672334..comments</id><updated>2011-03-12T14:39:44.260+01:00</updated><category term='Rx'/><category term='flash'/><category term='TemplateLibraryConnector'/><category term='ndc2010'/><category term='ilasm'/><category term='MSN'/><category term='tools'/><category term='il'/><category term='SharePoint'/><category term='boost'/><category term='synchronization'/><category term='best practices'/><category term='gadget'/><category term='ramblings'/><category term='SharePoint 2010'/><category term='c++09'/><category term='sidebar'/><category term='FireBug'/><category term='Ajax'/><category term='thunking'/><category term='Moles'/><category term='VS2008'/><category term='Greasemonkey'/><category term='asm'/><category term='c#'/><category term='jquery'/><category term='Bing'/><category term='PowerShell'/><category term='way off topic'/><category term='worst practices'/><category term='threadsynch'/><category term='VS2010'/><category term='disassembly'/><category term='architecture'/><category term='JavaScript'/><category term='XSS'/><category term='c++'/><category term='work'/><category term='ildasm'/><category term='vista'/><category term='json'/><category term='x64'/><category term='Silverlight'/><category term='.NET'/><title type='text'>Comments on Will Code for Nuts: Using PostSharp AOP to simplify SharePoint 2010 De...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.codefornuts.com/feeds/8505661941666672334/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default'/><link rel='alternate' type='text/html' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html'/><author><name>Einar Otto Stangvik</name><uri>http://www.blogger.com/profile/14646027402573050232</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/-2W8hERcZC84/TV74TcaWuKI/AAAAAAAAENQ/paeQgHgP3LI/s220/n657255700_818796_8968.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1575476679976002386.post-830746651363458800</id><published>2010-05-31T10:45:22.626+02:00</published><updated>2010-05-31T10:45:22.626+02:00</updated><title type='text'>@JoshKorn,

If you were to use PostSharp to weave ...</title><content type='html'>@JoshKorn,&lt;br /&gt;&lt;br /&gt;If you were to use PostSharp to weave new aspects into the SharePoint assemblies, you&amp;#39;d be unsigning them (and thus removing their PublicKeyToken). That would obviously not work very well with your SharePoint-install.&lt;br /&gt;&lt;br /&gt;There&amp;#39;s no real way to modify the SP .NET code once its loaded, since by the time *your* code is called, the target CIL has already been compiled into native code by the CLR. You could use a native interception API, but that would be as hairy as a mammoth, and unlikely to work as you want it to.&lt;br /&gt;&lt;br /&gt;Sorry :-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/830746651363458800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/830746651363458800'/><link rel='alternate' type='text/html' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html?showComment=1275295522626#c830746651363458800' title=''/><author><name>Einar Otto Stangvik</name><uri>http://www.blogger.com/profile/14646027402573050232</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_rBg2qaJ_4Bw/Sq-gTuDiybI/AAAAAAAAEIE/5lbbjcgS7IY/S220/7620_155497280700_657255700_4148854_5061923_n.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html' ref='tag:blogger.com,1999:blog-1575476679976002386.post-8505661941666672334' source='http://www.blogger.com/feeds/1575476679976002386/posts/default/8505661941666672334' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-679804424'/></entry><entry><id>tag:blogger.com,1999:blog-1575476679976002386.post-8913602475172377239</id><published>2010-05-30T00:43:02.485+02:00</published><updated>2010-05-30T00:43:02.485+02:00</updated><title type='text'>Einar:

I&amp;#39;ll contrive an example. Let&amp;#39;s sa...</title><content type='html'>Einar:&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll contrive an example. Let&amp;#39;s say that for some reason, I really need to do some initialization to a newly-added site (perhaps involving setting up permissions). But SPWebEventReceiver only has an WebAdding event, but no WebAdded event.&lt;br /&gt;&lt;br /&gt;What I&amp;#39;d like to do is aspect the relevant code in Sharepoint itself (I&amp;#39;d use Reflector and the Developer Dashboard to figure out where that is).&lt;br /&gt;&lt;br /&gt;Of course, I&amp;#39;d like to use PostSharp to do this.&lt;br /&gt;&lt;br /&gt;Josh</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/8913602475172377239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/8913602475172377239'/><link rel='alternate' type='text/html' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html?showComment=1275172982485#c8913602475172377239' title=''/><author><name>JoshKorn</name><uri>http://www.blogger.com/profile/03158293269865529317</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html' ref='tag:blogger.com,1999:blog-1575476679976002386.post-8505661941666672334' source='http://www.blogger.com/feeds/1575476679976002386/posts/default/8505661941666672334' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-655117410'/></entry><entry><id>tag:blogger.com,1999:blog-1575476679976002386.post-732813117671791890</id><published>2010-05-28T14:06:12.769+02:00</published><updated>2010-05-28T14:06:12.769+02:00</updated><title type='text'>Einar: 

What I was really asking was whether it w...</title><content type='html'>Einar: &lt;br /&gt;&lt;br /&gt;What I was really asking was whether it was possible to aspect some of the Sharepoint assemblies themselves, and whether you&amp;#39;ve already tried something like this.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Josh</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/732813117671791890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/732813117671791890'/><link rel='alternate' type='text/html' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html?showComment=1275048372769#c732813117671791890' title=''/><author><name>JoshKorn</name><uri>http://www.blogger.com/profile/03158293269865529317</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html' ref='tag:blogger.com,1999:blog-1575476679976002386.post-8505661941666672334' source='http://www.blogger.com/feeds/1575476679976002386/posts/default/8505661941666672334' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-655117410'/></entry><entry><id>tag:blogger.com,1999:blog-1575476679976002386.post-6261835848919730660</id><published>2010-05-26T13:59:24.175+02:00</published><updated>2010-05-26T13:59:24.175+02:00</updated><title type='text'>@JoshKorn,

Which events would you like? PostSharp...</title><content type='html'>@JoshKorn,&lt;br /&gt;&lt;br /&gt;Which events would you like? PostSharp, or other similar tools, may indeed be of help - but that depends on what exactly you want :-)&lt;br /&gt;&lt;br /&gt;Yes, I&amp;#39;m using the latest version.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/6261835848919730660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/6261835848919730660'/><link rel='alternate' type='text/html' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html?showComment=1274875164175#c6261835848919730660' title=''/><author><name>Einar Otto Stangvik</name><uri>http://www.blogger.com/profile/14646027402573050232</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_rBg2qaJ_4Bw/Sq-gTuDiybI/AAAAAAAAEIE/5lbbjcgS7IY/S220/7620_155497280700_657255700_4148854_5061923_n.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html' ref='tag:blogger.com,1999:blog-1575476679976002386.post-8505661941666672334' source='http://www.blogger.com/feeds/1575476679976002386/posts/default/8505661941666672334' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-679804424'/></entry><entry><id>tag:blogger.com,1999:blog-1575476679976002386.post-3855470406377856104</id><published>2010-05-24T00:41:24.036+02:00</published><updated>2010-05-24T00:41:24.036+02:00</updated><title type='text'>Einar:

I was just wondering if anyone had done so...</title><content type='html'>Einar:&lt;br /&gt;&lt;br /&gt;I was just wondering if anyone had done something like this. &lt;br /&gt;&lt;br /&gt;I wonder if PostSharp can be used to implement some or all of the events that Sharepoint should provide but doesn&amp;#39;t.&lt;br /&gt;&lt;br /&gt;Are you working with the latest Postsharp version?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/3855470406377856104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1575476679976002386/8505661941666672334/comments/default/3855470406377856104'/><link rel='alternate' type='text/html' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html?showComment=1274654484036#c3855470406377856104' title=''/><author><name>JoshKorn</name><uri>http://www.blogger.com/profile/03158293269865529317</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codefornuts.com/2010/05/using-postsharp-aop-to-simplify.html' ref='tag:blogger.com,1999:blog-1575476679976002386.post-8505661941666672334' source='http://www.blogger.com/feeds/1575476679976002386/posts/default/8505661941666672334' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-655117410'/></entry></feed>
