Honestly, there is nothing to write in this chapter, and many of them are practical.
Debugging method
You can use Debug. WriteLine () and Trace. WriteLine () to input debugging information to the output window in the form. However, you have never
Today, I am so sad that the company that I desire has called for an interview and asked me two questions. I did not answer the questions. I am so sad that I recorded my failure today, we hope that you will not PASS the same question in the future.
Quick sorting
The most efficient sorting algorithm.
It adopts the idea of divide and conquer: first ensure that the first half of the list is smaller than the second half, and then sort the first half and the second half separately, so that the
Original article: http://kb.cnblogs.com/page/100968/
1. simple use of Log4Net
To use Log4net, you must introduce the log4net. dll file. Because log4net is open-source, you can directly add the source code to the project. Then generate a new dll
Today, we can see that the requirement is to display a pdf file on the page. After a long time, there is no effect, and sometimes there are various incompatible effects, which are quite speechless. After a long time, I couldn't help it. I went to
1. First, reference log4net. dll in the project, and then add a configuration file log4net. config in the project.
2. add a sentence to AssemblyInfo. cs in the Properties folder of the project.
Of course, you must first add using
Access_token is required for custom menu creation. We use the IsExistAccess_Token () function described above. In my understanding, the menus in the public platform are divided into buttons and sub_buttons, that is, menus and submenus. These menus
All you need to do is to simplify the msmq call code and make it replaceable. After implementation, the call message queue code becomes as follows:
QueueService srv =srv.Preparesrv.Send( DTO1() { p1=, p2= msgId=srv.Send( DTO1() { p1 = , p2 = DTO1
1. Read
It seems that there are several ways to read data: Using ADO.net, using Microsoft. Interop. Excel to support the class library to read data by calling COM, and finally reading the DOM through ZIP extraction (this seems quite complicated)Here
When we got nhib.pdf today, we suddenly reported an exception caused by the Type Initial Value of "nhib.pdf. Cfg. Configuration ." .
Detailed exception information "System. IO. FileLoadException" exceptions occur in WebApplication1.dll, but are not
The WebService method is called on the client to process the business process. If the business processing program returns an error, we can generally return the processing result to the customer segment by returning the error code, the customer
As a new company is getting started with MVC and other things. So I picked up a lot of things again.
Some time ago, I was asked to write a method for connecting to a third-party company push. Push the data post through the URL provided by the other
Now I am studying big data. Recently I am lucky enough to have a little access to big data, Cassandra & solr. Today we take a look at the establishment of the Solr environment, first go to the apache solr official website to download the latest Solr-
In the previous project, when using the System. Threading. Timer object, there was no problem where IIS released the Timer object. To tell the truth, I have never encountered this problem before, that is to say, the timer object I defined previously
Today, let's look at the query in Text mode. The so-called Text mode means that SQL only contains Text and has no parameters. Of course, this query SQL can be select or update. The basic process is as follows:
Client Server |
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