Home  >  Article  >  WeChat Applet  >  WeChat public platform client debugging tool-WPF development

WeChat public platform client debugging tool-WPF development

高洛峰
高洛峰Original
2017-03-03 10:02:531964browse

This tool can be used by any developer who develops the WeChat public platform. Although it is developed using WPF (C#), it is not affected by the language used by the service you want to debug.

I have been developing WeChat public platform before. Client-side debugging is a must. I have always used debugging tools developed by others. I just wanted to try WPF development myself, so I developed it in my spare time after work. , the first time I used WPF, I did it after a few nights after work, as shown in the picture:

微信公众平台客户端调试工具-WPF开发

微信公众平台客户端调试工具-WPF开发

Includes all The primary interface and some advanced interfaces (user information, grouping, group sending, customer service messages, etc.), originally planned to develop more interfaces, and the most important thing is to beautify the interface of the advanced interface, now I have to go home for the holidays, temporarily Let it go like this first.

The interface is divided into 4 parts: configuration information, primary interface, advanced interface, introduction

1. Configuration information: fill in your URL, token, appid and other information, after submitting any interface once, The filled in information will be initially loaded next time, so you don’t have to fill it in every time. The address filled in can be local, virtual, or external network, as long as it can respond to the request;

2. Primary interface: Select the corresponding option under the primary interface at the top, fill in the necessary information, and submit. Debug whether the service address you filled in responds correctly. If you are a .NET developer, when VS starts breakpoint debugging, this tool can also fill in the localhost address that VS starts and opens. Clicking submit can also trigger VS breakpoint debugging. When used together, you can view the execution process step by step;

3. Advanced interfaces: Several commonly used advanced interfaces. Other interfaces were originally planned to be developed. This version will be released first and will be added later depending on the situation;

4. Introduction;

Yes The advanced interface naturally has the accessToken interface. Except when you actively click to obtain accessToken under the advanced interface, any other interface that uses accessToken will not request Tencent every time, but only when the requested accessToken expires or you Only when you actively change the public account (reflected in the tool as appid and appsec) will you go to Tencent to initiate a new request. This ensures that the 7200-second validity period and daily limit of each accessToken are reasonably used.

This is my first time doing WPF. I don’t know if it can be used. Download link: There are bugs in the previous version. The download link for the new version will be released later

The download link is at the bottom

Modify a known BUG;

Add automatic update program, as shown in the figure:

微信公众平台客户端调试工具-WPF开发 微信公众平台客户端调试工具-WPF开发

微信公众平台客户端调试工具-WPF开发

For more WeChat public platform client debugging tools-WPF development related articles, please pay attention to the PHP Chinese website!

Statement:
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