asp.net mvc5+ef6+easyui background Management system Micro-trust public platform development of resource and environment preparation _ practical skills

Source: Internet
Author: User

Objective:

This will learn to expand the enterprise micro-letter public number function, micro-letter public number is also enterprise traffic and brand promotion of the main way, the so-called 工欲善其事 its prerequisite, debugging micro-letter must release the program extranet environment, resulting in debugging speed too slow, too troublesome!

We need to be ready to go into development and prepare for subsequent rapid development.

What is intranet penetration?

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

Software Environment:

Windows10+iis10

(The local site configuration to IIS10 as a standby, publishing site not as a tutorial)

knowledge Point: peanut Shell (Main) ngrok start:

First publish the site to IIS, I am here to publish the site to the local IIS, and binding port is: 8081, you can use the default 80

  

I think that relatively simple intranet penetration software has 2: peanut shells, Ngrok

Peanut Shell Download

Ngrok Download

1. Peanut Shell (minimum 6 yuan charge)

Peanut shell configuration Simple, interface operation, cost 6 yuan, 6 yuan file only support telecommunications network, I deliberately spent 6 yuan test, the process is roughly as follows:

1. After installing the peanut shell, open the software

2. Click on the list of domain names will see his free two class domain name, the first point is paid 6 Yuan interface

3. Intranet penetration-Add mapping

The configuration is simple, so you can access the local IIS site via Ymnets.imwork.net, and the configuration is simple

2.Ngrok (can be free)

Ngrok, it's free, and the configuration is not very complicated.

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

Registered account, and click on the download Download software (4MB), the software after decompression open:

At this point you should have 2 interfaces: Software interface, website interface

Software interface:

Website interface:

1. Click the Tab TAB auth

2.Copy token copied to the software interface

Ngrok Authtokennl............................................j1ky

Successfully saved a yml file

3. Re-enter the command: Ngrok http 8081

Note: I have IIS configured above the port is 8081, you may be the other port, according to the actual situation to support 80 ports

This will jump out of the following interface, indicating success

4. Open: Http://127.0.0.1:4040/inspect/http

You can see that there are 2 sites, this is the extranet can access the local IIS site address!

5. Fixed domain name

The above domain name is changed, means that every time we run to configure a debug site address, if you need a fixed domain name, we need to pay to obtain a fixed domain name

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

And then by command:

Ngrok http-subdomain=inconshreveable 8081 
forwarding   http://inconshreveable.ngrok.io->
forwarding   Https://inconshreveable.ngrok.io-> 127.0.0.1:80

Finally, you can access the domain name by customizing the Http://inconshreveable.ngrok.io

Summarize:

1. Fixed domain names are required to pay, compared to the peanut shell more cheap

2. If your network allows, then the use of peanut shells, feel the domestic domain name or speed is relatively fast

3. In the case of free, using Ngrok can also be used for micro-credit development and debugging

4.ngrok is not very stable, sometimes there will be network open error, do not know is not my personal network problem

5. The following are all peanut shell tests

This article has been sorted out to the ASP. NET micro-Credit Development tutorial Summary, you are welcome to learn to read.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.