Today, I tried to install a WSS Website Based on ASP. net2.0.
Install sps2003 step by step until the installation is successful and the database and application are configured
ProgramPool. Install wss2003sp2-kb887624-fullfile-chs.exe. The
Methods for connecting to databases in ASP
Five connections in ASPDatabaseMethod
First-this method is most used in access
Strconn = "driver = Microsoft Access Driver (*. mdb); DBQ =" & server. mappath ("aspfree. mdb ")
Set conn = server.
ASP object structure
We have learned the basic application of ASP before. Now we need to systematically understand the object structure of ASP. Then, we can draw a line from each other without having to explain every example too much. This part
ASP and form work together
Last time we said that ASP aims to allow page interaction with users. How can we get user information? Of course, we use form, whether it is CGI, IDC, Java, or other technologies, to allow the browser users to input
Two pages
Code As follows:
Page. aspx (parent form)
Html
>
Body
>
Script Language
=
"
C #
"
Runat
=
"
Server
"
>
Script
>
Form ID
=
"
Form1
"
Method
=
Post runat
=
"
In Asp.net, session storage is not as simple as ASP, and three storage methods are provided in total. due to the fault of a Web software used by more than 2000 people recently, it is difficult for a user to log on to the server at a certain time
Elementary
Program People or experienced programmers often only realize that their programs are written to computers, but do not care that the programs are actually written to people, or are not fully intended.
The programs written to machines
ASP. NET provides session objects to allowProgramIt identifies, stores, and processes the context information of several requests from the same browser object to a specific network application on the server. Session corresponds to the same
First, let's talk about the project background. The ASP. Net Site deploys applications under the moss site.
ProgramWhen uploading large files, everyone knows ASP. the upload limit of net is 4 MB. After the configuration is modified, it can become
~ /Products/beverages \. aspx ~ /Listproductsbycategory. aspx? Categoryid = 1
As you can see, this rule will be searched to check whether the path of the user request is/products/beverages. aspx. If yes, it will rewrite the URL
In ASP. NET, the previous enableviewstate attribute is introduced to each webform control. What is the purpose of this attribute. We know that for webform, itsCodeIs on the server side to process client requests. When a user browses a webpage
I have just learned the MVC Framework for a few days and I have tried to make a small example of a message book.Program, A preliminary understanding of the functions of the MVC framework. This example shows several useful things in the MVC framework.
I often hear about the asp upload vulnerability, that is, modifying the suffix of some Trojan Files (to the suffix of image files) for uploading.
Use the following functions to identify the problem:
'*************************************** **
This articleArticleThis is an analysis and answer to a related question in the previous article ASP. NET foreground code bind background variable method summary.
As mentioned in the previous articleCodeIn the hidden mode, the foreground aspx file
ASP. net mvc can mark the action to be processed with handleerror,
The Web. config configuration is as follows:
Extended handleerror
Public class errorfilter: handleerrorattribute
{
Public override void onexception
Today, we will study the generation of static pages and record the learning content as follows.
Currently, there are two methods to generate static pages. One is to directly access the dynamic page address and generate the htmlCodeSave as a static
Request. servervariables ["url"]Back to server address
Request. servervariables ["path_info"]Path information provided by the client
Request. servervariables ["appl_physical_path"]And ApplicationsProgramPhysical path of the metabase path
Areas is one of the many new features introduced in ASP. net mvc 2.0. It can help you divide a large web project into several components, namely, area. The area function can be implemented in two organizational forms:
Create areas in one ASP.
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.