web analytics

Tag: 70-515 dumps download

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (171-180)

QUESTION 171
You are developing a WCF service. The service includes an operation names GetProduct. You need to ensure that GetProduct will accept a POST request and will indicate that the returned data is XML. Which two actions should you perform (Choose 2)

A.    Add the WebGet attribute to the service contract.
B.    Set WebOperationContext.Current.OutgoingRequest.ContentType to “text/xml” in the GetProduct method.
C.    Add the WebInvoke attribute to the service contract.
D.    Set WebOperationContext.Current.OutgoingResponse.ContentType to “text/xml” in the GetProduct method.

Continue reading

Leave a Comment

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (141-150)

QUESTION 141
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the ADO.NET Entity Framework to handle persistence-ignorant entities.
You create an ObjectContext object named ObjContext. Subsequently, you change properties on numerous entities.
You are required to save the changed entity values in the SQL Server database.
Which of the following code segments will you use?

A.    ObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);
B.    ObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);
C.    ObjContext.SaveChanges(SaveOptions.All);
D.    ObjContext.SaveChanges(SaveOptions.None);

Continue reading

Leave a Comment

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (131-140)

QUESTION 131
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.
You create an ASP.NET Web site using .NET Framework 4.0. Only registered users of the company will be able to use the application.
The application holds a page named UserAccount.aspx that enables new users to register them to the registered users‘ list of the company.
The UserAccount page hold numerous TextBox controls that accept users personal details, such as user name, password, home address, zip code, phone number, etc. One of the TextBox controls on the page is named ZipCode in which a user enters a zip code.
You must ensure that when a user submits the UserAccount page, ZipCode must contain five numeric digits. What will you do to accomplish this?
(Each correct answer represents a part of the solution. Choose two.)

A.    Use RangeValidator.
B.    Use RegularExpressionValidator
C.    Use RequiredValidator
D.    Use CompareValidator
E.    Use RequiredFieldValidator

Continue reading

Leave a Comment

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (111-120)

QUESTION 111
You are developing an ASP.NET Web page that contains input controls, validation controls, and a button named btnSubmit.
The page has the following code-behind. (Line numbers are included for reference only.)
1111
You need to ensure that all data that is submitted passes validation before the data is saved in a database.
What should you do?

Continue reading

Leave a Comment

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (101-110)

QUESTION 101
You are developing an ASP.NET web page. The page includes the following EntityDataSource control:
<asp:EntityDataSource ID=”EntityDataSource1″ runat=”server” ConnectionString=”name=AdventureWorksEntities” DefaultContainerName=”AdventureWorksEntities” EnableFlattening=”False” EntitySetName=”Products” />
The page must filter the data that is displayed in a grid on a query string parameter named ProductPrefix. The grid must display products whose ProductName starts with the query string value. You need to ensure that the page generates the appropriate database query. What should you do?

Continue reading

Leave a Comment

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (91-100)

QUESTION 91
You are developing an ASP.NET Web page. You add a data-bound GridView control. The GridView contains a TemplateField that includes a DropDownList. You set the GridViews ClientIDMode property to Static, and you set the ClientIDRowSuffix property to ProductID. You need to be able to reference individual DropDownList controls from client-side script by using the ProductID. What should you set the ClientIDMode property of the DropDownList to?

A.    AutoID
B.    Static
C.    Inherit
D.    Predictable

Continue reading

Leave a Comment

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (81-90)

QUESTION 81
You are developing an ASP.NET web page that includes a textbox control that has ID txtDate. You need to ensure that the user enters a valid date in the text box. Which markup should you use?

A.    <asp:CompareValidator ID=”valDate” runat=”server”
  Type=”Date” ControlToCompare=”txtDate”
Operator=”Equal”/>
B.    <asp:CompareValidator ID=”valDate” runat=”server”
Type=”Date” ControlToCompare=”txtDate”
Operator=”DataTypeCheck”/>
C.    <asp:CompareValidator ID=”valDate” runat=”server”
Type=”Date” ControlToValidate=”txtDate”
Operator=”DataTypeCheck”/>
D.    <asp:CompareValidator ID=”valDate” runat=”server”
  Type=”Date” ControlToValidate=”txtDate”
  Operator=”Equal”/>

Continue reading

Leave a Comment