Because the computer is used by my wife and I only have one netbook, it is too hard to install. Sharpdevelop is a good choice, but there is a problem, Asp.netProgramRunning and debugging during development is a problem and always needs to be mounted
There are too many reading records in the database table. If your SQL statement is not optimized and the machine access speed is too slow, this problem will occur. Optimize the SQL statement and use the stored procedure to solve the problem.I hope
ASPProgramAccess Database: access to a foreign space error message: Selected collating sequence not supported by the operating systemThis is caused by the English Operating System of the server. The solution is as follows:
The "Selected
In the earlier few articles, I made a summary of the asynchronous method call. You can clickThis link To access the details.
So if you read the articles above, you will know we have always ways to achieve today's topic. otherwise, in this article I
When you start debugging with visual studio2008, the following error occurs:
Refreshing Web site for Asp.net failed you must manually configure this site .....
When browsing web pages in IE:
An error occurred while accessing the IIS metadatabase.
Everyone knows that ASP. net2.0 provides the new webresource. axd feature, which allows page and control developers to referenceProgramEmbedded Resources in the set. In this way, you do not need to release the images, JavaScript, CSS, and other
1. database access performance optimization
Database Connection and Shutdown
To access database resources, you need to create a connection, open a connection, and close the connection. These processes need to exchange information with the
First MethodPlace conn. asp in the INC folder in the root directory.Only one conn. asp is required globally.
The database path in conn. asp must be relative to the site root path
For example
DB = "/DB/aslfqonlasnxvkzyvq. mdb"Strcon = "provider =
This example is an example recommended by the official Asp.net MVC website http://www.asp.net/mvc. it is also a project on codeplex.Link: http://mvcmusicstore.codeplex.com/releases/view/44445#DownloadId=119336
The compressed package includes:1.
By default you don't need to use neither[Serializble]Nor[DataContract]To work with web API.
ASP. NET Web APIs are not required by default.[Serializble]Or[Datacontract] Mark
Just leave your model as is, and web API wocould serialize all the public
We are. in the development process of the net program, it is often necessary to interact with the user, for example, whether a certain operation is successful, "OK" or "cancel ", and whether to jump to a page after "OK" or "cancel" is selected. The
I. Thinking
I previously read a blog article [ASP. NET MVC] About list control binding written by artech, which greatly benefited from simplifying the binding of "list control" Through htmlhelper extension.
However, we often encounter some problems
C # obtain detailed object remarks
References shell32.dll in the project; (the file can be copied from the c: \ windows \ system32 \ directory and automatically recognized as InterOP. shell32 after being referenced)
Using system. IO;Using
Using the WebClient class and webrequest class provided by the. NET Framework, we can easily obtain the source code of the given URL address. The following is a complete example of C.
View examples
Getpagehtml. aspx
Autoeventwireup = "false"
1. How to access the C # function in JavaScript?2. How to access the C # variable in JavaScript?3. How to access existing JavaScript variables in C?4. How to access JavaScript Functions in C?The answer to question 1 is as follows:Execute functions
Language: English
How to speed up your ASP. NET pages?
You can improve your ASP. NET application performance using:
1. Use Page. ispostback
2. Use SQL Server Stored Procedures for data access
3. The httpserverutility. Transfer Method
4. Save view
Because the company's products need to consider some new deployment methods in the new version, so I took the time to pay attention to some cross-platform. Net solutions. Although the Mono Project is no stranger to people developed based on. NET,
Statement: msdn standard documentation, favorite, easy to see http://msdn.microsoft.com/zh-cn/library/ee532866.aspxASP.NET 4 3 (a total of 3) evaluation of this article is helpful to evaluate this topic
. NET framework 4
The topics in this section
Recently, when I was using the mvc4 development project, I suddenly encountered a strange bug, that is, when I used the validate. js built-in mvc4 to verify datetime, I always reported an error (for example ).
After repeated tests, I found the
Now the project is handled in this way. If you guys have a better way, share it with me.
Exception Handling:
Here I write a Global Capture exception to catch some exceptions we missed.
Generally, 500 and 400 are customized.
Write in Web. config as
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.