Referencing controls

  • Thread starter Thread starter Mantorok
  • Start date Start date
M

Mantorok

Hi

Is it possible to reference controls or pages in a seperate ASP.Net website
project?

Thanks
 
Is it possible to reference controls or pages in a seperate ASP.Net
website project?

Not really. You can send WebRequest objects and receive WebResponse objects,
but I suspect that's not really what you mean...

What are you trying to do exactly...?
 
Mark Rae said:
Not really. You can send WebRequest objects and receive WebResponse
objects, but I suspect that's not really what you mean...

What are you trying to do exactly...?

Well, for the controls I'm going to tackle a Web Control Libary, but we also
have generic pages that we have to include in multiple projects.

Kev
 
Well, for the controls I'm going to tackle a Web Control Libary, but we
also have generic pages that we have to include in multiple projects.

LOL! Oh *that*'s what you mean... :-)

In which case, I'd strongly recommend using Visual SourceSafe. Create a
separate project for your generic pages, then simply share them into your
other projects as required. This means that if you modify a shared object in
one project, it will be updated in all other projects which share it.

I have exactly this setup, mainly for base classes e.g. database access,
encryption, validation, registry, event log, FTP, active directory, email
etc, but also some .js files and some test webforms.

All of my shared classes have the same namespace 'sharedCode', which means
all I have to do is write "using sharedCode"; in any class which needs to
use it.
 
Mark Rae said:
LOL! Oh *that*'s what you mean... :-)

In which case, I'd strongly recommend using Visual SourceSafe. Create a
separate project for your generic pages, then simply share them into your
other projects as required. This means that if you modify a shared object
in one project, it will be updated in all other projects which share it.

I have exactly this setup, mainly for base classes e.g. database access,
encryption, validation, registry, event log, FTP, active directory, email
etc, but also some .js files and some test webforms.

All of my shared classes have the same namespace 'sharedCode', which means
all I have to do is write "using sharedCode"; in any class which needs to
use it.

We are using TFS already for our source control, I might have a look at
sharing the pages, sounds like that may work out for us.

Kev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top