ASP. NET code hiding Mechanism

1. Before ASP. NET 2.0, CodeThe page and display layer are mainly associated by class inheritance, but the problem is caused by inheritance. Because inheritance is unidirectional, so to use the variables declared by one class in another class, you

Introduction to solutions implemented by CAPTCHA in Asp.net

Implement CAPTCHA in Asp.netArticleThere are already many online solutions that are mature:  1. An open-source control written in VB: Http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx  2. Implement the CAPTCHA control in CSHARP.

N methods of pop-up message boxes on the Web in ASP. NET (for future convenience, I have transferred many articles from netizens! Hope you don't mind)

N methods of pop-up message boxes on the Web in ASP. NET Go to another page after the first confirmation, and return to the previous page after the second confirmation.Response. Write (" ");Response. Write (" ");Bytes -------------------------------

What are the differences between ASP. NET application, session, Cookie, viewstate, cache, and other variables?

Application is public and can be seen by all people, so it can be used for chatting rooms, The session is private. Each client has a different session. The lifetime is normal for 20 minutes. You can set it to 1 minute or 2 hours. A cookie is a

What are the authentication methods of Asp.net?

Windows AuthenticationProgramProvides authentication for Windows and Microsoft Internet Information Service (IIS)Used in combination to ensure the security of ASP. NET applications. Forms authentication providerProvides information about how to use

Description corresponding to ASP Err. Number

  Description corresponding to asp Err. Number Number: 1Description: application definition error or object definition error.Number: 2Description: application definition error or object definition error.Number: 3Description: The error code is out

How to: Set up a regional and UI culture for ASP. NET web page globalization (msdn)

On the ASP. NET webpage, you can set two regional values, namely, the Culture and UICulture attributes.CultureDetermines the result of the function related to the region, such as the date, number, and currency format.UICultureDetermines which

ASP. NET happy website series-Ingenious encryption of customer's unique link in the content of e-journals (Enewsletter)

The title is a bit difficult. Please forgive me. Here I will explain... Background: The company often sends some Enewsletter, which contains some specific links. When a user clicks the link in the email, the customer will be taken to different pages

Asp.net mvc-related open-source projects

Asp.net mvc ctp version was released less than a month ago. Many excellent open-source projects appeared in the community, and the community was very active, some time ago, MVC and WebForm discussions were triggered in the garden. Now we recommend

ASP. NET Page Life Cycle

Normal page lifecycle stage: Generally, the lifecycle of a common page goes through the following stages. The application phase occurs both before and after. For more information, see application lifecycle. 1. Page request Description: a page

Run asp. net2.0 program environment configuration in vista home

I. IIS7.0 Server Configuration Step 1: confirm that "IIS metadatabase and IIS6 configuration compatibility" has been installed and started-> Control Panel-> Program-> enable or disable Windows function-> Step 2: choose site control panel> system

Cookie sharing between asp and asp.net

Sessions between asp and asp.net cannot be shared. Solution: You can use a database or WebService, but this is troublesome. Cookie sharing is much simpler.The cookies of asp and asp. ne are stored in different encoding formats and can be converted

Asp.net export Excel settings format

From: http://hi.baidu.com/%B0%D9%C9% AB %BB%A8%CC%EF/blog/item/077a83b184ce03acd8335a47.html Add reference: Microsoft Excel 11.0 Object Library; Add: using Microsoft. Office. Interop. Excel; 1. Open an Excel file

Some details that ASP. NET often ignores

Address: http://www.cnblogs.com/fish-li/archive/2013/05/28/3104750.html Reading directory Start HttpContext. Current is not everywhere Application_Start exception and IIS Classic Mode QueryString and Form allow duplicate keys Ashx Reuse

[Original] dynamic parsing of user controls in ASP. net mvc Controllers

Currently, the project requires page adjustment by module.. net mvc user control is implemented to split the page into multiple modules. Each module is a user control. You can drag and drop the module to adjust the page layout and save it as

Asp.net obtains the Client IP Address

Author: Jedi Wolf Recently, 54 taoke netizens asked me how to obtain the Client IP address from asp.net, and how to determine whether asp.net is an IP address. Here I will share with you the frequently used methods for obtaining client IP addresses

After the textbox of the server control in asp.net is set as a read-only property, the value assigned to it by javascript cannot be obtained.

When ReadOnly = "True" is set for TextBox on the page, values cannot be assigned to the background code. The following methods can be avoided: 1. If ReadOnly is not set, set onfocus = this. blur ()C # code The Text box remains gray, but the

ASP. NET code for writing and reading IMAGE fields in MSSQL

Today, I met a project on an enterprise website. The customer asked the product data table in the system to use the database in their company's ERP, the product images can also be changed (the ERP product images are stored in the IMAGE field). If

Asp. NET pop-up window Summary (essence, Qilin creative ideas)

Note:// Close. The parent window dialog box is displayed, and the Child window is closed directly. This. Response. Write (" "); // Close. The parent window and Child Window are not displayed. Close them directly. This. Response. Write (" "); // In

ASP. NET intermediate learning 3

Registration exercise: Verification code generation: Public void ProcessRequest (HttpContext context) { String str = ""; Random r = new Random (); For (int I = 0; I { Int j = r. Next (10 ); Str = str + j; } Context. Session ["YanZheng"] =

Total Pages: 1800 1 .... 1129 1130 1131 1132 1133 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.