The ASP.NET Server tab enables you to configure the ASP.NET Server you need to execute ASP.Net web applications.
The ASP.NET Server tab
More information about the ASP.NET support are explained in the ASP.NET FAQs topic.
You can download a preconfigured package for ASP.NET support in the Add-On Packages topic.
The http.ini fields specific to the ASP.NET
Server section are shown below:
[ASPNetServer] ; ASP.Net Server settings Start=1 DefaultDocuments=default.aspx|index.aspx|default.htm|default.html|index.htm|index.html ; Network settings IP=127.0.0.1 Port=8081 FindFreePort=1 ; .Net Framework settings UseEmbedded=0 Version=2.0 InstallURL=##DWEBPRO_PATH##\www\dotNet.htm Initialize=1 InitializationURL=http://##DWEBPRO_HOSTNAME##:##DWEBPRO_ASPNETSERVER_PORT##/init.aspx DisableAssemblyWarning=0 ; Startup / Shutdown settings ShowStartupTimeOutMessage=0 StartupTimeOut=5000
ShowShutDownTimeOutMessage=0
ShutDownTimeout=5000
Each of the fields within the ASP.NET Server section are detailed below.
ASP.NET Server settings
Start ASP.NET Server
Start
Start ASP.NET Server specifies whether
the ASP.NET Server should be started.
Accepted values: 0, 1
Default Documents
DefaultDocuments
Default Documents specifies the names
of the default documents used by DWebPro's ASP.NET Server.
Accepted values: string, separated by
the "|" character
Network settings
IP
IP
IP specifies the IP address on which
the ASP.NET Server will listen on. Set this to 0.0.0.0 for all available IPs.
Accepted values: string, in IPv4 format
Port
Port
Port specifies the port on which DWebPro's
ASP.NET Server will be listening.
Accepted values: 0, 1
Find Free Port
FindFreePort
Find Free Port specifies whether DWebPro
should search for a free port upon start up of the ASP.NET Server.
The used port will be saved into the
##DWEBPRO_ASPNETSERVER_PORT## internal constants. Refer to the DWebPro Internal Constants topic for
additional information. Accepted values: 0, 1
.Net Framework settings
Embedded .NET Framework
UseEmbedded
Embedded .NET Framework specifies whether
DWebPro should use its unique feature called the Embedded
.NET Framework. If you install our ASP.NET 2.0 Embedded preconfigured package, you will be able
to run your ASP.NET Web application on PCs that do not have the .NET
Framework installed.
Accepted values: 0, 1
ASP.NET Version
Version
ASP.NET Version specifies the version
of ASP.NET that will be used.
Accepted values: 1.1, 2.0, 3.5
.NET Install Page URL
InstallURL
NET Install Page URL specifies the path
to a file (HTML or other) that will be opened if the .NET Framework
is not found. Refer to the DWebPro Internal Constants topic for additional information on paths.
Accepted values: string
Initialize ASP.NET engine
Initialize
Initialize ASP.NET engine specifies if DWebPro has to initialize (preload) the ASP.NET engine during the startup phase. DWebPro
Accepted values: 0, 1
Initialization URL
InitializationURL
Initialization URL specifies the URL that DWebPro will call during the startup phase to initializa the ASP.NET engine.
Accepted values: string
Disable Assembly Warning
DisableAssemblyWarning
Disable Assembly Warning specifies if DWebPro has to show a warning message in the case it can't find one of the assemblies required to correctly run the ASP.NET engine.
Accepted values: 0, 1
Startup / Shutdown settings
Startup Timeout
StartupTimeOut
Startup Timeout specifies the timeout
allowed, in milliseconds, for ASP.NET to startup. DWebPro waits the
amount of time specified here before continuing the initialization
process. If the Show Startup Timeout Message option is selected, DWebPro prompts the user whether to wait for
ASP.NET to complete its startup initialization.
Accepted values: integer
Show Startup Timeout Message
ShowStartupTimeOutMessage
Show Startup Timeout Message specifies
whether DWebPro prompts the user whether to wait for ASP.NET to complete
its startup initialization.
Accepted values: 0, 1
Shutdown Timeout
ShutDownTimeout
Shutdown Timeout specifies the timeout,
in milliseconds, before closing ASP.NET. If the Show Shutdown
Timeout Message option is selected, DWebPro prompts the
user whether to wait for ASP.NET to complete its shutdown process.
Accepted values: integer
Show Shutdown Timeout Message
ShowShutDownTimeOutMessage
Show Shutdown Timeout Message specifies
whether DWebPro prompts the user before closing ASP.NET due to a shutdown
timeout.
Accepted values: 0, 1
Browser section
that shows how to configure DWebPro to connect to the ASP.NET Server:
[Browser] OpenUrl=1 Params= Url=http://##DWEBPRO_HOSTNAME##:##DWEBPRO_ASPNETSERVER_PORT##/When you deploy an ASP.NET Web application on CD/DVD, you have to precompile it so the ASP.NET Server engine can execute them. This is required because the ASP.NET engine attempts to compile the ASP.NET code on the first request but will not be able to save it on the CD/DVD. Refer to the following topic on MSDN for information on the precompilation process:http://msdn2.microsoft.com/en-us/library/ms228015.aspx

