Asp.net|asp+ recently read a lot of asp.net articles, can not help heart itch, also want to try a while, see ASP.net configuration requirements,
Hardware requirements
Cpu:intel Pentium ii-class MHz (best Intel Pentium iii-class MB)
Memory: MB (preferably 128 MB)
Disk Space: MB (fully installed) MB (Quick Install)
Show: 800x600, 256 colors
Cd-rom:required
Software Requirements
Microsoft Windows SP1 +
Microsoft Internet Explorer 5.5
IIS5.0
Other: MDAC 2.6 Beta 2
Microsoft is really sick, where's my machine?
Hardware:
M2 233MHZ.
112MB memory 64+32+16 Haha, this is the way I've traveled since I used Windows.
3.2GB hard drive has 400MB bad track not partitioned
NE2000 Network card
Software:
Win-nt4+asp. Exe+access+sp3+sql
Oh, even IIS4 are not installed, the ASP.EXE is used to run ASP,
But fortunately, Ms promised one day to let us use ASP.net on NT, now, finally wait until this day, and to see how this machine installed asp.net
1 Download SP6a installed, attention, not SP6, now D version of the SP6 a lot of CD, SP6a I have not seen.
2 put on the IIS4 bar,
3 to Ms's stand up to the next Framework SDK to install, this guy has 126MB big (Beta2.0 version, different version size is not the same), Microsoft is very annoying, unexpectedly put a 128-bit version and the ordinary version together, we can be optimistic, do not make the wrong, But can also go to china-asp stand up, is a Beta1.0 version of (103MB), but I see links, but also to Ms Station, Beta1.0 installed after the space is much smaller than Beta2.0. If everyone's hard drive is not big enough, use Beta1.0 version of it. Installing this stuff will take up about 250MB of our space.
Between
Software installed, let Ayu a full busy one weeks, every night driving a kitten to pull those giants, Ah Yu's eyes are fast into small ants. It's noon now and try our first ASP.net program. Oh, ah Yu's first asp.net soon written, the code is as follows:
Ayu. ASPX
<script language= "VB" runat=server>
Sub Page_Load (Sender as Object, E as EventArgs)
Message.Text = "Hi, Ayu"
End Sub
</script>
<body>
<asp:label id= "message" runat= "Server"/>
</body>
Haha, OK, type the address after about 4 seconds, ie straight to me a HI, Ayu, you don't mention how happy I am, I heard that the first compilation of ASP will be very slow, but it seems to be much faster than imagined, but the second run is very fast, Ayu feel not enjoyable, and changed to this:
<script language= "VB" runat=server>
Sub Page_Load (Sender as Object, E as EventArgs)
Message.Text = "Ayu, you're OK!"
End Sub
</script>
<body>
<asp:label id= "message" runat= "Server"/>
</body>
This is over, ie unexpectedly gave me a string???? View source file, also just a few?? Number just. Difficult, asp+ not support Chinese? A look at the information, sure enough, according to the book said,
Find Winnt/complus/[version]/config.web This file, note that [version] refers to the version number of NGWS, possibly like this: winnt/complus/1812.9/ Config.web, open the file in Notepad and find the following lines:
<globalization
Requestencoding= "Us-ascii"
Responseencoding= "Iso-8859-1"
/>
Change that "iso-8859-1" to "gb2312" on the line,
But my machine config.web unexpectedly in winnt/microsoft.net/framework/v1.0.2204/, after the change really showed the Chinese characters, Ayu and the above code to read:
<script language= "VB" runat=server>
Sub Mybtn_click (Sender as Object, E as EventArgs)
Message.Text = "Ayu, you Are" & Myseslect.value & "Person"
End Sub
</script>
<body>
As a result, I found that no matter what, I can only show: Ayu, you are Chongqing people. I'm so mad that I can't go back to Beijing and Shanghai?
The <FORM> submit method changed to "get" results found that the submitted parameters are all garbled, the solution: the config.web in the "Us-ascii" also changed to "gb2312."
Well, it's almost three o'clock when I finish the work, and I'm hungry and eating stuff.
Unfortunately Ayu did not find a support ASP.net server, can not give the demo Ayu write some of the gadgets for everyone to see.
O '-Yu's standing: www.zydn.net above have Ayu write some small program for everyone to download, at the same time will give you recommend a very good ASP Web site backend system, is a lot of time spent writing, the function of many many, have free time, everybody holds a field, go to see how??
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.