D
DKode
Hello,
I have created a set of classes and controls that I re-use on almost
every project I use for my company.
It performs the following things:
It has 3 web controls for (loginControl, loggedOut, loggedIn)
loginControl is added to a page and then the appropriate loggedOut or
loggedIn is displayed to perform logging in.
I also have about 40 lines of code that is placed into Global.cs under
the Application_AuthenticateRequest that creates the authentication
cookie.
In my BusinessLayer I have a class called ADAuthentice.cs which
performs authentication against AD/LDAP and checks their credentials
they supply in the loggedOut control.
Now, How do I package these controls/class into a nice little library
that I can re-use without changing a ton of code each time I re-use it
in a new project. As it is right now, I have to add in all the seperate
files to use each time which is kind of a pain. Is there an easier way
to package all of this stuff up and then just re-use it easily or am I
already at the point that it is as packaged as possible?
Thank you for your help
DKode
I have created a set of classes and controls that I re-use on almost
every project I use for my company.
It performs the following things:
It has 3 web controls for (loginControl, loggedOut, loggedIn)
loginControl is added to a page and then the appropriate loggedOut or
loggedIn is displayed to perform logging in.
I also have about 40 lines of code that is placed into Global.cs under
the Application_AuthenticateRequest that creates the authentication
cookie.
In my BusinessLayer I have a class called ADAuthentice.cs which
performs authentication against AD/LDAP and checks their credentials
they supply in the loggedOut control.
Now, How do I package these controls/class into a nice little library
that I can re-use without changing a ton of code each time I re-use it
in a new project. As it is right now, I have to add in all the seperate
files to use each time which is kind of a pain. Is there an easier way
to package all of this stuff up and then just re-use it easily or am I
already at the point that it is as packaged as possible?
Thank you for your help
DKode