微软考试是随报随考,在复习的过程中还是不够全面,为了帮助广大考生系统全面的复习好《微软认证学科》,我们考吧网整理了微软认证模拟试题,本次汇编的模拟试题希望对你的考试有所帮助,预祝你考试顺利。
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.
The Web site uses C# as the programming language. You plan to add a code file written in Microsoft VB.NET to the application. This code segment will not be converted to C#.
You add the following code fragment to the Web.config file of the application.
You need to ensure that the following requirements are met:
The existing VB.NET file can be used in the Web application The file can be modified and compiled at run time What should you do?
A.Create a new folder named VBCode at the root of the application Place the VB.NET code file n this new folder.
B.Create a new folder named VBCode inside the App_Code folder of the application Place the VB.NET code file in this new folder
C.Create a new class library that uses VB.NET as the programming language Add the VB.NET code ile to the class library.
Add a reference to the class library in the application
D.Create a new Microsoft Windows Communication Foundation ( WCF) service project that uses VB.NET as the programming language.
Expose the VB.NET code functionalitythrough the WCF service.
Add a service reference to the WCF service project in the application
Answer: B
QUESTION 12
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
The application uses a set of general-purpose utility classes that implement business logic.
These classes are modified frequently.
You need to ensure that the application is recompiled automatically when a utility class is modified.
What should you do?
A.Create the Web application by using a Microsoft Visual Studio ASP.NET Web site Add the utility classes to the App_Code subfolder of the Web application
B.Create the Web aplication by using a Microsoft Visual Studio ASP.NET Web Application project.
Add the utility classes to the App_Code subfolder of the Web application
C.Create the Web application by using a Microsoft Visual Studio ASP.NET Web site Add the utilty classes to the root folder of the Web application.
D.Create the Web application by using a Microsoft Visual Studio ASP.NET Web Application project Add the utility classes to the root folder of the Web application
Answer: A
推荐阅读: