ASP.NET14 hot problem solution

xiaoxiao2021-03-06  37

1. Can ASP.NET run in those systems?

Currently, ASP.NET can only run in Microsoft's Windows 2000, Windows XP and Windows 2003 systems, and require Microsoft Internet Information Server (IIS) support, Microsoft plans to make Windows NT4.0 also support ASP.NET However, it is possible that Microsoft is some technical issues or market considerations, and has not supported support from ASP.NET under NT.

2. Can I use more than one language in an ASPX file?

The answer makes you a little disappointment, although Microsoft provides a public language operating environment (CLR, Common Laguage Runtime), implements a close integration between multiple programming languages, allowing you to export the object needed to C # from a VB object. But only one language can be used in an ASPX file, just as you can't use the C #'s syntax in VB.NET.

3. Server-side scripts of the ASPX file support those languages?

Currently, the ASPX file only supports C #, Visual Basic.Net, JScript.net, and J #, but you can use a separate code file using code-behind (code separation), you can use any .NET compile support To achieve functionality.

4. Can Code-Behind (code separation) technology in the global.asax file?

Of course, it is, for example:

Global.asax: