SurroundWithSplashScreen
3 posts • Page 1 of 1
SurroundWithSplashScreen
Hi,
I was writing a blog post about AOP when I stumbled upon PostSharp. It looks great.
I frequently use AOP and attributes in my programming to pop up a splashscreen when something will take a second to run. I use Loom.Net for this now but I think it would be a great thing for PostSharp, maybe as a sample app or something.
Check out my post to see what I am talking about:
[url=http://nickelvacuum.com/blogs/founder/archive/2007/02/28/shout-out-to-the-community-part-2-of-many-aspect-oriented-programming.aspx]http://nickelvacuum.com/blogs/founder/archive/2007/02/28/shout-out-to-the-community-part-2-of-many-aspect-oriented-programming.aspx[/url]
Adam Bell
Adam Bell
- AdamBell
- Posts: 2
- Joined: Sat Jan 12, 2008 4:55 pm
- Full Name: Adam Bell
Re: SurroundWithSplashScreen
Yes, it seems that AOP will have a second life in .NET. Did you see the post about "Policy Injection" in the Enterprise Library?
As for this sample, you would realize it optimally in PostSharp using an OnMethodBoundaryAspect and overriding the OnEntry and OnExit methods.
Gael
As for this sample, you would realize it optimally in PostSharp using an OnMethodBoundaryAspect and overriding the OnEntry and OnExit methods.
Gael
Gael Fraiteur, project leader
got good support? consider donating to the project.
got good support? consider donating to the project.
- gfraiteur
- Site Admin
- Posts: 651
- Joined: Tue Dec 18, 2007 3:09 pm
- Full Name: Gael Fraiteur
- Company: postsharp.org
Re: SurroundWithSplashScreen
Wow, I guess that will kill most of the proxy based AOP projects. I think they are smart to skip all the AOP lingo and call it policy injection, pointcuts and all that are a little off putting at first.
The main problem I've had with Loom.net though is having to use factories everywhere and the enterprise library is going to have the same problem. Thats why PostSharp caught my attention, it weaves the assemblies without having to modify the build script or anything. Well done.
If I find some spare time, I'll be porting my Loom.net stuff over.
Adam Bell
- AdamBell
- Posts: 2
- Joined: Sat Jan 12, 2008 4:55 pm
- Full Name: Adam Bell
3 posts • Page 1 of 1