Home > WeChat Applet > WeChat Development > C# WeChat public account development--preparation work

C# WeChat public account development--preparation work

黄舟
Release: 2017-01-16 10:52:48
Original
1854 people have browsed it

Preface

Initially I planned to get familiar with WeChat development and planned to use node.js to develop. However, I didn’t have enough confidence to develop with C# first, so I stepped on the pitfalls first.

Preparation work

WeChat public platform developer documentation. Read this a few times first.

Test the public account. After applying for activation, you will see the WeChat ID, appID, and appsecret. After activation, you can see the domain name of the test public account

C# WeChat public account development--preparation work

by scanning the QR code below. For domain names and servers, you can buy Alibaba Cloud. If you feel that the price is not suitable, you can purchase domain name resources and server resources from Taobao.

server. The domain name and server need to set up the basic environment first, because the public account interface configuration information (URL, Token) and js interface security domain name.

After all the preparations are in place, first set up the environment on the service, because when filling in the URL, WeChat needs to check whether the current control of the server is in your hands. I used IIS to set up the address first and return a random string.

After the hardware environment and software environment are in place, take a look at the Shengpai WeChat SDK. It mainly simplifies the development of WeChat public accounts and is open source. You can learn the design and ideas of the SDK. At the same time, having an open source SDK is good news for our developers. Thumbs up for the author.

The above is the content of C# WeChat public account development-preparation work. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template