Question: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:
<compilation debug="false">
<codeSubDirectories>
<add directoryName="VBCode"/>
</codeSubDirectories>
</compilation>
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 in 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 functionality through the WCF service.
Add a service reference to the WCF service project in the application 

+ Answer
+ Report
Total Preview: 3260

Copyright © 2024. Powered by Intellect Software Ltd