Today, in the project, I found that validator is unavailable in Asp.net Ajax, so I went to Google and found a good solution.
Http://blogs.msdn.com/mattgi/archive/2007/01/23/asp-net-ajax-validators.aspx
The problem is solved, but the usage of
Summarize one of the problems encountered today:
I used C # To write a component. Now there is an ASP
Program The same function should also be used, that is, asp should call this. Net assembly
OK, start:
1. regasm converthelper. dll/TLB:
Introduction
URL ing is a new feature of Asp.net 2.0. It allows developers to map one page to another. If a URL request comes in, the program will automatically remap it to the server. For example, if you configure ~ /Beverages. aspx ing ~
If you want the ASP. NET Server Control to have different values in different browsers, you can declare it as follows:
A full mark:
ASP. NET browser filtering is appended to the text and onclientclick attributes through the prefix of IE
ASP determines whether it is null and user-defined functions
ASP 08:38:33 read 12 comments 0 font size: large and small subscriptions
Determines whether the specified object is null, including most cases, such as empty arrays, empty strings, empty,
To publish an ASP. net mvc project, you must modify copy local in project references.
Test environment:
Window Server 2008 +. Net 4.0 + iis7 + SQL Server 2008
Problem:
After the compiled release package is imported to iis7, cannot load
12 ASP. net mvc Best Practices
M
Domainmodel! = Viewmodel
Use actionfilters for "shared" Data
V
Do never user code-behind
Write HTML each time you can
If there is an IF, write an htmlhelper
Choose your view engine carefully
C
Delete the
These two days, I have been familiar with the data structure and business logic of the company's website front-end and back-end. I have seen a folder named "base" in many projects, which contains a series of folders with "****. generated. CS files
I. Improve the efficiency of using the request set
Accessing an ASP set to extract a value is a time-consuming and computing resource-consuming process. This operation contains a series of searches for related sets, which is much slower than
Aforementioned:1.
File to be paged: A. asp-------- Call the pagination function in page_turn.asp in this file:
2.Page_turn.asp-------- Here is a display function with parameters: private sub select_page (page_num, total). These two parameters are
【Abstract]
FTP, email, and "Network neighbors" are commonly used for file data transmission to a certain extent, but they are mainly for "point-to-point" transmission, it is impossible to meet the application requirements of "One space, Resource
ASP 0104: 80004005
Win2003 asp upload size limit
Solve the ASP Component-less upload error: the request object error 'asp 0104: 66661' is not allowed to operate-80004005 Server
Symptoms:When uploading files to Windows 2003 Server + IIS 6.0
This article only represents the author's personal point of view. If it is correct, please study it on your own!
Preparations before reading this article
Before reading this article, you need to understand the following knowledge. Otherwise, you may
In a project, you often need to map the following to http://onewww.net/a.aspx? Name = llinzzi
Map to http://onewww.net/llinzzi
First, we need to solve two problems.
The first is to support wildcard ing.
URL ing is a new feature in ASP. net2.0 and
1. Use Page. ispostback to reduce the number of page replies2. Avoid using server controls. If server controls are used and some controls do not need to maintain their statuses, you can set their attributes to enableviewstate = false;If the status
1. Difference Between get and post
Get explicitly transmits parameters through URL, and the parameter transfer length is limited.
Implicit post transfer, which can transmit large data volumes
2. A form can only submit values of input, select, and
I. Thinking
I previously read a blog article [ASP. NET MVC] About list control binding written by artech, which greatly benefited from simplifying the binding of "list control" Through htmlhelper extension.
However, we often encounter some problems
Key Points of running ASP. NET on Apache 1. Why not use IIS
When I use Asp.net to develop web pages, selecting IIS for servers is definitely the best web page deployment solution. It seems nonsense to say this, because they are all Microsoft's own
The Ajax method is used to write JavaScript scripts to pages in the post code (. CS file,
Although response. Write (""); you can also write script code to the page,
However, the content output by the script is mostly at the top of the page. You can
I have been entangled in this problem for several days. Although I haven't fully understood it, I just made some progress. I will record it. If you have any detailed answers, please don't hesitate to give me some advice.
Opening part:Those familiar
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