First, we need to add a controller under the App area. Here we take AppDemoController as an example. As shown in the figure below: Note: You can also create other areas by yourself, but it is recommended to use the App area here. After creating it, please add your own Action and pay attention to the following things. As shown in the figure below: As shown in the figure above, there are the following points to note: RouteArea and Route: Attribute routing is used here. RouteArea is used to identify the regional route name, and Route is used to define the path. The route name can be set through its Name attribute to facilitate the generation of connections based on the route name. If you find that attribute routing is not working, please note whether you have added the code: "routes.MapMvcAttributeRoutes();" in class RouteConfig. WeChatOAuth: used to obtain WeChat fan information. AppBaseController: Pay attention to changing the controller base class. AppBaseController encapsulates some commonly used properties and functions to quickly iterate business in WeChat development. For example: Te
1. WeChat web development creation Controller
Introduction: This article mainly introduces the creation of Controller for WeChat web development
2. Configuration instructions and common errors for WeChat web development
Introduction: This article mainly introduces the configuration instructions and common errors of WeChat web development
3. Overview of WeChat web development
Introduction: WeChat web development has always been the focus of many developers It is a threshold for developers to develop WeChat. It is quite easy to cross it. If you don't cross it, you can't get in. Therefore, this tutorial is carefully written for the situations of many developers and the encapsulation of the framework.
#Introduction: First of all: I always use the service account for the appid, because the subscription account cannot be authorized to obtain the user's basic information. Suppose: I have 3 pages that need to be logged in, and the entry buttons of these pages need to be placed on the 3 function buttons below the subscription account chat window. Situation 1: When any one of these 3 buttons is placed...
[Related Q&A recommendations]:
javascript - WeChat web page How to use Qiniu JS API to directly upload images during development
html5 - WeChat web development H5 vedio multiple video playback issues
##angular.js - When doing single-page development in Angular (mobile terminal), how to make the page only switch up and down, while the middle remains unchanged?
The above is the detailed content of 10 recommended articles about WeChat web development. For more information, please follow other related articles on the PHP Chinese website!

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

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version
SublimeText3 Linux latest version

SublimeText3 Chinese version
Chinese version, very easy to use

Atom editor mac version download
The most popular open source editor

SublimeText3 Mac version
God-level code editing software (SublimeText3)