How do I use ASP to develop micro-mail? Summarize the usage of ASP.

Source: Internet
Author: User
Verify the authenticity of the message add a filter in the project where the MVC controller is located, overriding the public override void OnActionExecuting in the filter (ActionExecutingContext Filtercontext) method New data Model note: When the server receives the message, it is no longer signature but the Msg_signature server pushes the message to the Server sample HTTP request messages Post/cgi-bin/wxpush? msg_signature=477715d11cdb4164915debcba66cb864d751f3e6&timestamp=1409659813&nonce=1372623149 HTTP/ The 1.1host:qy.weixin.qq.com method overrides the method of validating the authentication call to the message, but the parameters need to be changed a little bit, using the new data model in the action method or the CO

1. An example of an ASP. NET Development Validation Message

Introduction: This article mainly introduces the information about the authenticity of the authentication message of ASP.

2. Access to user messages and processing methods using the ASP.

Introduction: This article mainly introduces the use of ASP. NET to develop the public platform to obtain user information and processing methods related data, the need for friends can refer to the following

3. ASP. NET Development public Platform (8) 9 high-level interface, custom menu

Introduction: The first 7 pieces of the most basic message receive and reply All done, also the entrance of the high-level interface and split processing to write the empty method, the next introduction of the 9 high-level interface, and focus on the custom menu.

4. ASP. The overall framework of the first 6 articles of the Net Development public Platform (7) Demo source

Introduction: Here is the demo is to have the overall framework of the public Platform source code, the so-called demo is to take the past can directly demonstrate the use of things, of course, will not have a very detailed specific to the business level, the data level of things, everyone can be free to play on this basis, As long as the first 6 articles will certainly be able to open their own things.

5. NET Development public platform (6) Stage summary, service building, access

Introduction: After the first 5, followed by step by step, anyone can build good one can deal with a variety of message framework, summed up the most easy to ignore the problem:

6. ASP. NET Development public platform (5) text message

Introduction: The previous article has successfully responded to concern events, but also to achieve the text message sent, the beginning of the message processing, the most commonly used message type is the text message, because it is illustrated, the most able to express information. The interface definition of the text message in is as follows:

7. ASP. NET Development public platform (4) Focus on events, user records, reply text messages

Introduction: The previous article has all the message encapsulated and each has a method to deal with, this from the first step-focus on the beginning, followed by the message record, while replying to the text message to the user, the following method: Dosub, another new user scan with parameters of the QR code attention: Docodenotsub.

8. ASP. NET Development public platform (3) Message encapsulation and reflection assignment

Introduction: The previous article has been set up the overall framework, the implementation of the entrance verification, the verification passed to Lookmsgtype method processing, the Lookmsgtype method is mainly for the different messages sent to decompose, different types to the business logic layer different methods of processing, to different types of message judgment, You can use if, or switch generally more than 5 if with switch will be better, here to post the Lookmsgtype method:

9. ASP. NET Development public platform (2) Multi-layer Architecture framework construction and portal implementation

Introduction: The previous article has designed a relatively perfect database, this article began to enter the code. First, the database script of the previous design is executed in the database, build the database, and then build the project in VS, in order to facilitate understanding and view, I designed a very straightforward class name and file name, there is no namespace prefix.

ASP. NET Development public platform (1) Database design

Introduction: 1, the first is the user part, according to the official interface with the actual application, the user part has 3 tables: User table, user table, User Group table, I designed the following:

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.