ASP. NET web form and MVC

I read an article on comparison between web form and MVC in my blog. I also wrote two sentences. From a technical perspective, MVC should be the best choice for server-side solutions (Here we emphasize the server-side solutions to distinguish them

Asp.net 2.0 transaction problems

"ProgramIt can run normally if it is on the same machine as database sub-a, but if it moves the program to another machine sub-B and the database is connected to database A, the database statements cannot be operated ." I. a. Do not use

The Asp.net website is set up on the iis5.0 server and cannot be accessed by the LAN.

After XP is installed with iis5.0 and the Asp.net website is set up, the LAN cannot be accessed because the firewall intercepts the website, Open the firewall and add the custom port of the trusted website in the "exceptions" option. If you

Difficulties in datagrid paging processing in ASP. NET

In ASP. NET, The DataGrid is paged first. There are two main methods: 1) reextract data from the database on each page and bind the data Advantage: less data is returned each time. Disadvantage: the number of accesses to the database is too large,

Errors Occurred in navigation controls Treeview and menu of Asp.net 2.0 on the VM.

After deploying a website to a VM over the past few days, we found that all the Treeview and menu controls had problems. I thought I didn't add the aspnet_client to the wwwroot directory. I contacted the service provider to help me add it. the

ASP. net1.1 and 2.0 how to introduce magicajax (reproduced from the http://hi.baidu.com/zzticzh)

 How to Use magicajax Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Magicajax introduction and how to configure magicajax (. NET Framework 1.1) In the hot days of Web2.0, Ajax became a trend. The

ASP. NET uses JSON (. net3.5, C #)

. NET Framework 3.5 has built-in support for JSON, which can be directly used.I. PreparationFirst, reference: system. servicemodel. Web. dll, system. runtime. serialization. dll.Then in using using System.Runtime.Serialization;  

Asp.net solution to session loss caused by Folder deletion

The simplest way is not to use the default method, that isInproc (default, In-process session status): sessions are stored in IIS processes (Web server memory ). If you are using Windows 2000 Server or Windows XP, iisuses the aspnet_wp.exe process.

[ASP. NET custom error page]

Determine error page error.html The error page can avoid leakage when the program throws an exception, which may lead to security problems. It only gives users the opportunity to view the error page, and will automatically jump to the homepage in 5

Use htmltable to dynamically create tables in ASP. NET

ASP. NET 2.0 file 1: deafault. aspx htmltable demonstration htmltable instance demonstration Input number of table rows: input table cell: file 2: deafault. aspx. csusing system; using system. data; using system.

ASP. NET-use socket to send and receive messages [reprint]

Document directory Technical Points Work with me Use SOCKET to send and receive messages In ASP. NET applications, messages can be sent and received through socket. Messages can be text content, files, or other types of data. This example

ASP. NET-Dynamic Graph Creation

The graph creation function of VS is really powerful!Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->System. Drawing. Image IMG = system. Drawing. image. fromfile ("model.jpg "); Graphics G =

ASP. net2.0: bind data to a common control through sqldatasource

Some new data controls in ASP. NET 2.0, such as gridview, detailsview, and formview, can be added, modified, or deleted directly after they are bound to sqldatasource without coding. That is to say, these controls call the method corresponding to

ASP. net2.0 displays the files stored in database fields

In Web applications, files stored in fields are sometimes required to be displayed. These files are stored in the database as blob. The display is pushed to the client browser. The following is the sample code. The table name is attachments, And the

ASP. net2.0: formsauthenticationacrossdomains

Keywords: Single Sign-On, billing SS applications, billing SS domains. Objective: To implement unified permission authentication for www.domain.com, sub1.domain.com, sub2.domain.com..., that is, single sign-on. Note that each address corresponds to

Asp.net 2.0 viewstate principle (original)

Viewstate is always used by everyone. What is viewstate and how many people know it? I don't need to say much about the statebag class. In Asp.net 2.0, statebag is used in the following types:1 control. _ viewstate this is the viewstate used by

ASP. NET error handling method (Summary)

ASP. NET error handling methods (Collation & summary)Research on http://wrfwjn.blog.hexun.com/4172839_d.htmlSummary:To create a global handler on the page, create a handler for the page_error event. To create an error handler within the application

Output Data to excel in ASP. NET

When developing the ISO file management system, I have encountered the need to export aspx directly to excel. Now I will share my experience with you. In fact, it is easy to use ASP. NET to output documents of the Word, Excel, txt, htm, and other

Asp.net Performance Tuning

Because the Asp.net processing process is in the machine. the configuration in the config configuration file is , which means that the performance parameters used by your Asp.net application depend on machine. config.The following parameters are

Write unit test (viewstate) for Asp.net controls)

Generally, a typical Asp.net control stores at least some attributes with viewstate, so that you do not need to reset the attributes after page PostBack. In this article, I will introduce how to write unit tests for controls to ensure that an

Total Pages: 1800 1 .... 1114 1115 1116 1117 1118 .... 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.