PrepAway - Latest Free Exam Questions & Answers

You need to test the application locally and then deploy it to numerous production servers

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 Web application makes use of SqlMembershipProvider.
You need to test the application locally and then deploy it to numerous production servers.
You must ensure that each and every deployed application accesses the identical production database ina
Microsoft SQL Server.
What will you do?
(Each correct answer represents a part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Execute the Aspnet_regsql.exe tool to create the database on the correct Microsoft SQL Server.

B.
Run the Aspnet_compiler.exe tool to create the database on the correct Microsoft SQL Server.

C.
Alter the Web.Release.config file to transform the connection string to provide the names of the database
and production server.

D.
Alter the Web.Debug.config file to transform the connection string to provide the names of the database
and production server.

E.
Alter the connection string in the Web.config file to provide the names of the production server.

Explanation:
CHAPTER 8 Debugging and Deploying
Lesson 3: Deploying Websites
Publishing Web Applications – Publishing Web Applications (page 420)
Web.config Transformation Syntax for Web Application Project Deployment
(http://msdn.microsoft.com/en-us/library/dd465326.aspx)


Leave a Reply