When the defined style contains Chinese characters, such. sometyle {font-family: @ ;}. If the writing is incorrect, as shown in. sometyle {font-family: ;}, this should be an incorrect way of writing. In this way, not only does this style not work,
Analyzer error message: in Application
ProgramThe Section registered as allowdefinition = 'machinetoapplication' is incorrect. This error may occur because the virtual directory is not configured as an application in IIS.
Solution: the virtual
The cache mechanism provided by ASP. NET plays a vital role in improving the page performance. On the other hand, the use of the cache will also cause information update delay. It is sometimes difficult to quickly update cache data.
Program Staff
I recently used two tools, FFMPEG and mencoder, to create a video playing system. I checked some materials and found that there were a lot of materials, but it was a bit messy, I sorted it out from the beginning and shared it with you:
1. FFMPEG
Make a cache cleanup function on the website (that is, force cache expiration before the cache expires), and use httpruntime in some places in the program. cache, while the interaction with the database uses the cache mechanism provided by
1. Internal keywords
Solution:Internal keywords are access modifiers for type and type members. Internal types or members are accessible only in files of the same assembly.
2. Several Methods for passing values between ASP. NET pages
Solution:1.
I also searched in the garden. thinhunan wrote a series, "do you write controls today?", which is quite good. However, I made up my mind to write this series of articles to complete a complete series of component and control.Some friends told me
Simple data binding
The data binding expression is the executable code of the package, prefixed. It can be managed programmatically through databoundliteralcontrol instances.
The data binding expression usually obtains data from the data source,
In ASP. net mvc, when redirectmode = "responserewrite", the controller cannot be used to set specific error pages.
I made the following settings:(1) web. config:
(2) errorcontroller. CS:Public actionresult error (string errorcode){Viewdata
I. frontend call background
1. the foreground calls the background variable (Note: The array variables cannot be obtained. You need to convert the separator into a string variable in the background, and then process the variable in the foreground
The stringtempletreplet. dll component updates some algorithms. It mainly depends on the values in the static variables in the memory.
Without changing the template. Cache template, cache delegate, cache tag parsing data. However, this will consume
[Getting started with ASP. NET] Method of attracting stars-- Page oo ideas
The internal force measures the martial arts of a person, and the neighborhood of the Xiaoyao school is really a baby. The person who learns this skill is like a black hole.
One drawback of this method is that the attribute of entity must correspond to the column name to be output (for example, Chinese characters) before calling this method...
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://
Run on Apache. net is an amazing idea, and then I found it online. It does support it. I downloaded it and used it. There are some small bugs, for example, to write multiple cookies, only the last cookie is successfully written. If you want to use
When using Asp.net to write WebService, session is not supported by default, but we canEnablesessionSet the option to true to enable it explicitly. See the following example:
1. Create a website
2. Create a Web Service WebService. asmx. It has the
When developing a web application, we often need to parse each segment of the request. url and make some judgments. For example, "http: // localhost: 1897/news/press/content. aspx/123? Id = 1 # TOC", We want to get the name of the first category in
Format description
Name
Description
D
Short date mode
Displays
The pattern defined by the datetimeformatinfo. shortdatepattern attribute or the pattern defined by the provider in the specified format.
D
Long date
ASP. NET "Abort thread" error cause, assignment, call, increment, decrement, and new object expressions can
Error 1: Only assignment, call, increment, decrement, and new object expressions can be used as statements.Solution: The method must be
Deploy a three-tier architecture with ASP. NET
ASP. NET can use the. NET platform to quickly and conveniently deploy a three-tier architecture. The revolutionary change in ASP. NET is that event-based processing is also used on the webpage. You can
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