Đang chuẩn bị liên kết để tải về tài liệu:
vb.net book phần 8
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Nhấp vào dấu cộng để có được một danh sách các bảng trong DataSet của chúng tôi. Chọn bảng Đơn đặt hàng từ trình đơn thả xuống để có được quan điểm thể hiện trong hình 9,8. | Developing Web Applications Chapter 10 521 Frequently Asked Questions The following Frequently Asked Questions answered by the authors of this book are designed to both measure your understanding of the concepts presented in this chapter and to assist you with real-life implementation of these concepts. To have your questions about this chapter answered by the author browse to www.syngress.com solutions and click on the Ask the Author form. I . Q Do we have to copy the code-behind a VB file to production when we are deploying an application A No.The code is compiled into the DLL which is in the bin directory so copying the DLL is enough. Q Is Web.config required in the application root directory A Web.config is optional and if present overrides the default configuration settings. Q What is the compilation tag in Web.config A Inside Web.config Visual Studio creates a compilation tag with an attribute debug whose value is True. This tag is used to configure the compilation set-tings.When the debug property is set to True ASP.NET saves the temporary files that are helpful when debugging. For the applications in production this property should be set to False. JL Ị Q Why shouldn t we use the same name for Web forms that are in different folders A VS.NET uses the code-behind technique for this reason each Web form inherits a class in the namespace named after the Web form. In a namespace there can be no duplicate class names. Thus no two Web forms can have the same name even though they are in different folders. Q Can any client consume Web services A Yes any client that understands HTTP and XML can consume Web services. I www.syngress.com 522 Chapter 10 Developing Web Applications Q Does my current ASP code work under ASP.NET A Yes it will work. In order to support backward compatibility Microsoft introduced a new filename .ASPX for ASP.NET. In order to take advantage of .NET Framework it would be better if you could rewrite your code to ASP.NET. www.syngress.com .