Common files shared by multiple CMS websites
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Common files shared by multiple CMS websites




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Common files shared by multiple CMS websites  
Rob


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-30-06 02:09 AM

I am brand new to MCMS so please forgive me for my lack of knowledge...

I am trying to determine if there is a way to "share" or to make available
common files between multiple CMS websites.  For instance if I created a
"UsefulFunctions" file (probably .dll I'm guessing) can multiple websites
reference a single copy of that file?  Or will I have to make copies of that
file and place the copies in locations accessible by each website?

Thanks for any help,
Rob





[ Post a follow-up to this message ]



    Re: Common files shared by multiple CMS websites  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-30-06 02:09 AM

Hi Rob,

this is not a MCMS but an VS.NET/ASP.NET question.
For DLLs you need to add a reference to the DLL in your VS.NET project.
Then the DLL will be copied into the bin directory of the actual VS.NET
project.

For further details of this you should post to an ASP.NET/VS.NET related
newsgroup.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Rob" <Rob@discussions.microsoft.com> wrote in message
news:E3C73745-98BD-4FC1-B69F-7C9A7EFB816C@microsoft.com...
>I am brand new to MCMS so please forgive me for my lack of knowledge...
>
> I am trying to determine if there is a way to "share" or to make available
> common files between multiple CMS websites.  For instance if I created a
> "UsefulFunctions" file (probably .dll I'm guessing) can multiple websites
> reference a single copy of that file?  Or will I have to make copies of
> that
> file and place the copies in locations accessible by each website?
>
> Thanks for any help,
> Rob







[ Post a follow-up to this message ]



    Re: Common files shared by multiple CMS websites  
Spencer Harbar [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-30-06 02:09 AM

Hello Rob,

Sure if it is a component and you "trust" it - you can place that component
in the GAC.


hth
Spence
www.mcmsfaq.com

> I am brand new to MCMS so please forgive me for my lack of
> knowledge...
>
> I am trying to determine if there is a way to "share" or to make
> available common files between multiple CMS websites.  For instance if
> I created a "UsefulFunctions" file (probably .dll I'm guessing) can
> multiple websites reference a single copy of that file?  Or will I
> have to make copies of that file and place the copies in locations
> accessible by each website?
>
> Thanks for any help,
> Rob







[ Post a follow-up to this message ]



    Re: Common files shared by multiple CMS websites  
Rob


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-30-06 02:09 AM

Stefan,
Thank you for the response.

However, does adding a dll to the bin directory make that dll accessible to
other local websites?  Or does the dll need to be put in the GAC as Spence
suggested?

(BTW... thank you for the response also Spence)

Thanks,
Rob

"Stefan [MSFT]" wrote:

> Hi Rob,
>
> this is not a MCMS but an VS.NET/ASP.NET question.
> For DLLs you need to add a reference to the DLL in your VS.NET project.
> Then the DLL will be copied into the bin directory of the actual VS.NET
> project.
>
> For further details of this you should post to an ASP.NET/VS.NET related
> newsgroup.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44[/url...nyurl.com/8ugwj
> ----------------------
>
>
> "Rob" <Rob@discussions.microsoft.com> wrote in message
> news:E3C73745-98BD-4FC1-B69F-7C9A7EFB816C@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Common files shared by multiple CMS websites  
Spencer Harbar [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-30-06 02:09 AM

Hello Rob,

If you want to share a component between apps yoou have two options:

a) install it in the GAC
b) copy it to the BIN folder of each app

Copying the component to the BIN fodler means it will be available only to
that application - in this case the Virtual Directory so it won't be availab
le
to other Virtual Directories or Virtual Web Sites.

hth
Spence
www.mcmsfaq.com
[vbcol=seagreen]
> Stefan,
> Thank you for the response.
> However, does adding a dll to the bin directory make that dll
> accessible to other local websites?  Or does the dll need to be put in
> the GAC as Spence suggested?
>
> (BTW... thank you for the response also Spence)
>
> Thanks,
> Rob
> "Stefan [MSFT]" wrote:
> 







[ Post a follow-up to this message ]



    Re: Common files shared by multiple CMS websites  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-30-06 02:09 AM

Correct.
Thanks Spence!
:-)

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Spencer Harbar [MVP]" <spence@harbar.net> wrote in message
news:6f72f8b162c38c7f0ad213f0fa4@msnews.microsoft.com...
> Hello Rob,
>
> If you want to share a component between apps yoou have two options:
>
> a) install it in the GAC
> b) copy it to the BIN folder of each app
>
> Copying the component to the BIN fodler means it will be available only to
> that application - in this case the Virtual Directory so it won't be
> available to other Virtual Directories or Virtual Web Sites.
>
> hth
> Spence
> www.mcmsfaq.com
> 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:47 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register