DebuggingProgramIt's a headache, but it's really hard to find a clue. Let's summarize it below for future use:
1. Add debugging information in Web. config.
In web. configFind
Add
Make sure you can see the error content on any client.
2.
The website Compilation speed is fast, and the incremental compilation mode is used. This part will be incrementally compiled only after the file is modified.
● GeneratedProgramSet Website: generate a random set name. You must use the plug-in
handelr: jsontest. ashx
Using system; using system. collections. generic; using system. web; using system. web. script. serialization; namespace mejsontest { class itemjsontest { Public int ID {Get; set ;} Public String tname {Get; Set ;}}
In NET 2.0, there is a new nullable type, which can be used to assign null values to the basic value type, suchInt z = 3; // correctInt? K = 3; // a value type that can be empty (empty for short)Int M = NULL; // ErrorInt? J = NULL; // successFrom
1. transmitfile to solve the problem that the aspnet_wp.exe process cannot be successfully downloaded when response. binarywrite downloads a file larger than MB.
String filename = "Planning Information Data Warehouse field description .doc"; // file
Use a group of name-value pairs to configure the link pool as a link string. For example, you can configure whether the pool is valid (which is valid by default). The maximum and minimum capacity of the pool is used for the time when the queued
1. user permission design (2)-user authentication management design scheme
7.
2.ASP. NET system user permission Design and Implementation
3.User Role permission design in Asp.net
4. Lightweight Implementation of permission Design
From: http://blog.163.com/dingpeng_2002/blog/static/18074646201021710530174/ hereby thanks
Function vbsescape (STR)Dim I, S, C,S = ""For I = 1 to Len (STR)C = mid (STR, I, 1)A = ASCW (c)If (A> = 48 and A = 65 and A = 97 and A S = S & CElseif instr
From: http://hi.baidu.com/yufeng0103/blog/item/b5dc3225f8c43c6d35a80f41.htmlASP. net2.0 adds the Web. config direct operation function. During development, you may need to set the configuration file in Web. config. In fact, you can set these
In the program, you need to use progress bars to intuitively reflect the progress of command execution. However, Asp.net does not have any special progress bar controls. I searched the internet and found that the implementation methods are
In Asp.net, you can use the cache method to optimize your display, or dynamically generate static data. There are many methods available.
First, we will talk about the Asp.net cache method.Caching is a way to achieve "good enough" performance
20 useful examples in ASP Programming
1. How to use ASP to determine the virtual physical path of your website
A: Use the mappath method.
The physical path to this virtual website is:
2. How do I know the browser used by the user?
A: Use
There are not many classes involved in drawing images. If you want to draw images, especially those dynamically changing data sources, controlling the coordinates is critical.
This demo uses the Oracle database as the Data source:
Create Table
Recently, in the development process, I want to use the Asp.net status management mechanism to save some data. However, due to improper understanding of the data, many errors are caused.I have read some documents and summarized them. I hope to
Today, when a colleague "published" his own web application, he copied all the project (including all source code), which was very different. He explained it to her for a long time, but it was fruitless ~
It is reasonable to say that this release
Demo is simple to implement the cache mechanism in ASP. net2.0:
Note: cache dependency on databases. Net currently does not support Oracle databases (for methods, refer to the Post article)
Public partial class _ default: system. Web. UI. Page
{
[From a instructor's Q &]
The following describes how to learn web development:
Phase I
C # basic syntax + ASP. NET basic controls + database. In addition, you must learn DHTML and CSS to lay the foundation for web page layout and Ajax in the future.
Yesterday I encountered a problem, that is, using window. add a hyperconnection to the open window. When you click this connection, you need to jump the content of the parent window to another page. This problem is finally solved later. Now I want
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.