A basic requirement for software development is to block unprocessed exceptions and display a friendly interface to users when a system error occurs, save the error message to the log. In Asp.net, unprocessed exceptions cause the httpapplication.
The last time I talked about how to use httphandler's centralized routing to solve the path problem. I also mentioned that there is a drawback that image files cannot be previewed during design. Next I will discuss how to solve this problem, that is,
Let's face it: Web developers are willing to give anything to get a development tool so that they can avoid page refresh. Imagine the following common scenario: you add a table control to an ASP. NET plane, and then display a navigation bar to the
[Preface] last month, I submitted two articles in the same series
Article :
Use Asp.net MVC + LINQ + mvc_scaffold_gen_setup.exe to generate a complete big housekeeping Program ("one ")
Use Asp.net MVC + LINQ + mvc_scaffold_gen_setup.exe to generate
In the past communication technologies with servers, we used Ajax round-robin access, that is, controlling the time interval in Javascript, and then accessing the server at intervals, then obtain the data or notification. However, 90% of the
Create ASP. NET in Visual Studio. NET
ProgramThe default location is http: // localhost/[webapplicationname]. The newly created ASP. Net program creates a folder with the same name as the program name in C: \ Inetpub \ wwwroot \ of drive C. Add and
In C #, the static variable indicates that the variable belongs to the class, not the instance of the class. It can be said that all instances of this class share a static variable.The Asp.net page is a class, and we access a page. An instance of
Today, I saw the document prohibiting static variables on the page and the discussion about static variables in ASP. NET in my comments. I don't think it involves the essence of static-What is static.
Static in ASP. NET and C ++ is not much
Currently, Ajax can be implemented in many languages, such as Java and. Net. In fact, the core content of Ajax is XMLHttpRequest. If you are not familiar with XMLHttpRequest, you can find The article Dynamic HTML and XML: The XMLHttpRequest Object
Why use the master page?
§ It is used for standard template content, nested templates, and repeated templates to provide high code reusability in BS mode.
§ The designer is supported and easy to use.
§ Code and view separation can be achieved.
§
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
The following error occurs when you deploy a website under iis7:
After searching online, the most online answer is to set the application pool to Classic. NET AppPool, I think for a moment, this is simply a solution to cure the problem. If the
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
Sample CodeIt was not a long time to get started with asp.net, and I had a strong interest in many of the new technologies. Recently, I encountered a problem that I needed to update data controls without refreshing the data. I first considered using
Asp.net data collection base class (Remote capturing, decomposition, storage, and matching)Detailed reference address: http://www.opent.cn/article.asp? Id = 5
# Region date Random Function/*********************************** Function name:
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.