C # program release/deployment

Source: Internet
Author: User

How to use C # To package applications (installation programs)

Configure node encryption in Web. config

Configuration environment:

Tomcat virtual path:

3. Add the following content to the server. xml configuration file under Tomcat:
<Host>
.........
<Context Path = "/upload" docbase = "D: \ upload" reloadable = "false"/>
</Host>

4. Create an upload folder under the D: root directory.

IIS configuration

7. After IIS is installed, choose management tools> Internet Information Server (IIS)> Internet Information Service> Local Computer>
Website --> default website --> right-click Properties --> document-> Add-> input: index. jsp

8. Install. Net framework3.5

9 install mysql-connector-net-6.0.3.zip for. net connection to MySQL.

10. Check the IP address of the WebService.

11 configure IIS
A. Set the Active Server Pages status in the Web service extension of IIS to allow,
Set ASP. NET v2.0.5.0727 to allow,
If the system does not find it by default, manually configure it. Run the following command in cmd: C: \ WINDOWS \ microsoft. Net \ framework \ v2.0.50727 \ aspnet_regiis-I-enable.
Internet data connector status is set to allow,
The file inclusion status on the server is set to allow.
B. Configure website attributes
Website tab: Default
Performance tab: Default
ISAPI Filter tab: Default
Home Directory tab: directory on this computer, c: \ Inetpub \ wwwroot, script resource access, read, record access, index resource, Default Application Program , Scripts and executable files, defaultapppool
Document tab: add index. asp
Directory Security Tab: authentication and access control --> edit --> check the user name and password (access permission for Windows users: Guest account .)
HTTP header tab: Default
Custom error tab: Default
Service tab: Default
ASP. NET tab: Check Asp.net V2.0, virtual path, file location
C. Configure website Permissions
Find the Windows user used by the application (Internet Guest Account: allows anonymous access), and set the access permission for this user.
D. Configure application attributes
Directory tab: specified directory, script resource access, read, record access, index resource, application name, script executable file, defaultapppool

/***
Do not place Resources in the default c: \ Inetpub \ wwwroot directory during release and use the virtual path
Modify the database connection string.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.