Do one thing before graduation

Since entering the blog garden page through Baidu search, I have been paying attention toArticleTo learn about various programming technologies, I have gained a lot of insights and benefited a lot, but I have never had time to write my own blog. My

TCP connection and Firewall

Generally, our TCP server is placed behind one or more firewalls in the IDC, And the TCP connection between the client and the server passes through the firewall, as shown in:In this case, note that when the TCP connection between firewall and the

The plan for a's meal failed again today :(

My colleagues in the Department said they would go to the manager's house today and check out his son (born on the 15th). I haven't had a good rest these days. I was planning to take a nap. As a result, I slept, let's say we went there at. We got up

Notes for improving database query speed

Avoid using pseudo columns (that is, *), for example: Select * from [tablename] Create a clustered index for the connection Field The "minimal query" principle is recommended, that is, only necessary data is returned. Perform index

A Simple Method for restoring a Database Based on backup files

Recently, I want to review a previous project and find a database file, It is a database backed up on SQL2000. I don't know the suffix, Therefore, after being renamed to XYZ. MDF on sql2005, the attached database fails; Rename it to XYZ. Bak, and

Some principles for improving. Net Program Performance

1. Throw as few exceptions as possibleThrow new system. Exception (.); Throwing an exception seriously affects performance.(A) for ASP. NET,Response. Redirect (...) Will throwThreadabortAnd the method will return two times between the client and the

Use one of the AOP traps

A project at hand used spring .net's AOP to handle program exceptions, and accidentally fell into the trap. It was recorded here, hoping to help later. Spring. Net's AOP implementation is achieved by creating a dynamic AOP proxy at runtime. A simple

Cross-assembly reflection

This situation is often encountered during development. In A. dll, the type in B. DLL needs to be reflected. If you do not pay attention to it, a runtime error will occur. For cross-assembly reflection, remember the following two points: (1) If

Use emptyclass to avoid condition Determination

This problem is often encountered after you get used to interface-based programming. For example, component B needs to use the component that implements the IA interface, however, without component A, component B can also work normally, like this:

You may need sessionquicker to use Nhibernate.

There is no doubt that nhib.pdf is powerful. However, it is complicated to use in many places. For example, we cannot build a complete data layer, and we often need to bypass nhib.pdf to directly use ado.net. For example, any data access, even for

Undo and undo Functions

You must always see icons similar to the following: They indicate "undo" and "undo ". In programs, this function is usually implemented in command mode, and this article is no exception. First, the command is abstracted and the icommand interface:

Bindingflags. ignorecase is used in reflection.

We often need to call the method of the target object through reflection or get/set the attribute of the target object. The type. invokemember method signature is as follows: Public object invokemember (string name, bindingflags invokeattr, binder,

Release remoting through spring.net

The spring. Services Program provides support for remoting. Using spring.net can easily publish and use the remoting service. 1. remoting Publishing (server)(1) first, register the channel in the config file: (2) configure and release the remoting

Is the dragdrop event not triggered in win7?

Compared with the old XP and win2003, win7 has stricter security control. For example, when we log on to XP or win2003 as administrator, all programs are started as administrators. However, when you log on to win7 as administrator, normal programs

How can I break through the. NET memory limit?

One of our current. NET applications requires about 2 GB of memory. When we put this program on a server with 4 GB memory for running, an outofmemory exception will be thrown. To find out the cause of the exception, I wrote a test program for

Dcframework dynamic distributed computing framework (01) -- infrastructure

The dcframwork framework consists of four core dll: dcframework. dll, dcframework. master. dll, dcframework. Worker. dll, and dcframework. Client. dll. We can see that the other three DLL libraries depend on the most basic dcframework. dll. These

Convert the wor file of MapInfo to the GST file of Mapx

Wor files have been created with great care, including adjusting the annotation icons, fonts, and visual ranges of each layer. Initially satisfied. Just run the program to create the GST file. Based on previous experience, we opened geoset manager

ArcGIS Automatic Image Registration Tool

  Batch display of ArcGIS image raster formats (*. IMG ;*. sid ;*. JPG ;*. JPEG ;*. BMP ;*. TIF ;*. GIF ;*. EMF ;*. WMF ;*. PNG, etc.) registration. Two registration methods are available: 1. Vector Data: Uses vector data to automatically register

What is ignorance-Lang Xianping

When I was doing research, I found some strange phenomena, that is, when decision makers in many cases make decisions, the mistakes are often hard to be understood by normal people, but the decision makers have no hesitation.Looking deeper, these

Classic joke set 1

1. One day James put plaster on his hand,The teacher asked: What's wrong with your hand?James said: disconnected.The teacher said: Why?James said: I am too lazy.The teacher said: Will a lazy hand be disconnected?James said: I am on the road and my

Total Pages: 64722 1 .... 55688 55689 55690 55691 55692 .... 64722 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.