You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort. What should you do? ()A、Access the personalizatio

题目

You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort. What should you do? ()

  • A、Access the personalization data from the Session property of the HttpContext object.
  • B、Access the personalization data from the Application property of the HttpContext object.
  • C、Access the personalization data from the Cache property of the HttpContext object.
  • D、Access the personalization data from the Profile property of the HttpContext object.

相似考题

4. You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()A、You should change the IIS isolation mode.B、You should assign the application to another application pool.C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.D、You should run the Aspnet_regiis.exe Tool.E、You should restart the application pool that hosts the application.

更多“You have a Web application that ”相关问题
  • 第1题:

    You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2). You create a new virtual directory named App1. App1 contains a Web application. Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application. You need to ensure that users can access the Web application when they connect to http://app1. What should you do? ()

    • A、Move the content of the Web application to C:/App1. Change the home directory for App1.
    • B、Move the content of the Web application to C:/App1. Change the application pool for App1.
    • C、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.
    • D、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.

    正确答案:D

  • 第2题:

    You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. You manage a server that runs Windows Server 2008. The server hasTerminal Service Web Access (TS Web Access) installed. Several line-of-business applications areavailable on the server by using TS Web Access. You have a new application installed on the server. Youhave to make the application available through TS Web Access. In order to achieve this,What action should you perform?()

    • A、In order to make the application available through TS Web Access, the data source for TS Web Accessshould be specified from the TS Web Access Web site.
    • B、In order to make the application available through TS Web Access, the application should be added to the RemoteApp Programs list from TS RemoteApp Manager.
    • C、In order to make the application available through TS Web Access, the users should be added to the TS Web Access Computers group from the Local Users and Groups snap-in.
    • D、In order to make the application available through TS Web Access, the mstsc.exe command should be run and specify the /v parameter should be specified from the command prompt.

    正确答案:B

  • 第3题:

    You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do? ()

    • A、Modify the application settings by using the Web Site Administration Tool.
    • B、Modify the application settings by using the Visual Studio property page editor for the project.
    • C、Modify the application settings by using the resource editor.
    • D、Modify the application settings by using the Visual Studio start options editor.

    正确答案:A

  • 第4题:

    You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()

    • A、Web Setup project
    • B、Web-based deployment
    • C、Deployment manifest
    • D、Web Deployment Tool

    正确答案:D

  • 第5题:

    单选题
    Your network contains an Active Directory domain. You have a server that runs Windows Server 2008 R2 and has the Remote Desktop Services server role enabled. All client computers run Windows 7. You need to plan the deployment of a new line-of-business application to all client computers. The  deployment must meet the following requirements:   èUsers must access the application from an icon on their desktops.   èUsers must have access to the application when they are not connected to the network. What should you do?()
    A

    Publish the application as a RemoteApp.

    B

    Publish the application by using Remote Desktop Web Access (RD Web Access).

    C

    Assign the application to the Remote Desktop Services server by using a Group Policy object (GPO).

    D

    Assign the application to all client computers by using a Group Policy object (GPO).


    正确答案: A
    解析: 暂无解析

  • 第6题:

    单选题
    You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()
    A

    Web Setup project

    B

    Web-based deployment

    C

    Deployment manifest

    D

    Web Deployment Tool


    正确答案: A
    解析: 暂无解析

  • 第7题:

    单选题
    You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. There is a server that runs Windows Server 2008. The Terminal Services server role is installed on theserver. You have a new application deployed on the server. The application creates files that have anextension of .xyz. You have to make sure that users are able to launch the remote application from theircomputers by double-clicking a file that has the .xyz extension. What action should you perform?()
    A

    The Remote Desktop Connection Client on the users’ computers should be configured to point to theserver.

    B

    Configure the application as a published application You should use a Remote Desktop Program file.

    C

    Configure the application as a published application by using a Microsoft Windows Installer packagefile.

    D

    Configure the application as a published application by using a Terminal Server Web Access Web site.


    正确答案: C
    解析: 暂无解析

  • 第8题:

    多选题
    You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  When you review the application performance counters, you discover that there is an unexpected increase in the value of the Application Restarts counter. You need to identify the reasons for this increase.  What are three possible reasons that could cause this increase?()
    A

    Restart of the Microsoft IIS 6.0 host.

    B

    Restart of the Microsoft Windows Server 2003 that hosts the Web application.

    C

    Addition of a new assembly in the Bin directory of the application.

    D

    Addition of a code segment that requires recompilation to the ASP.NET Web application.

    E

    Enabling of HTTP compression in the Microsoft IIS 6.0 manager for the application.

    F

    Modification to the Web.config file in the <system.web> section for debugging the application.


    正确答案: E,F
    解析: 暂无解析

  • 第9题:

    You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.  You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.  What should you do?()

    • A、Edit the ASP.NET runtime version in IIS 6.0. 
    • B、Edit the System.Web section handler version number in the machine.config file. 
    • C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5. 
    • D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.

    正确答案:A

  • 第10题:

    Your network contains a Windows Server 2008 server that has the Web Server (IIS) server role installed.  You have a Web application that uses a custom application pool. The application pool is set to recycle every 1,440 minutes. The Web application does not support multiple worker processes.  You need to configure the application pool to ensure that users can access the Web application after the application pool is recycled. What should you do?()

    • A、Set the Shutdown Executable option to True.
    • B、Set the Process Orphaning Enabled option to True.
    • C、Set the Disable Overlapped Recycling option to True.
    • D、Set the Disable Recycling for Configuration Changes option to True.

    正确答案:C

  • 第11题:

    You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()

    • A、Enable WebDAV.
    • B、Enable Server Side Includes.
    • C、Configure both Web sites to use different IP addresses.
    • D、Configure both Web sites to use different application pools.

    正确答案:C

  • 第12题:

    You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled. The application requires access to environment variables on each computer. You need to ensure that users who do not have administrative permissions can install the application. Which deployment method should you use? ()

    • A、 Start from Web.
    • B、 Install from Web.
    • C、 Start from network share
    • D、 Install from network share.

    正确答案:D

  • 第13题:

    单选题
    You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The server hosts multiple Web sites.  You need to configure the server to automatically release memory for a single Web site. You must achievethis goal without affecting the other Web sites. What should you do?()
    A

    Create a new Web site and edit the bindings for the Web site.

    B

    Create a new application pool and associate the Web site to the application pool.

    C

    Create a new virtual directory and modify the Physical Path Credentials on the virtual directory.

    D

    From the Application Pool Defaults, modify the Recycling options.


    正确答案: B
    解析: 暂无解析

  • 第14题:

    单选题
    You have migrated a web application from .net 3.5 to 4.0. the application hat to render same as in .net 3.5.()
    A

    <assembles> someoptions </assembles> 

    B

    <pages controlRenderingCompatibilityVersion=3.5/>

    C

    <compilation targetframework = 3.5 />

    D

    <xhtmlConformance mode=Legacy />


    正确答案: B
    解析: 暂无解析

  • 第15题:

    多选题
    You are a systems administrator responsible for managing a Windows Server 2008 Web Server Currently,there are no Web sites configured on the server. You need to configure the server to host two Web applications: Engineering App and Sales App. Both Web applications must be accessible by using HTTPport 80 without the use of host headers. Also, you must protect against problems in one Web applicationaffecting the performance or reliability of the other Web application. Which two steps should you take tomeet these requirements?()
    A

    Create a single Web site that contains both Web applications.

    B

    Create two Web sites, one for each Web application.

    C

    Assign both Web applications to the same application pool.

    D

    Assign each Web application to its own application pool.


    正确答案: B,C
    解析: 暂无解析

  • 第16题:

    单选题
    You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()
    A

    Enable WebDAV.

    B

    Enable Server Side Includes.

    C

    Configure both Web sites to use different IP addresses.

    D

    Configure both Web sites to use different application pools.


    正确答案: A
    解析: 暂无解析