Asp.net|web| Project
First, VSS must be above 6.0c to be used in the. NET environment.
There are 6.0d versions in the. net2003 installation disk, No 6-disc version.
Installation of VSS
Server side:
Find the installation file, run the Setup program, all the way next, it's very simple, no need to explain.
Client:
On the server, locate the VSS installation directory, which has a VSS subdirectory containing Netsetup.exe,
Share the VSS directory, remember that you must share the VSS directory, and if you share a parent directory, you cannot install it on the network.
Then, on the client, open the VSS shared directory on the server, and run Netsetup.exe,so simple, not to mention.
Configuration of VSS
Build a directory on the server, such as project, as the VSS database root, to build subdirectories for each project,
So that each project's database does not interfere with each other, and recently a Web site project is being done, as an example.
Suppose this is a learning site that builds a study subdirectory under the project directory,
Build a user group developer on the server, add all developers of this project, Kevin,owen to this group,
Study-Share permissions-gives developer permission to write to the group.
On the server, start Visual SourceSafe 6.0 Admin, click the Create Database in the Drop-down menu tools ... menu item,
Click Browse to select the study subdirectory created above to create a project database here,
Click the Drop-down menu Users/open SourceSafe Database ..., and then select the DB study, open it,
Click on the dropdown menu Users/add user ..., add users Kevin,owen, set the password,
To this end, the configuration of VSS is complete.
. NET development Environment configuration
Start Vs.net, create a new Web project, Http://localhost/Study
Right-click the project name study in the solution manager on the right, and click Add Solution to Source control.
Select the study database established above, login with admin, default will give a directory name, click OK to complete Add,
It is important to note that the default path to the. NET project is/My Documents/visual Studio projects/
However, when the project is added to the VSS database, the file in this location is invalid.
So where are all the files we're working on, it's impossible to directly manipulate the VSS database,
Open IIS Manager, select the properties of the study virtual directory, and view the virtual path options.
You can see that the local path to the project Study is C:\inetpub\wwwroot\Study
This is the local copy of the project study, any created in VS, modified files are in this directory,
For ease of operation, you can move this directory to where you need it,
Or, create a virtual directory where the item is currently established in IIS for the study project.
One more thing to note,
Open ISS Manager-View study Properties-Directory security-authentication and access control-edit,
You can see that the default is to enable anonymous access, put the tick off, and put the following integrated Windows authentication hooks on.