Showing posts with label single. Show all posts
Showing posts with label single. Show all posts

Thursday, March 29, 2012

Separate webfolder for each developer in single web project

Hi, please read this before
http://groups.google.ru/group/micro...-JaaxaeIKyXy0Eg
I need to organize the same structure in my solution. This means to
have 1 Web Application Project or Web Site Project. But when developers
get solution from VSS and start them they should have their own
WebFolder to be opened. That means dev1 should have web project in
remotehost\dev1webfolder, dev in remotehost\dev2webfolder.
And i don't want developers to change project file in vss on their own
computers to reach this.

Please. helpIf you are remoting, set up a source repository (SourceSafe, CVS,
Subversion, Team System). Each developer checks out to a different spot on
the machine. Everyone remotes in and has code in a different directory.
NOTE: Only one person can debug at a time if you are on one machine, ulnless
you set up independent app pools (or use file based webs if using Visual
Studio 2005).

To set up independent app pools, you go into IIS and create the app pools.
After having each developer pull code to a specific location, you set up the
applications as web applications and set their pool.

Open IIS Manager
Create pools
Have developers get code to a directory
Set each developers directory in IIS by creating new virtual directories
Right click each application directory in IIS Mgr and go to properties
Under home directory, set the application pool for this application

Once again, you CAN go to file based webs, which require no setup.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
<alexey.yakovlev@.gmail.comwrote in message
news:1158064382.308774.159710@.i42g2000cwa.googlegr oups.com...

Quote:

Originally Posted by

Hi, please read this before
http://groups.google.ru/group/micro...-JaaxaeIKyXy0Eg
>
I need to organize the same structure in my solution. This means to
have 1 Web Application Project or Web Site Project. But when developers
get solution from VSS and start them they should have their own
WebFolder to be opened. That means dev1 should have web project in
remotehost\dev1webfolder, dev in remotehost\dev2webfolder.
And i don't want developers to change project file in vss on their own
computers to reach this.
>
Please. help
>

Seperate Auth for single page

Can you specify a different authentication method ('none') for a single
page? I have the web.config designed for 'Forms' auth, but I have one page
that I want outside the auth method, without putting it into a seperate
folder with it's own web.config.

Thanks

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.comYou can specify some pages to require login, and others to not require login
via your web.config file by using the <location> tag.

Here is an example with sample code that you can download and play with.
http://www.dotnetbips.com/displayarticle.aspx?id=117

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%23GKNgVP4DHA.1700@.TK2MSFTNGP11.phx.gbl...
> Can you specify a different authentication method ('none') for a single
> page? I have the web.config designed for 'Forms' auth, but I have one page
> that I want outside the auth method, without putting it into a seperate
> folder with it's own web.config.
> Thanks
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> www.Darkfalz.com
Yes - see the <location> element of web.config.

example:

<location path="Logon.aspx">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location
HTH,

--
Scott
http://www.OdeToCode.com

On Thu, 22 Jan 2004 08:40:56 -0600, "Curt_C [MVP]"
<software_AT_darkfalz.com> wrote:

>Can you specify a different authentication method ('none') for a single
>page? I have the web.config designed for 'Forms' auth, but I have one page
>that I want outside the auth method, without putting it into a seperate
>folder with it's own web.config.
>Thanks