PagePorter Web Site Wizard
The PagePorter Web Site Wizard assists
you in creating a new PagePorter
web site from either a template or from an existing FrontPage web. You can access
this wizard by selecting the
PagePorter Web Site template from
the Visual Basic, Visual C#, or Visual J# project type.
Web Site
Content
You can choose to create a blank
PagePorter web site or import a
FrontPage web in this section. You may also choose how you want to manage the site.
Regardless of how you decide to create the new
PagePorter web site, it will have
all of the same features and capabilities.
- Create the PagePorter
web site from a template
- Creates a blank new
PagePorter web site project.
Click the Browse... button to select a Microsoft Office Theme for the
web site.
- Create the PagePorter
web site from a FrontPage web
- Creates a new PagePorter
web site project based on an existing FrontPage web. The FrontPage web is copied
into the new PagePorter web
site project. For good results, make sure that the FrontPage web's theme (if
any) is applied using CSS (only applies to FrontPage 2002 or earlier;
FrontPage 2003 always uses CSS for themes).
- Allow web site co-management with FrontPage
- If you create the new
PagePorter web site from an
existing FrontPage web, you can set up the project in one of two ways:
- Manage the project from Visual Studio .NET only (unchecked).
All of the FrontPage files that were copied over are included in the new
PagePorter web site project.
Use this option if your goal is to convert the entire site over to Visual
Studio .NET.
- Manage the project from Visual Studio .NET and FrontPage (checked).
The copied FrontPage files are in the new
PagePorter web site project
folder, but are not included in the project. Use this option if you want
to keep parts of the site managed by FrontPage, and other parts managed
by Visual Studio .NET.
Shared Borders
Shared borders are a concept borrowed directly from FrontPage. They allow for
a consistent web page layout without resorting to frames. The main difference between
FrontPage shared borders and
PagePorter shared borders is that
FrontPage shared borders are inserted at design-time, and
PagePorter shared borders are inserted
at run-time from the web server.
- Shared Border folder
- This is the project-relative folder where the shared border controls reside.
You may also place your own web user controls here.
- Default borders
- These checkboxes are only available when you are creating a
PagePorter web site from a template.
Checking the top, left, right, and bottom checkboxes will create web user controls
for the shared borders that are rendered at run-time.
Security
One of the features of the
PagePorter base Page class is that
is can enforce security rules on the connection with the browser. These options
control the default security features of the pages created in the project.
- Default page security
- Use the following table to choose the appropriate default page security:
-
Setting |
Description |
Don't care |
URL requests from the browser are processed without modification. |
Force secure (https://hostname) |
URL http requests from the browser are redirected using https. |
Force insecure (http://hostname) |
URL https requests from the browser are redirected using http. |
For example, the Force Secure setting can be used to ensure visitors access
your secure web site using the https: address.
- Hostname
- You can use this setting to force a particular hostname on browser requests.
This is most commonly used in conjunction with secure sites where the secure
server certificate is issued for a particular domain name. For example, the
certificate is issued for www.parastream.com and a
visitor requests https://parastream.com. Although
the web server may be set up to accept both (www may be an alias), the certificate
won't be valid. If you set the Hostname to www.parastream.com,
the request for https://parastream.com will be immediately
redirected to https://www.parastream.com where the
certificate is valid.