base33 / UmbracoAOP

A project looking into how Aspect Oriented Programming . Event subscription for Umbraco and the ability to only trigger the event for specific Content Types.
1 stars 0 forks source link

App_Code folder use #1

Open akeilox opened 9 years ago

akeilox commented 9 years ago

Thanks for sharing this alternate approach on managing events. Just curious, would one be able to simply put the event code (like the example given in your umbraco project page) inside app_code folder in .cs form without compiling it?

the .dll is missing from the package installer which i believe its workinprogress, but wanted to check how one can simply use it (i..e app_code folder)

base33 commented 9 years ago

In theory, it should work from App_Code. But I will look into this to make sure.

Also are you sure a DLL wasn't installed into your bin folder? It should have been "UmbracoAOP.EventSubscriber.dll".

You can also download it via NuGet

install-package UmbracoAOP.EventSubscriber

Thanks

akeilox commented 9 years ago

I got the DLL after the initial version, i believe i got caught when it was being uploaded initially? This is a nice concept of being able to simplify event management for Content and Media.

Are you planning to extend it to Member Events as well? like when a new member is created, updated or deleted(aka disabled) - disabled not really an event i presume, but accounts get locked if multiple attempts of login captured, from which one can opt to receive an email perhaps).

cheers

base33 commented 9 years ago

Thank you. Yes I do plan on adding that in the next few days. It's actually very easy to add new event subscribers, if you'd like to try it sooner. I also plan on adding content type events too.

Thanks

C

On 3 Nov 2014, at 10:00, akeilox notifications@github.com wrote:

I got the DLL after the initial version, i believe i got caught when it was being uploaded initially? This is a nice concept of being able to simplify event management for Content and Media.

Are you planning to extend it to Member Events as well? like when a new member is created, updated or deleted(aka disabled) - disabled not really an event i presume, but accounts get locked if multiple attempts of login captured, from which one can opt to receive an email perhaps).

cheers

— Reply to this email directly or view it on GitHub.