2012微软认证考试考前训练题10
09-12
0

QUESTION 11
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

相关内容

热门资讯

2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题8
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题6
微软认证考试基于.NET的We... 微软认证考试基于.NET的Web应用程序开发模拟试题四
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题4
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题5
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题10
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试经典试题2
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试经典试题7
2012年微软认证考试备考模拟... 2012年微软认证考试备考模拟试题5
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试经典试题1