. NET public account development-3.0 query custom menu,. net-3.0I. Preface
We have created a custom menu. Now, how can we query our custom menu.
The principles are the same, and they are quite simple, but the interface address document has been
Razor and razorPreface:
The core of the Razor engine is to identify the @ symbol and angle brackets:1. 2. [For more information, see the example below.]
@for (int i = 0; i
{
i
}
Basic Syntax: Syntax 1 ,@()
Expression
@ (1 = 0? "1 equals 0":
Modifying the interface or method name in WCF does not affect the client program.
This article goes on to the section about WCF in "extracting WCF services from Web Service and Remoting Service.
Run the Host application.
Run the
A Brief Introduction to Lambda expressions
In. NET 1.0, we all know that we often use delegation. With delegation, we can transfer methods like passing variables. In a certain program, delegation is a powerful type of hosting method, which was also
NFinal Study Notes (1), NFinal Study Notes (
NFinal framework: the fastest netWeb framework. It has three major features: NFinalServer, NFinalBuild, and NFinal code generator (generate web Layer)
First, I learned about NFinalServer.
What is
Different relationships between common field events and results and field events
In ASP. NET development, we may need to add, search, or update a common field. In addition, the buttons are separated independently. The event processing result is
Asynchronous implementation in WCF and WCF asynchronous implementation
For both parties that communicate in WCF, the client can call the Service asynchronously, and the server can also implement the Service asynchronously.
Directory:
1. the WCF
How to add and delete a prompt box for the GridView in ASP. NET
In the GridView, we can directly add a CommandField deletion column to delete a row. However, in order to avoid accidental deletion due to misoperations, the operator is asked to
Asp.net is a public platform developed to verify the authenticity of messages and asp.net
Verify message authenticity
Add a filter to the project where the MVC Controller is located and rewrite the filter.
Public override void OnActionExecuting
After the ASP. Net page is refreshed, the method will automatically scroll to the original location for summary.This article summarizes three methods to automatically scroll to the original location after refreshing pages implemented by ASP. Net.
ASP. net mvc and WebForm easily implement dual-validation of the front-end and back-end jquery. validate + ValidationSugar,
Improvement of the last Deficiency
The previous post may cause many misunderstandings. Therefore, I have improved the
Winform basics, winform
1. display the window in two ways:
Modaless: Show
Modal, blocking the main window: ShowDialog ()
2. parameters are passed between the main window and the dialog box. In the dialog box, attributes are affirmed. In
Use of the Html. DropDownList () auxiliary method in the MVC view, mvcdropdownlist
We first prepare a SelectList type in the controller, and then pass it into the view through ViewBag. List. The SelectList type is provided by the HTML auxiliary
When using DataSource to bind a one-dimensional array, DataTextField only needs to bind an empty string.
Method definition:
1 public static void InitDropDownList (DropDownList ddl, bool isAddTopItem, DropDownList ddlSub, object ddlDataSource,
Have you ever used this wonderful C # annotation? How to view,
Reading directory
1. C # annotation Method
2. Is this a wonderful comment?
3. Use it for your own purposes.
4. Finally, guess who wrote it.
Although I am not a professional
What I understand is readonly and const, readonlyconst
Recently, I want to give a few lectures to new members of the school's software team, so I learned a lot of hard-to-learn and ambiguous knowledge points again.
MSDN explains this as follows:
The
Ueditor integrated use (sharepoint Integration), ueditorsharepoint
Ueditor deployment path (integrated with sharepoint)
C: \ Program Files \ Common Files \ Microsoft Shared \ Web Server Extensions \ 15 \ template \ layouts \ Resource \ ueditor \ net
Razor Exercise 2, razor exercise
Razor data types include string, int, float, decimal, and bool.In addition, data type conversion is required. The common methods are as follows:ToString (): converts the data type to string ). This is the same as
Razor Exercise 3, razor exercise
In Razor syntax, it uses three types of material loop processing: for, while, and foreach.
The following Insus. NET illustrates an example in the ASP. net mvc environment by appending the source code:While: @{ int
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