At the same time as starting your own system, you always want to make the system more flexible, so that others can be easily involved. This requires a complete plug-in system, today, I am going to write an article in the plug-in framework series,
1. ASP. NET attributes:Get Server computer name: Page. Server. ManchineNameGet User information: Page. UserObtain the client computer name: Page. Request. UserHostNameObtain the Client IP Address: Page. Request. UserHostAddress
2. Network
This problem occurs when the table is deleted in cascade mode. An error occurs when a primary key information is deleted. Because there are foreign key information, a trigger is used to delete all the information. create trigger trigCategoryDelete (
Exception information: failed to retrieve components whose CLSID is {00024500-0000-0000-C000-000000000046} in the COM class factory because of the following error: 8000401a.
Note:
Because the exported Excel template is too complex, you can use the
I. Problem description:
Recently, a specific request (. report) for response interfaces, of course, IHttpHandler is implemented for processing. To implement the IHttpHandler interface, you must implement the two methods: ProcessRequest (HttpContext
The previous article complained about the design of ASP. NET FormsAuthentication and the design of HttpContext.
If the ASP. NET program runs in IIS integration mode, in Application_Start () of Global. asax, you only need to access Context. Request,
This period of time has been busy with projects, consisting of several layers of DAL + WCF + WinForm. MySQL + MySQL. Data. dll Driver used by the database. However, the following errors are often encountered during use:An error occurred while
Recently, I want to create a project: music player. General UI:
Click the "X" icon on the right to delete the selected song. Because the real interface code is copied, And the predecessors use concatenated strings, and then bound to the page. The
Net supports the reflection function, it really makes our Net program shine, it is amazing, just need to input strings to complete the function. it can be said that the introduction of the reflection function makes us more comfortable in dealing
Differences between Application objects and Session objects
The Application object is multi-session, multi-page
The Session object is a single Session, multi-page
The value stored in the Session object can be accessed throughout the user
. Net database access technology
Database Access Technologies in windows include ODBC (Open Database Connection), DAO (Data Access Object), RDO (Remote Data Object), JDBC (java database connection ), ole db (Object link embedded database), ADO
Template Method mode:
Defines the skeleton of an algorithm in an operation, and delays some steps to the subclass. The Template Method allows the subclass to redefine certain steps of an algorithm without changing the structure of an algorithm.
I remember the interviewer asked me this question during an interview: "Let's talk about your understanding of viewstate ."
My answer at the time was: "I rarely use viewstate. In general, I choose to disable viewstate"
I don't know if I am
1. Summary
During program Development, we usually test in Visual Studio. By default, we use Visual Studio Development Server (Cassini). This makes Development and testing easier, however, it may not work properly on IIS. Therefore, the result may be
When using. net to develop desktop applications, client deployment is the biggest headache for the majority of users. Based on. net 2.0 winfrom program because the distribution package size of the Framework is about 20 mb, unfortunately, if the
In the previous article, we introduced the Filter types of asp.net MVC and the call time point. today, let's take a look at the call details of ActionFilter/ResultFilter and the amazing code implementation in the source code. first, we can see
Problem
When sorting and paging are not enough to help users find the results they want, another way to help users find the results they want is to filter according to special rules.
Solution
New links can be added to allow filtering by conditions
After writing so many articles, I believe that readers should have a certain understanding of dynamic controls. The following describes the forms commonly used by enterprises by dynamically generating controls.
At present, the use of dynamic
Topic: MVC Mode
1. History of MVC: The concept of MVC (model-view-controller) was used in 1970s. MVC was proposed from the Smalltalk project. Therefore, the original MVC pattern contains very good details that are closely related to the specific
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