Microsoft 70-528 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 70-528
  • Exam Name/Title: TS: Microsoft .NET Framework 2.0 - Web-based Client Development
  • Certification Provider: Microsoft
  • Corresponding Certification: MCTS
  • Exam Questions: 149
  • Updated On: Jun 03, 2026
You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.
if (Page.User.Identity.Name != @"CONTOSO\Administrator") { Response.Redirect("login.aspx"); }
You are logged on as Administrator. When you display the page, you are redirected to Login.aspx.
You discover that the User.Identity.Name property is not being correctly populated.
You need to ensure that you can access the page when you are logged on as Administrator.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: C,D Vote an answer
You have a Web site that uses a Microsoft ASP.NET membership provider. You create a registration Web page that contains the following code fragment.
<asp:createuserwizard id="CreateUserWizard1" runat="server">
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server"/>
<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server" />
</WizardSteps>
</asp:createuserwizard>
You need to ensure that during registration, users type a valid e-mail address on the registration Web page.
Which code fragment should you add to the Page_Load event?
Correct Answer: D Vote an answer
You are creating a Web application to process XML data. The XML data can either be a well-formed XML
document or a well-formed XML fragment.
The XML data is stored in a string variable named xmlString. The application contains the following code
segment. (Line numbers are included for reference only.)
01 Dim stgs As New XmlReaderSettings()
03 Dim reader As XmlReader = XmlReader.Create(New StringReader(xmlString), stgs)
You need to ensure that the XmlReader class can process the XML data.
Which line of code should you insert at line 02?
Correct Answer: B Vote an answer
You have a Microsoft ASP.NET application.
You use trace statements in the Web pages of the application.
You need to capture trace messages only for specific Web pages in the application.
What should you do?
Correct Answer: B Vote an answer
You are developing a Web Form that contains a templated data-bound control.
The control is bound to an object of type MyObject that exposes a property named MyProperty.
You need to display the value of MyProperty on a Web page.
Which code fragment should you use?
Correct Answer: A Vote an answer
You are developing a Web site that includes images.
You need to ensure that the Web site is accessible by using screen readers.
Which code fragment should you use?
Correct Answer: C Vote an answer
You create a Web Form. The Web Form contains two Web Parts named CustomerPart and OrdersPart.
CustomerPart contains a drop-down list of customers. OrdersPart contains a list of orders that a customer has placed. You need to create a static connection between CustomerPart and OrdersPart. When a user selects a
customer from CustomerPart, OrdersPart must update.
Which four actions should you perform? (Each correct answer presents part of the solution. Choose four.)
Correct Answer: B,E,F,I Vote an answer
0
0
0
10