Today, I have trained my colleagues on ASP. NET MVC technology. The accessories are ppt, database, and Demo.
Download MVC training materials
Knowledge points in this training are as follows:
MVC Definition
Model-View-Controller
Demo
1. Problems in traditional WebForm Development
In traditional ASP. NET development, Microsoft's development team designed a rapid development environment for developers to drag and drop controls in the visual designer and write code to respond to
In ASP. net mvc, data is often transmitted between the Controller and the View. Therefore, it is very important to master the data transmission methods between the two layers skillfully and flexibly. This article discusses from two
In ASP. NET MVC1.0, we usually do this in the previous section.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$. Ajax ({
Type: "GET ",
Url: "/role/SaveRoleResource ",
Data: {roleId: roleId, array:
URL ing is a new feature in ASP. NET 2.0. The URL ing technology helps us map a specific URL to another URL. For better understanding, we assume that you have a page named Homepage. aspx on the website to access the Home Page. All users also use
1. pagination of the DataGridIn addition to settings:
AllowPaging is used to allow paging, which is the most important. With it, we can paging.
PageSize indicates the number of records displayed on each page. If not written, 10 records are displayed
Var a = TempData ["a"];
Var alsoA = TempData ["a"];
// True
Debug. Assert (Object. ReferenceEqual (a, alsoA ));
========================
Objects within TempData will only be removed till the end of current request, if during which period you
Data Development in asp.net, using a three-tier architecture can improve code readability and function scalability. First, let's look at a figure:
We all know that it is the performance Layer (PL), business logic layer (BLL), and data access layer (
[ASP] detailed usage of GetRows!We should all know that Recordset has a GetRows attribute, but there are not many actually used ones. I also recently used it! Khan ......In fact, this attribute is very simple, that is, to output the dataset to an
I haven't used asp for a long time. Today, a friend told me to help me tune something. After iis is set, it always appears:
Microsoft JET Database Engine error '20140901'
Unspecified error
After searching the Internet, I found that there is
To perform authorization, Web services often need to be able to authenticate their callers (other applications. Client certificates provide a good authentication mechanism for Web Services. If you use a client certificate, your application will also
Assign a value to ComboBox in winform. In WinForm, ComboBox obtains the SelectedValue supplement of the bound object set.
On the asp.net page, assign a value to DropDownList as follows:
DpType. SelectedIndex = dpType. Items. IndexOf (dpType. Items.
Tab controls are often used in project development. There are also many tabs on the Internet. They are actually simple functions, but many of them are complicated and powerful, and they are not what I need.
The following describes how to implement a
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