Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Day 1. Getting Started with ASP.NET
This workshop will help reinforce the concepts covered in today's lesson. Answers can be found in Appendix A.
What must ASP.NET do before it sends anything to the browser?
What does CLR stand for?
What is metadata?
What are three programmatic improvements of ASP.NET over ASP?
How does ASP.NET work with the client and server machines?
Why can't you simply double-click on an ASP.NET file to run it?
What is a virtual directory?
If you created a file called hello.aspx and placed it in the c:\inetpub\wwwroot\tyaspnet21days\MyApplication directory, how could you access it from the Web browser?
What's the difference between code declaration blocks and render blocks?
What will be the output of the following ASP.NET page? Where would you save this file so users could access it?
1: <%@ Page Language="VB" %> 2: 3: <script runat="server"> 4: sub Page_Load(Sender as Object, e as EventArgs) 5: lblMessage.Text = "This is my first exercise!" 6: end sub 7: </script> 8: 9: <html><body> 10: <asp:Label runat="server"/> 11: </body></html>