[Free] Get all latest Microsoft 70-515 Actual Tests 91-100

EnsurepassQUESTION 91 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); } ); B. $(".dropdown-menu").hover( Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 81-90

EnsurepassQUESTION 81 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. Init B. Load C. PreInit D. PreLoad   Correct Answer: B     QUESTION 82 You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 71-80

EnsurepassQUESTION 71 You are implementing an ASP.NET Web site. The site contains the following class.   Public Class Address   Public AddressType As Integer   Public Line1 As String   Public Line2 As String   Public City As String   Public ZipPostalCode As String   End Class   The Web site interacts with an external data service that requires Address instances to be given in the following XML format.   <Address AddressType="2">   <Line1>250 Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 61-70

EnsurepassQUESTION 61 You are creating an ASP.NET Web site. The site contains pages that are available to anonymous users. The site also contains a page named Premium.aspx that provides premium content to only members of a group named Subscribers. You need to modify the web.config file to ensure that Premium.aspx can be accessed by only members of the Subscribers group. Which configuration should you use?   A. <location path="Premium.aspx"> <system.web> <authorization> Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 51-60

EnsurepassQUESTION 51 You are implementing an ASP.NET Dynamic Data Web site. The Web site includes a data context that enables automatic scaffolding for all tables in the data model.   The Global.asax.vb file contains the following code segment.   Public Shared Sub RegisterRoutes(ByVal routes As RouteCollection)   routes.Add(New DynamicDataRoute("{table}/ListDetails.aspx") _   With   {   .Action = PageAction.List,   .ViewName = "ListDetails",   .Model = DefaultModel Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 41-50

EnsurepassQUESTION 41 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); } ); B. $(".dropdown-menu").hover( Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 31-40

EnsurepassQUESTION 31 You are implementing a Web page that allows users to upload files to a Web server. The page includes a form that has a Submit button. You need to reject files larger than 1 MB. What should you do?   A. Add an HTML input type= file control. Add an onSubmit handler to the form to check the file size and cancel the form submission if the file size is too large. B. Add an HTML input type= file control. Add an onChange handler to the input control to check the file size Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 21-30

EnsurepassQUESTION 21 You deploy an ASP.NET application to an IIS server. You need to log health-monitoring events with severity level of error to the Windows application event log. What should you do?   A. Run the aspnet_regiis.exe command. B. Select the Treat all warnings as errors option in the project properties and recompile. C. Add the following rule to the healthMonitoring section of the web.config file. <rules> <add name="Failures"eventName="Failure Audits"provider="EventLogProvider" Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 11-20

EnsurepassQUESTION 11 You create a new ASP.NET MVC 2 Web application. The following default routes are created in the Global.asax.vb file. (Line numbers are included for reference only.)   01 Shared Sub RegisterRoutes(ByVal routes As RouteCollection) 03 routes.IgnoreRoute("{resource}.axd/{*pathInfo}")   02   03   04   05 routes.MapRoute(   "Default",   "{controller}/{action}/{id}",   New With {.controller = "Home", .action = "Index", .id = ""}   )   Read more [...]

[Free] Get all latest Microsoft 70-515 Actual Tests 1-10

EnsurepassQUESTION 1 You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment.   Partial Public Class Custom Inherits System.Web.UI.MasterPage   Public Property Region As String   Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load   End Sub   End Class   You create a new ASP.NET page and specify Custom.master as its master Read more [...]

[Free] Get all latest Microsoft 70-513 Actual Tests 301-310

EnsurepassQUESTION 301 You are developing a Windows Communication Foundation (WCF) service that is used to check the status of orders placed by customers. The following code segment is part of your service. (Line numbers are included for reference only.)     You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe. What should you do?     A. Option A B. Option B C. Option C D. Option D   Correct Answer: B       Read more [...]

[Free] Get all latest Microsoft 70-513 Actual Tests 291-300

EnsurepassQUESTION 291 A Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the ITimeService service interface in the TimeService class. You need to configure the service endpoint for HTTP communication. How should you define the service and endpoint tags?   A. Define the service tag as follows: <service name="ITimeService"> Define the endpoint tag as follows. < endpoint kind ="TimeService" address="http://localhost:8080/TimeService" Read more [...]
1 293 294 295 296 297 467