Hi All,
Has anyone got any advice about how to share code in an Intranet
environment?
In classic ASP, we had include files with functions, connections etc in - We
now need to do similar in asp.net, sharing class libraries, so they are
available to all applications on our intranet.
Regards,
Simon. 3 1261
Right click on you Solution node in Solution Explorer. Select Add/New
Project... In dialog, click Class Library in Templates window, name this new
project, click Browse to save it somewhere on network. This will create a
new proj resulting in a single dll when you build it. Create your classes
there. Build it. Then in any other project, including asp.net, right click
References node, then Add Reference... In dialog, click Projects tab,
doubleclick that new project and OK. Now in C# you simply type "using
Whatever.MyNewInterface;" and use its classes.
Sorry for such details :)
Kikoz.
"Simon Harris" <to***********@makes-you-fat.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... Hi All,
Has anyone got any advice about how to share code in an Intranet environment?
In classic ASP, we had include files with functions, connections etc in - We now need to do similar in asp.net, sharing class libraries, so they are available to all applications on our intranet.
Regards, Simon.
Thanks Kikoz - Would that method mean that newly added code to the DLL would
be available in all the apps with references to it, or would I have to set
the reference again each time it gets updated/changed?
Cheers,
Simon.
"Kikoz" <ki***@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl... Right click on you Solution node in Solution Explorer. Select Add/New Project... In dialog, click Class Library in Templates window, name this new project, click Browse to save it somewhere on network. This will create a new proj resulting in a single dll when you build it. Create your classes there. Build it. Then in any other project, including asp.net, right click References node, then Add Reference... In dialog, click Projects tab, doubleclick that new project and OK. Now in C# you simply type "using Whatever.MyNewInterface;" and use its classes.
Sorry for such details :) Kikoz.
"Simon Harris" <to***********@makes-you-fat.com> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl... Hi All,
Has anyone got any advice about how to share code in an Intranet environment?
In classic ASP, we had include files with functions, connections etc in - We now need to do similar in asp.net, sharing class libraries, so they are available to all applications on our intranet.
Regards, Simon.
The whole idea of this is to add a reference to some library once and forget
about it. Beware though that if you use SourceSafe and stuff, first, you'd
need to add new proj to source control app, second, you may need to
right-click on that new project and select Get Latest Version everytime
someone else changed its sorce. For example, if something doesn't want to
build itself throwing errors like "There is no such type, blah blah..." then
there is a good chance that you need to get the latest version.
Regards
"Simon Harris" <to***********@makes-you-fat.com> wrote in message
news:eH**************@TK2MSFTNGP12.phx.gbl... Thanks Kikoz - Would that method mean that newly added code to the DLL would be available in all the apps with references to it, or would I have to set the reference again each time it gets updated/changed?
Cheers, Simon.
"Kikoz" <ki***@hotmail.com> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl... Right click on you Solution node in Solution Explorer. Select Add/New Project... In dialog, click Class Library in Templates window, name this new project, click Browse to save it somewhere on network. This will create a new proj resulting in a single dll when you build it. Create your classes there. Build it. Then in any other project, including asp.net, right click References node, then Add Reference... In dialog, click Projects tab, doubleclick that new project and OK. Now in C# you simply type "using Whatever.MyNewInterface;" and use its classes.
Sorry for such details :) Kikoz.
"Simon Harris" <to***********@makes-you-fat.com> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl... Hi All,
Has anyone got any advice about how to share code in an Intranet environment?
In classic ASP, we had include files with functions, connections etc in - We now need to do similar in asp.net, sharing class libraries, so they are available to all applications on our intranet.
Regards, Simon.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jeremy |
last post by:
Hi all,
I'm getting very confused about how DB2 uses shared memory and I
wonder if someone could clarify matters for me, please ?
We are running 32bit DB2 V7.2 FP9 under AIX 4.3.3 on a machine...
|
by: BadPony |
last post by:
Anyone using Peoplesoft on a Federated UDB
(shared nothing)Environment on Open System Platforms?
Preferably AIX, but any war stories would be good.
TEA
EB-C
|
by: Shiraz |
last post by:
Hi
I have a question regarding the functionality of merge modules. Since this
relates to my previous queries, I'll just give you a brief background on the
topic. I had to make an installer for...
|
by: Invalidlastname |
last post by:
Hi,
We developed some assemblies which use EnterpriseServices queued components.
In order to use EnterpriseServices, these assemblies need to be installed
into GAC. I used the pre-build and...
|
by: Steve |
last post by:
Hi,
We have an application framework library that gets statically linked to any
applications we produce. (Windows apps, but I don't think that matters
here).
The framework is based heavily on...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |