Set Up the Remote Web Server
Create a New ASP.NET Web Application
Create a new ASP.NET Web Application project that is named testApp by using Microsoft Visual C# .NET or Microsoft Visual Basic .NET. To do this, follow these steps on the client computer:- Start Visual Studio .NET.
- On the File menu, point to New, and then click Project.
- In the New Project dialog box, select Visual C# Projects or Visual Basic Projects under Project Types, and then select ASP.NET Web Application under Templates.
- In the Location box, type http://localhost/testApp, and then click OK.
- On the Build menu, click Build Solution.
- Close Visual Studio .NET.
Set Sharing Permissions on the Project Folder
By default, project folder testApp is created at %SystemDrive%\Inetpub\wwwroot\.To set sharing permissions on the project folder, follow these steps:
- In Microsoft Windows Explorer, locate the %SystemDrive%\Inetpub\wwwroot\testApp project folder.
- Right-click the testApp folder, and then click Properties.
- Click the Sharing tab.
- On the Sharing tab, click to select the Share this folder option.
- Click Permissions, and then click Add.
- In the Enter the object names to select
box, type
servername\testuser, and then
click OK.
Notetestuser is the user account on the server with Administrative credentials. For servername, type the name of the Web server. - To assign full access permissions for the testApp folder to the testuser account, click to select the Full Control check box in the Allow section.
- Click OK two times.
Set Up the Client Computer
You can open the existing ASP.NET Web application with one of the following options.- File Share Path
- FrontPage Server Extensions
Open the Remote Application with the File Share Path Option
Map the Network Drive for the Folder on the Remote Web Server
To map the network drive for the folder that is located on the remote Web server, follow these steps on the client computer:- Right-click Start, and then click Explorer.
- Right-click My Network Places, and then click Map Network Drive.
- In the Drive box, type
\\servername\testApp.
Note For servername, type the name of the remote Web server. - Click Finish.
- In the User name box, type testuser, and then type the password for testuser in the Password box.
- Click OK.
Open the Application on the Remote Server
- Start Visual Studio .NET.
- On the File menu, point to Open, and then click Project From Web.
- In the Open Project from Web window, type http://RemoteWebServer in the Location box.
- Type testuser in the User name box, and then type password in the Password box.
- In the Open Project dialog box, click testApp, and then click testApp.csproj or testApp.vbproj.
Open the Remote Application with FrontPage Server Extensions
- Start Visual Studio .NET.
- On the Tools menu, click Options.
- In the Options dialog box, expand Projects, and then click Web Settings.
- In the Web Server Connection section, click FrontPage Extensions.
- Click OK.
- On the File menu, point to Open, and then click Project From Web.
- In the Open Project from Web dialog box, type http://RemoteWebServer in the Enter the URL of the server that you want to open the project from box.
- Type testuser in the User name box, and then type password in the Password box.
- In the Open Project dialog box, click testApp, and then click testApp.csproj or testApp.vbproj.