Without further ado, let’s start our first day of study:
Learning purpose: debug the installation environment
I want to make it clear that the operating system is 2000. If you want to learn an Internet language and are unwilling to install an additional operating system, then I don’t think you should learn it.
First go to the Internet to download a MDAC (only version 2.7 or above), and then install it. You may restart it after installation.
Then download a .NET FRAMEWORK SDK. After installation, there will be two more things in the management tools in the control panel. Ignore them. We still want to use the original INTERNET Service Manager. Open it and create a directory according to the debugging method in the ASP tutorial, create an EXAMPLE1.ASPX, then use Notepad to open this file and enter it in it
<script language="c#" runat="server">
void Page_Load()
{
Response.Write("Hello World!");
}
</script>
Then use local access to view the results:
Here I want to explain two points: 1. My sample files always have A and B written in C# and VB respectively. The demo pictures are in C#. They are all the same. The code in the tutorial is also written in two ways. Separate them with <hr> so you can compare them. 2. When I write tutorials, I use Notepad to write APS.NET. You can also install VS.NET to write. However, it is better to use Notepad to start, because you can see more thoroughly.
That’s it for today. Let’s talk about the basic syntax of C# tomorrow.