[Download source code]Back to the original asp.net mvc series Article Index
Author: webabcd
IntroductionBack to the original asp.net mvc series Article index: add, query, update and delete Demo, routing (System. web. routing), Controller/Action,
I have been playing with. Net 3.5 this day. I found a question: Why can't I see ASP. NET 3.5 in IIS ?! In the past, when there was an ASP net_regiis.exe upload row in. NET 2.0, it was not visible in. NET 3.5 !!
Later, I realized that ASP. NET 3.5 is
The Web API framework is an Http-oriented communication framework. Compared with WCF, Web API is only designed for Http protocol, and does not have to be as complicated as WCF configuration. Web API development is similar to ASP. net mvc controller
Every time we create a database-driven personalized web site, we must protect user data. Although hackers can steal personal passwords, the more serious problem is that they can steal the entire database and then immediately use all the
Because of the problem two weeks ago, you can open a previous project without razor. However, a razor website of asp.net mvc3 still cannot load projects. The reason is that Microsoft ASP. net mvc 4-Visual Studio 2010 Tools cannot be installed,
Session Introduction and features
--------------------------------------------------------------------------------
1. Session is one of the common states in Web sessions.
2. Session provides a way to store information in the server memory. It can
CheckCode. cs
Copy codeThe Code is as follows: using System;
Using System. Data;
Using System. Configuration;
Using System. Web;
Using System. Web. Security;
Using System. Web. UI;
Using System. Web. UI. WebControls;
Using System. Web. UI.
If you are using Windows 7, we recommend that you read the demo: Install IIS7 in Windows 7 to enable ASP + Access environment.
Install IIS 5.1
1. Download IIS 5.1 (winxp sp3 IIS 5.1)
2. open Control Panel> add or delete programs, click Add/delete
Request. params is actually a set of requests. querystring, request. form, request. cookies, and request. servervariables.
If you want to transmit data on two pages, you can only use request. querystring, request. form, and request. cookies.
1. ClientIDModeRendering ASP. NET controls automatically generate an ID. When we reference them in client scripts, it creates a lot of trouble. Although it is a simple series of named containers and IDs, however, the range of IDS generated cannot be
More and more scenarios are using JSON in website applications. This article introduces ASP. net json serialization and deserialization, mainly a brief introduction to JSON, ASP.. NET how to serialize and deserialize the processing of date, set, and
1. Set IIS 301Internet Information Service Manager-> virtual directory-> redirect to URL, enter the target URL to be redirected, and select "permanent resource redirection ".In IIS, you can also install the ISAPI Rewrite component to implement the
It takes several months for Johnny to change to Windows 7, but the system was reinstalled a few days ago and Windows 7 is still used, the error is as follows:
The request is unavailable in this context
Note: An unhandled exception occurs during the
There are 381085 pieces of pure IP data. You can decompress the data into text format by downloading the query software and change the encoding to UTF8. Otherwise, Chinese characters will be garbled in the program!
The following code analyzes IP
There are three main error types:
1. Compilation error:
This error is generally caused by the syntax of the Code. The ASP program stops running due to a compilation error.
2. Running error:
This error occurs when you are preparing to run ASP.
The js Code is as follows:
Copy codeThe Code is as follows:
The page ASPX code is as follows:Copy codeThe Code is as follows: No title page Create a new folderSearch for new foldersDelete this folderDelete allFile SortingNameCreation
It won't be used after downloading, and similar methods cannot be found on the Internet. This problem may not have been encountered. After one night of research demo and colleagues, I finally figured out how to use it. I would like to summarize it
Add "path = expiration time" to the js method to solve this problem.
Example: // write cookiesCopy codeThe Code is as follows: function setCookie (name, value){Document. cookie = name "=" escape (value) "; path =/"; // The cookie is disabled.}
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