ASP.NET installation

xiaoxiao2021-03-06  108

ASP.NET is also called ASP , and the following is a process summary to install ASP.NET.

1. System requirements ======================================, "" "" "" "" "" "" "" "" "" "" "" "" "" "" (128 MB recommended) · Available hard disk space (for install): 250 MB · Available hard disk space (post install): 155 MB · Video: 800x600, 256 colors · CD-ROM: required · Operating System: Microsoft Windows 2000 and Microsoft Internet Explorer 5.5 · Other Software: MDAC 2.6 Beta 2

2, software download ===================== · MDAC 2.7 (5.03 MB) http://www.microsoft.com/data/download_270rtm.htm

· Full SDK Download (131 MB) http://download.microsoft.com/download/.netframesdk/sdk/1.0/w98nt42kmexp/en-us/setup.exe

3, the installation process is preferred to install MDAC, then install SDK, the SDK installation time is relatively patient.

4. After the trial run is installed, try to run a simple ASP.NET written in order to determine if the installation is successful. In your IIS virtual directory, create a new extension-name .aspx file, the content is as follows: <% @ Page Trace = "true"%>

Using Track </ Title></p> <p></ hEAD></p> <p><s cript language = "c #" runat = "server"></p> <p>Void Page_Load (Object Sender, Eventargs E) {</p> <p>Trace.Write ("Track", "When the page is loaded");</p> <p>}</p> <p>Void Submitbtn_Click (Object Sender, Eventargs E) {</p> <p>Trace.write ("button", "button"); "account", "account is:" name.text); Trace.Write ("Password", "Password is:" Password. TEXT);</p> <p>Yountered.Text = "Hello!" Name.Text ". Your password is" password.text;</p> <p>}</p> <p></ s cripe></p> <p><form runat = "server"></p> <p><table border = "0"> <tr> <td> account </ td> <TD> <asp: textbox id = "name" runat = "server" /> </ td> </ tr> <tr> < TD> Password </ TD> <TD> <asp: textbox id = "password" textmode = "password" runat = "server" /> </ td> </ tr> <tr> <td> </ td> < TD> <ask = "Submit" οnclick = "submit" οnclick = "submit" οnclick = "subsmitbtn_click" runat = "server" /> </ td> <asp: label id = " Yountered "Runat =" Server "/> </ p></p> <p></ form></p> <p></ body> </ html></p> <p>How can you run it? The above file is a simple example of a program tracking of ASP.NET. If the energy runs, except that the account, password text box and submission button will have the following table content: Request Details, Trace Information, Control Tree, Cookies Collection, Headers Collection, Form Collection, Server Variables.</p> <p>OK, the above is the process of installing the ASP.NET, because I just learned, it is inevitable that there will be incorrect places, please ask you.</p> <p>Other websites (1) Finally, I can learn some new things, I have read the relevant information about ASP , I feel very worth learning, so I wrote this tutorial while studying, for myself Can be used as a learning note, for others, especially those who are not very good, those who are not very good, can serve as a visible Chinese information, and the role of a throwing jade. Due to the horizontal limit, the error is inevitable, I hope everyone can criticize. First of all, I will talk about what is ASP , and then I will tell the ASP application in conjunction with the example of NGWS. Because of the usual use of C, all examples use C # (C Sharp, a new programming language of Microsoft, specifically corresponding to its ngws runtime).</p> <p>Since it is called the Asp tutorial, but naturally want to say what is ASP , but here I don't want to translate Microsoft's own introduction, one because there is a lot of translation articles, and the Microsoft will have a little self-ticking. I just want to talk about some of my initial impression on ASP . ASP The first feeling is that functions are too powerful. Maybe you have seen the ASP program of my domain name query, which is more convenient than using components, no need to be subject to the limitations of those write components, anything The traditional programming language can be done, and ASP can be done, because it is as a web programming language, it is still subject to Web programming. So, what a breakthrough is ASP for ASP? First, the operation mechanism is different, and the ASP belongs to an interpreted programming framework. Its core is VBS and JS, subject to the limit of these two scripting languages, determines the ASP innate, it can't perform the underlying operation like traditional programming languages, So if you need to perform some operations such as socket, files, you have to use other traditional programming languages ​​such as C , VB, Java, etc., and because it is interpreted, it is greatly reduced. And ASP , it is a compilation programming framework. Its core is NGWS runtime. In addition to the ASP, VBS and JS can be used as programming languages, and can also be written in VB and C #, which determines its function. Powerful, you can make a lot of low-level operations without having to use other programming languages. In addition, it is running after compiling, so the implementation efficiency is much higher than the ASP.</p> <p>Hey, talking about these theoretical things is really boring and bored, let us come to some practical. Let me talk about the ASP running environment. Want to run the ASP program, first you have to have the runtime (nonsense), first, you need the support environment of the ASP , that is, NGWS Runtime, this you can download from Microsoft Site, because NGWS is planned in Visual Studio 7 Version, so you can download it now is its beta version, the specific version number is 1812.9. But don't be able to download it first, you must first look at whether your machine can run, the specific requirements are as follows: · CPU: Intel Pentium II-Class 300 MHz (Intel Pentium III-Class 600 MHz Recommended) · RAM: 96 MB (128 MB recommended) · Available hard disk space (for install): 250 MB · Available hard disk space (post install): 155 MB · Video: 800x600, 256 colors · CD-ROM: required · Operating System: Microsoft Windows 2000 and Microsoft Internet Explorer 5.5 · Other Software: MDAC 2.6 Beta 2 understands, how, if your computer meets the requirements, let's download this more than 80 Ms, the specific download address is: http: // Download. Microsoft.com/download/1812.10fulmsdk/trial/1812.10ful/nt5/en-us/setup.exe After the download, installation and configuration is simple, you only need to run this setup.exe and follow the wizard to complete the installation, now we You can run our first ASP program. Ok, look at the following procedure: file: Intro1.aspx</p> <p><Html> <head> <link rel = "stylesheet" href = "intro.css"> </ head></p> <p><Body></p> <p><Center></p> <p><Form action = "intro1.aspx" method = "post"></p> <p><H3> name: <input id = "name" type = text></p> <p>Category: <select id = "category" size = 1> <option> psychology </ option> <option> business </ option> <option> popular_comp </ option> </ select></p> <p><Input Type = Submit Value = "Lookup"></p> <p></ Form></p> <p></ Center></p> <p></ Body> </ html></p> <p>How, understand it. what? Is this a standard HTM file? Yes. Hello, don't throw the tomato smell egg, look carefully, although this is a standard HTM file, but you save it as a .aspx file, then run in the browser, how, no lie to you Let's, this is an unclatted ASP file, your first ASP program. Since ASP is backward-compatible with ASP, any ASP file can be run as an ASP file. Let's change the files on the upper side, change the Name and Category in front of the two INPUT to name and classification, like the following This file: INTRO1C.ASPX <HTML> <head> <link rel = "stylesheet" href = "intro.css"> </ hEAD></p> <p><Body></p> <p><Center></p> <p><Form action = "intro1.aspx" method = "post"></p> <p><H3> Name: <input id = "name" type = text></p> <p>Category: <select id = "category" size = 1> <option> psychology </ option> <option> business </ option> <option> popular_comp </ option> </ select></p> <p><Input Type = Submit Value = "Lookup"></p> <p></ Form></p> <p></ Center></p> <p></ Body> </ html></p> <p>This time you run again, what happened? Why, the Chinese characters become? ? Is it? Yes, it's right, the surface is not supported by Chinese characters, but in fact, we have a way to solve, find WinNT / Complus / [Version] /config.web file, Note [Version] refers to the version number of NGWs, possibly Like this: Winnt / Complus / 1812.9 / config.Web, open this file with Notepad, find the following line: <globalization requestencoding = "us-ascii" responseEncoding = "ISO-8859-1" /> See that "ISO -8859-1 "Is there? Yes, it is this Dongdong that does not show Chinese characters, change it to "GB2312", all OK, then run once, how is it, is it what you are familiar with?</p> <p>Other websites found (2) 1, first update your system, such as the operating system for Windows NT 4, install NT Service Pack 6.0a, such as Windows 2000, please install SP2 or above version of SP first. . 2, install MDAC 2.7; 3, install Microsoft .NET Framework; 4, install .NET Framework Service Pack 2; 5, install ODBC.NET; 6, install other patches that may be installed;</p> <p>Installation information found by other websites (3) ASP.NET Installation Manual</p> <p>First download MDAC installation http://www.microsoft.com/data/download_270rtm.htm and then download .NET Framework Redistributable or .NET Framework Software Development Kit installation http://www.asp.net/download.aspx</p> <p>Then it is OK, add a little: upgrade your IE to 5.5 or more, preferably 6.0.</p> <p>Components and software operating systems required to run the ASP.NET operating system: Win2k, WinXP</p> <p>IIS5.0 Chinese version (must-install) system comes with, if you are not installed by default, please go to Control Panel> Add / Remove Programs> Add / Remove Windows Components Add</p> <p>.NET Framework Simplified Chinese official version (required) download address: http://aspxcn.com/download/dotnetcn.exe</p> <p>.NET Framework Simplified Chinese version SP1 patch (optional) download address: http://aspxcn.com/download/200257204341.exe</p> <p>MDAC2.7 Simplified Chinese version (must-only) download address: http://download.microsoft.com/download/dasdk/install/2.70/w98nt42kme/cn/mdac_typ.exe</p> <p>Jet4.0 (Optional, if you don't connect Access data normally, reload Jet4.0 can be downloaded: http://aspxcn.com/download/jet.rar</p> <p>IE6.0 Simplified Chinese version (recommended to install to achieve the best results for the ASPX page) Downloads: http://gd.skycn.net/down/ie6_cn_full.zip</p> <p>In addition, you can download the fifth component discs of the VS.NET directly, including all components that run the ASP.NET!</p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-102403.html</div><div class="plugin d-flex justify-content-center mt-3"></div><hr><div class="row"><div class="col-lg-12 text-muted mt-2"><i class="icon-tags mr-2"></i><span class="badge border border-secondary mr-2"><h2 class="h6 mb-0 small"><a class="text-secondary" href="tag-2.html">9cbs</a></h2></span></div></div></div></div><div class="card card-postlist border-white shadow"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>New Post</b>(<span class="posts">0</span>) </div><div></div></div></div><ul class="postlist list-unstyled"> </ul></div></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="102403" checked /></div></div></div></div></div><footer class="text-muted small bg-dark py-4 mt-3" id="footer"><div class="container"><div class="row"><div class="col">CopyRight © 2020 All Rights Reserved </div><div class="col text-right">Processed: <b>0.042</b>, SQL: <b>9</b></div></div></div></footer><script src="./lang/en-us/lang.js?2.2.0"></script><script src="view/js/jquery.min.js?2.2.0"></script><script src="view/js/popper.min.js?2.2.0"></script><script src="view/js/bootstrap.min.js?2.2.0"></script><script src="view/js/xiuno.js?2.2.0"></script><script src="view/js/bootstrap-plugin.js?2.2.0"></script><script src="view/js/async.min.js?2.2.0"></script><script src="view/js/form.js?2.2.0"></script><script> var debug = DEBUG = 0; var url_rewrite_on = 1; var url_path = './'; var forumarr = {"1":"Tech"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script><script src="view/js/wellcms.js?2.2.0"></script><a class="scroll-to-top rounded" href="javascript:void(0);"><i class="icon-angle-up"></i></a><a class="scroll-to-bottom rounded" href="javascript:void(0);" style="display: inline;"><i class="icon-angle-down"></i></a></body></html><script> var forum_url = 'list-1.html'; var safe_token = 'ZdwOZSl2Q8G_2BHUO2L16l9Uwi_2FHj_2F7E9SP_2BcNbV5930lKJ1g7B0_2BqrbEa3_2B7Zuoa61Q9b782vm40freh716ee6w_3D_3D'; var body = $('body'); body.on('submit', '#form', function() { var jthis = $(this); var jsubmit = jthis.find('#submit'); jthis.reset(); jsubmit.button('loading'); var postdata = jthis.serializeObject(); $.xpost(jthis.attr('action'), postdata, function(code, message) { if(code == 0) { location.reload(); } else { $.alert(message); jsubmit.button('reset'); } }); return false; }); function resize_image() { var jmessagelist = $('div.message'); var first_width = jmessagelist.width(); jmessagelist.each(function() { var jdiv = $(this); var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); var jmessage_width = Math.min(jdiv.width(), maxwidth); jdiv.find('img, embed, iframe, video').each(function() { var jimg = $(this); var img_width = this.org_width; var img_height = this.org_height; if(!img_width) { var img_width = jimg.attr('width'); var img_height = jimg.attr('height'); this.org_width = img_width; this.org_height = img_height; } if(img_width > jmessage_width) { if(this.tagName == 'IMG') { jimg.width(jmessage_width); jimg.css('height', 'auto'); jimg.css('cursor', 'pointer'); jimg.on('click', function() { }); } else { jimg.width(jmessage_width); var height = (img_height / img_width) * jimg.width(); jimg.height(height); } } }); }); } function resize_table() { $('div.message').each(function() { var jdiv = $(this); jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>'); }); } $(function() { resize_image(); resize_table(); $(window).on('resize', resize_image); }); var jmessage = $('#message'); jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '6rem'); }); jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); }); $('#nav li[data-active="fid-1"]').addClass('active'); </script>