You create a Web page that contains drop-down menus that are defined by using div tags in the following code.

You need to write a JavaScript function that will enable the drop-down menus to activate when the user positions the mouse over the menu title. Which code segment should you use?
A. $(".dropdown-menu").hover(function () {$(".menu-items"). slideDown (100);},function () {$ (".menu- items"). slideUp (100);});You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?
A. IComparer(Of T)You are developing an ASP.NET MVC 2 Web application. The application contains a controller named HomeController, which has an action named Index. The application also contains a separate area named Blog. A view within the Blog area must contain an ActionLink that will link to the Index action of the HomeController. You need to ensure that the ActionLink in the Blog area links to the Index action of the HomeController. Which ActionLink should you use?
A. Html.ActionLink("Home", "Index", "Home")You create an ASP.NET page named TestPage.aspx that contains validation controls. You need to verify that all input values submitted by the user have been validated by testing the Page.IsValid property. Which page event should you add an event handler to?
A. InitYou create a Web page named TestPage.aspx and a user control named contained in a file named TestUserControl.ascx.
You need to dynamically add TestUserControl.ascx to TestPage.aspx.
Which code segment should you use?
A. protected void Page_Load(object sender, EventArgs e){Control userControl = Page.LoadControl("TestUserControl.ascx"); Page.Form.Controls.Add(userControl);}You create a custom server control named Task that contains the following code segment. (Line numbers are included for reference only.)

You need to ensure that adding a Task control from the Toolbox creates markup in the following format.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the following code segment to the project's AssemblyInfo.cs file.[assembly: TagPrefix("DevControls", "Dev")]You use the ASP.NET Web Application template to create an application in a new Visual Studio solution. The project uses types that are defined in a class library project. Source code for the class library is frequently modified. You need to ensure that classes in the Web application project always reference the most recent version of the class library types. What should you do?
A. Add the class library project to the solution. Modify the class library project to add a reference to the Web application project.You are creating an ASP.NET Web site. The site is configured to use Membership and Role management providers.
You need to check whether the currently logged-on user is a member of a role named Administrators.
Which code segment should you use?
A. Dim isMember As Boolean =Roles.GetUsersInRole ("Administrators").Any()You are implementing an ASP.NET application that will use session state in out-of-proc mode. You add the following code.
Public Class Person Public Property FirstName As String Public Property LastName As String End Class
You need to add an attribute to the Person class to ensure that you can save an instance to session state. Which attribute should you use?
A. BindableYou are developing an ASP.NET Web application.
Application data is stored in a Microsoft SQL Server 2008 database. You configure a connection string named cnnContoso.
The application must cache the data that is returned from the database by using this connection string. You need to ensure that the application checks the database every 10 seconds.
What should you do?
A. Add the following configuration to the section of the web.config file.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-515 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.