PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What will you do to accomplish this?

You work as an ASP.NET Web Application Developer for SomeCompany.
The company uses Visual Studio .NET 2010 as its application development platform.
You are creating an ASP.NET Web application using .NET Framework 4.0.
The application holds a Web page named MyHome.aspx.
You are creating a button with a rolloverimage on MyHome.aspx.
However, when mouse hovered over the button image, the rolloverimage is retrieved from the server in a
separate request.
You need to use an improved rollover button in which the buttonā€˜s rolloverimage is already downloaded and
stored in the browser’s cache, as a result when youhover over the button, it is instantly displayed.
What will you do to accomplish this?
(Each correct answer represents a part of the solution. Choose two.)

What will you do?

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.
You are planning to deploy the ASP.NET Web application to a production server by publishing the Web
application in Release configuration.
You must ensure that the connection string value inthe Web.config file is updated to the connection string
value of the production server during publishing.
What will you do?

Which of the following code segments will you use?

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?