A
Andrew
Hi all,
I am still learning ASP.Net, and .Net in general. Though I feel I have much
of the "basics" down, I am running into some gray areas in more advanced
topics. My question is how I make sure that a class file (DLL) I wrote and
am using (via "Add Reference") on my development webserver still works
correctly when I copy all my files over to the production server. Do I need
to create the same folders on the production server as on the development
server and place the DLL there? Do I simply place the DLL on the production
server and .Net will find it? What I am trying to get at is under "classic"
ASP, I could simply do a REGSVR32 on the DLL and all my ASP apps could see
it. I would simply unreg and re-reg a newer version of the DLL and all was
updated. Now with .Net, if I need to use a .Net class file (DLL), how do
I/should I use it on the development server compared to the production
server so that once written and compiled that DLL is available to all
ASP.Net apps, but also that I can update that .Net DLL.
I hope I am making my question understandable. The whole point here is that
I want to use a DLL as my "business logic" layer rather than write the same
functions over and over in all my ASP.Net apps, and then run into problems
when I need to update those functions. By using a class file (DLL) I can
simply use my functions/methods from a common, central, location.
I look forward to your input, suggestions, and/or advice. Thanks in
advance!
-- Andrew
I am still learning ASP.Net, and .Net in general. Though I feel I have much
of the "basics" down, I am running into some gray areas in more advanced
topics. My question is how I make sure that a class file (DLL) I wrote and
am using (via "Add Reference") on my development webserver still works
correctly when I copy all my files over to the production server. Do I need
to create the same folders on the production server as on the development
server and place the DLL there? Do I simply place the DLL on the production
server and .Net will find it? What I am trying to get at is under "classic"
ASP, I could simply do a REGSVR32 on the DLL and all my ASP apps could see
it. I would simply unreg and re-reg a newer version of the DLL and all was
updated. Now with .Net, if I need to use a .Net class file (DLL), how do
I/should I use it on the development server compared to the production
server so that once written and compiled that DLL is available to all
ASP.Net apps, but also that I can update that .Net DLL.
I hope I am making my question understandable. The whole point here is that
I want to use a DLL as my "business logic" layer rather than write the same
functions over and over in all my ASP.Net apps, and then run into problems
when I need to update those functions. By using a class file (DLL) I can
simply use my functions/methods from a common, central, location.
I look forward to your input, suggestions, and/or advice. Thanks in
advance!
-- Andrew