Resource Environment preparation for ASP. NET MVC5 + EF6 + EasyUI background management system WeChat public platform development, mvc5easyui

Source: Internet
Author: User

Resource Environment preparation for public platform development of ASP. NET MVC5 + EF6 + EasyUI background management system, mvc5easyui

Preface:

This will learn how to expand the public account function of an enterprise. The public account is also the main channel for enterprise traffic and brand promotion. To do this, you must first sharpen the tool and release the program to an Internet environment, the debugging speed is too slow and too troublesome!

We need to prepare for rapid development.

What Is intranet penetration?

You can access the local IIS site through the domain name on the external network!

Software environment:

Windows 10 + IIS10

(Configure the local site to IIS10 as a backup, and the publishing site is not used as a tutorial)

Knowledge point:Peanut Shell (main) ngrok start:

First, publish the site to IIS. Here, I publish the site to local IIS and bind the port to 8081. The default port 80 can be used.

  

I think there are two simple Intranet penetration software: Peanut shells, Ngrok

Download peanut shells

Ngrok download

1. Peanut shells (minimum fee of 6 yuan)

The configuration of the peanut shell is simple and the interface operation requires 6 yuan, and the 6 yuan file only supports the telecom network. I deliberately spent 6 yuan to test it. The process is roughly as follows:

1. After installing the peanut shell, open the software

2. Click the domain name list and you will see a free second-level domain name. The first entry is the paid 6 yuan interface.

3. Intranet penetration-add ing

The configuration is simple, so that you can access the local IIS Site through ymnets.imwork.net.

2. Ngrok (free of charge)

Ngrok, it is free, and the configuration is not very complex

Address: https://dashboard.ngrok.com/user/login

Register an account and click Download Software (4 MB). Unzip the software and open it:

At this time, you should have two interfaces: Software Interface and website interface.

Software Interface:

Website interface:

1. Click Auth in the tab.

2. Copy the Token to the software interface.

Ngrok authtokenNL ...................................... ...... j1KY

A yml file is successfully saved.

3. Run the ngrok http 8081 command again.

Note: here, the IIS configuration port is 8081, and you may be another port. You need to set it according to the actual situation to support port 80.

The following interface is displayed, indicating that the operation is successful.

4. Enable: http: // 127.0.0.1: 4040/inspect/http

You can see two sites. This is the address where the Internet can access the local IIS Site!

5. Fixed domain names

The above domain names are changed, which means that we need to configure the site address for debugging every time we run it. If we need a fixed domain name, we need to pay for it to get a fixed domain name.

Address: https://dashboard.ngrok.com/billing/plan

Then run the following command:

ngrok http -subdomain=inconshreveable 8081 Forwarding     http://inconshreveable.ngrok.io -> 127.0.0.1:80Forwarding     https://inconshreveable.ngrok.io -> 127.0.0.1:80

Finally, you can access it through the Domain Name of the custom http://inconshreveable.ngrok.io.

Summary:

1. Fixed domain names are charged, which is cheaper than peanut shells.

2. If your network permits, you can use a peanut shell and feel that the domestic domain name is still relatively fast.

3. ngrok can also be used for development and debugging for free.

4. ngrok is not stable. Sometimes the network is opened incorrectly. I don't know if it is a problem with my personal network.

5. Subsequent tests on peanut shells

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Related Article

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.