Wednesday, March 28, 2012

simple .net question

Hi there,

ive just got a quick question in regards to .net builds.
I have a web application that i've created, and all the VB files are crammed
into 1 DLL file, which are my data access, and website classes are all put
into one file. How can i do it so that i can separate these into different
DLLS but still use them for the 1 web project?

thanks.Hi,

if you use VS.NET, you can achieve that by having separate projects. Main
web application would be a web project and then others (say data access)
would be a component project (class library). All projects would exist in
same solution so you could manage them at once but still access them
individually when needed.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Paul M" <milsnips@.hotmail.com> wrote in message
news:OsgkQKDqDHA.1656@.tk2msftngp13.phx.gbl...
> Hi there,
> ive just got a quick question in regards to .net builds.
> I have a web application that i've created, and all the VB files are
crammed
> into 1 DLL file, which are my data access, and website classes are all put
> into one file. How can i do it so that i can separate these into different
> DLLS but still use them for the 1 web project?
> thanks.
Hi,
you can create your data access routines and website
classes as seperate class library projects, build into
dlls, and add them as references to your web application.
You can also open several projects as part of the same
solution containing your web application, making
debugging easier.

alex

>--Original Message--
>Hi there,
>ive just got a quick question in regards to .net builds.
>I have a web application that i've created, and all the
VB files are crammed
>into 1 DLL file, which are my data access, and website
classes are all put
>into one file. How can i do it so that i can separate
these into different
>DLLS but still use them for the 1 web project?
>thanks.
>
>.
cool.

thanks for your help. much appreciated.

Paul.

"alex bowers" <alex.bowers@.dunnhumbyNSPM.com> wrote in message
news:0ddf01c3a84b$45a87f70$a101280a@.phx.gbl...
> Hi,
> you can create your data access routines and website
> classes as seperate class library projects, build into
> dlls, and add them as references to your web application.
> You can also open several projects as part of the same
> solution containing your web application, making
> debugging easier.
> alex
> >--Original Message--
> >Hi there,
> >ive just got a quick question in regards to .net builds.
> >I have a web application that i've created, and all the
> VB files are crammed
> >into 1 DLL file, which are my data access, and website
> classes are all put
> >into one file. How can i do it so that i can separate
> these into different
> >DLLS but still use them for the 1 web project?
> >thanks.
> >.

0 comments:

Post a Comment