


asp.net development of WeChat public platform (6) stage summary, service construction, access
After the first 5 articles, if you follow step by step, anyone can build a framework that can handle various WeChat messages. Let’s summarize the most easily overlooked problems:
1. In text messages You can use the newline character \n;
2. We don’t need to worry about the long integer time included in the message sent by WeChat, just return it as it is;
3. Text message The length is limited, the longest is 2048 bytes. Note that it is bytes, not the number of words. In actual use, there is no need to ask how many words it should be. You should think about the maximum number of words if it is used as a text message on a mobile phone. Users will not be disgusted by a single word, but it will be uncomfortable if it is up to 500 words. No matter how long it is, you should consider using graphic messages to allow users to click and read the long article;
4. Send it via WeChat The message is UTF-8 encoded, and the WeChat server also uses UTF-8 encoding when processing the message you return, so the returned message after you receive and process it must be UTF-8 encoded. Many people encounter garbled code problems because the encoding is not correct. Unification;
Let’s summarize these questions first. Next, let’s talk about the access to WeChat public platform. After applying for an account on WeChat public platform, select the development mode in the function on the left menu---Advanced function and fill in your After entering the domain name address of the server and a Token, click OK. WeChat will send a request to the address you filled in. If you can return the result correctly, the verification is passed, and the official account will officially open the development mode. What you access through WeChat is equivalent to you. Home page of the website. I will provide a demo in the next article. Next time, I will throw it on the server and configure IIS to see the results directly.
For more asp.net development WeChat public platform (6) stage summary, service construction, and access related articles, please pay attention to PHP Chinese net!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Dreamweaver Mac version
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.