Documente Academic
Documente Profesional
Documente Cultură
Vendor: Microsoft Certification(s): MCTS, MCPD Exam Code: 70-515-CSHARP Exam Name: TS: Web Applications Development with Microsoft .NET Framework 4 (CSHARP) Total Questions: 251
http://www.testkingweb.com/microsoft-70-515.html
Page 1 of 234
http://www.testkingweb.com/microsoft-70-515.html
Page 2 of 234
ANSWER: In order to accomplish the task, you will use the following page directive in Page1.aspx: <%@ OutputCache Duration=300 VaryByParam=none %>
EXPLANATION: ASP.NET provides a powerful technique called output caching. This technique allows subsequent requests for a particular page to be fulfilled from the cache so the code that initially creates the page is not required to be run upon subsequent requests. Caching your Web site's most frequently accessed pages can increase your Web server's throughput. The @ OutputCache directive is used to control the output caching rules of the ASP.NET page or a user control included in the ASP.NET page. The Duration attribute of the OutputCache directive indicates the amount of time, in seconds, for which a control is cached. The VaryByParam attribute in a page @ OutputCache directive describes how the page will be cached when it is requested with different parameters. This attribute accepts a semicolon-separated list of parameters or one of the following special values: *: This value indicates that different cached versions of the page will be created when the page is requested with different parameters.
http://www.testkingweb.com/microsoft-70-515.html
Page 3 of 234
none: This value indicates that different cached versions of the page will not be created when the page is requested with different parameters.
When the @ OutputCache directive is used in a page, it is necessary to include the Duration and VaryByParam attributes in the directive. Otherwise, a parser error occurs when the page is first requested. If the functionality that the VaryByParam attribute provides is not needed, this attribute can be set to none. You will not use the @ OutputCache directive with the Duration attribute set to the value 5. The use of this directive in the page will cause the output of the page to be cached only for five seconds, not for five minutes. The @ OutputCache directive has no such attribute as Seconds or VaryByParameter. You will not use the @ OutputCache directive with the VaryByControl attribute set to the value none. This attribute is not supported for @ OutputCache directives in ASP.NET pages.
What are directives? Directives are commands that specify optional settings used by ASP.NET pages and compilers when ASP.NET files are processed. REFERENCE: MSDN - .NET Framework 4, Contents: @ OutputCache, Text Template Directive Syntax
QUESTION NO: 2(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application named MyApp1 using .NET Framework 4.0. Users from multiple cultures will use the Web application. You want to detect the current culture of the user requesting the application. To accomplish the task, you write the following code segment: string[] uLanguage = Request.UserLanguages; CultureInfo currentCulture = new CultureInfo(uLanguage); When you try to compile the application, the Task List window shows the following error: c:inetpubwwwrootMyApp1WebForm1.aspx.cs(58): Type 'CultureInfo' is not defined. You want to remove the error. Which of the following code segments will you include in the application code to accomplish the task? A. using System.Globalization; B. using System.Web.Security; C. using System.Security.Permission; D. using System.Internationalized;
http://www.testkingweb.com/microsoft-70-515.html
Page 4 of 234
This class resides in the System.Globalization namespace. Therefore, in order to use this class without any error, you need to use the System.Globalization namespace. The System.Globalization namespace contains the classes that define culture-related information. Answer option b is incorrect. The System.Web.Security namespace contains classes that are used to implement ASP.NET security in Web server applications. Answer option c is incorrect. The System.Security.Permissions namespace defines classes that control access to operations and resources based on policy. Answer option d is incorrect. There is no such namespace as System.Internationalized. REFERENCE: MSDN - .NET Framework 4, Contents: .NET Framework Class Library, CultureInfo Class, System.Globalization Namespace
QUESTION NO: 3(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application for airlines passengers using .NET Framework 4.0. The passengers access the application over the Internet and from airport booths worldwide. Airport booths do not permit users to alter browser settings. You have created language-specific resources for all static text elements in the application. You have to ensure that the content is displayed in the language chosen by the users, in spite of their physical location. What will you do? A. Set the value of the Thread.CurrentThread.CurrentUICulture property to CultureInfo.InvariantCulture.
http://www.testkingweb.com/microsoft-70-515.html
Page 5 of 234
Answer option a is incorrect. The CurrentUICulture property of the Thread class is used to set or obtain the current culture used by the Resource Manager for a Web page. The current culture is then used for the culture-specific resources at runtime of the Web page.
Answer option b is incorrect. The EnableClientBasedCulture property of the GlobalizationSection class is used to get or set a value showing whether the Culture and UICulture properties should be based on the AcceptLanguage header field value that is sent by the client browser. In case, the value of the AcceptLanguage header cannot be mapped to a specific culture, then the Culture and UICulture values are used. By default, the EnableClientBasedCulture property is set to false.
Answer option d is incorrect. The @ Page directive is a directive syntax of a Web page. It is used to define page-specific attributes that are used by the Web page parser and compiler. Some commonly used attributes of the @ Page directive are AutoEventWireup, CodeBehind, CodeFile, Inherits, and Language. The syntax of the @ Page directive is as follows: <%@ Page attribute=value [attribute=value...] %>
REFERENCE: MSDN - .NET Framework 4, Contents: CultureInfo, ASP.NET Globalization and Localization
http://www.testkingweb.com/microsoft-70-515.html
Page 6 of 234
The CultureInfo constructor takes a string that represents the appropriate culture code as an argument. The CurrentThread.CurrentCulture property controls the culture used to format the data. When you set the CurrentThread.CurrentCulture property to a new instance of CultureInfo, the data formatted by the application will be updated according to the new format. You will use the following code segment to programmatically set the culture to the English language and Canada region: System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(en-CA) Answer option a is incorrect. The value passed to the CultureInfo is fr-Fr, which represents the French language in the region France. This will set the culture to French in France region. Answer option c is incorrect. The CurrentUICulture property of the Thread class is used to set or obtain the current culture used by the Resource Manager for a Web page. The current culture is then used for the culture-specific resources at runtime of the Web page. The CurrentUICulture property determines the resources that will be loaded in the Web forms at run time. The given code segment will set the UICulture to en-US and will load the resources specific to that culture. Answer option d is incorrect. The given code segment will set the UICulture to en-CA, i.e., English in the Canada region. This will load the resources specific to the specified culture.
http://www.testkingweb.com/microsoft-70-515.html
Page 7 of 234
QUESTION NO: 5(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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 will be accessed by international audience. The Web application holds global and local resources for display elements that must be translated into the language that is preferred by the user. You are required to ensure that a Label control named CompanyLabel displays text in the user's preferred language from the global resource file. Which control markup will you use? A. <asp:Label ID="CompanyLabel" runat="server" Text="CompanyLabel" meta:resourcekey="CompanyLabel.Text" /> B. <asp:Label ID="CompanyLabel" runat="server" Text="<%$ Resources:WebResources, CompanyLabelText %>" /> C. <asp:Label ID="CompanyLabel" runat="server" Text="<%$ Resources:WebResources, Text %>" /> D. <asp:Label ID="CompanyLabel" runat="server" Text="<% Resources:WebResources %>" /> ANSWER: B EXPLANATION: You will use the following control markup: <asp:Label ID=CompanyLabel runat=server Text=<%$ Resources:WebResources, CompanyLabelText %> /> Explicit localization is used where a user makes use of a resource expression. The user must use a resource expression for each property that he wants to set. A Button control that is configured to set the Text property from a global resource file might look like as follows: <asp:Button ID=Button1 runat=server Text=<%$ Resources:WebResources, Button1Caption %> /> The resource expression takes the following form, where Class is optional, except the resource is a global one, and ResourceID is necessary: <%$Resources:Class,ResourceID%> The Class value recognizes the resource file to use when the user uses global resources. When .resx files
http://www.testkingweb.com/microsoft-70-515.html
Page 8 of 234
Answer option a is incorrect. If you create local resource files for a particular page, you can employ implicit localization to fill a control's property values from the resource file. In case of implicit localization, ASP.NET interprets a resource file and matches resources to property values. Answer options c and d are incorrect. These are syntactically incorrect markups as mentioned in the answer option b . REFERENCE: MSDN - .NET Framework 4, Contents: ASP.NET Web Page Resources Overview
QUESTION NO: 6(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application named MyWebApp using .NET Framework 4.0. MyWebApp holds an .aspx page named MyPage.aspx that is used to display information about the company products. You deploy a copy of MyWebApp on a server for unit testing. You need to view the trace output information for MyPage by browsing trace.axd URL for MyWebApp. You set the Trace attribute of the @ Page directive for MyPage.aspx to true. Which of the following elements will you add to the Web.config file to accomplish this? A. <trace enabled="false" pageOutput="true"/> B. <trace enabled="true" pageOutput="true"/> C. <trace enabled="true" pageOutput="false"/> D. <trace enabled="true"/> ANSWER: C
http://www.testkingweb.com/microsoft-70-515.html
Page 9 of 234
The pageOutput attribute of the trace element is an optional boolean attribute. It is used to identify whether trace output is rendered at the end of each page. If false, trace output is accessible all the way through the trace utility only. By default, the pageOutput attribute is set to false. This attribute should be set to false because you do not want to render the trace output at the end of MyPage. The @ Page directive is used to specify control-specific attributes that are used by the ASP.NET page compiler. The Trace attribute of the @ Page directive specifies whether or not tracing is enabled.
What is the trace element? The trace element is an ASP.NET Settings Schema. It is used to configure the ASP.NET code tracing service that controls how trace results are assembled, stored, and displayed. It consists of attributes, child elements, and parent elements. An example of the trace element is as follows: <trace enabled=true|false localOnly=true|false pageOutput=true|false requestLimit=integer mostRecent=true|false writeToDiagnosticsTrace=true|false traceMode=SortByTime|SortByCategory />
REFERENCE: MSDN - .NET Framework 4, Contents: trace Element (ASP.NET Settings Schema)
QUESTION NO: 7(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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.
http://www.testkingweb.com/microsoft-70-515.html
Page 10 of 234
Answer option d is incorrect. In the Page.Load event, a page is used to call the OnLoad event method on the page. Later, it recursively performs the same task for each and every child control. The child control performs the same task for each of its child controls until the page and all controls are loaded. The OnLoad event method is used to set properties in controls as well as database connections.
http://www.testkingweb.com/microsoft-70-515.html
Page 11 of 234
Answer option a is incorrect. The Page.Init event is raised only if all controls have been initialized and any skin settings have also been applied. The Init event of individual controls occurs before the Init event of the page. The Page.Init event can be used to read or initialize control properties.
Answer option b is incorrect. The Page.PreRender event is used for each and every control on a page. It is used to make ultimate changes to the contents of the page or its controls. However, before this event occurs, the following actions are performed: The Page object calls the EnsureChildControls method for each and every control as well as for the page. Each data bound control calls its DataBind method if DataSourceID property is set. Answer option d is incorrect. The Page.PreRenderComplete event occurs before the page content is rendered. In other words, the PreRenderComplete event is raised when the pre-render stage of the
http://www.testkingweb.com/microsoft-70-515.html
Page 12 of 234
REFERENCE: MSDN - .NET Framework 4, Contents: ASP.NET Page Life Cycle Overview
QUESTION NO: 9(A) Which of the following classes is used to define the properties, methods, and events that are shared by all ASP.NET server controls? A. ControlBuilder B. ControlCollection C. Control D. UserControl ANSWER: C
QUESTION NO: 10(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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. You create a Web page named MyPage.aspx that holds validation controls. You are required to authenticate that all input values submitted by a user have been validated by using the IsValid property of the page. In which of the following Page events will you add an event handler to accomplish this? A. Page.Init B. Page.Load C. Page.PreRender D. PreInit ANSWER: B EXPLANATION: Yow will add an event handler to the Page.Load event. In the Page.Load event, a page is used to call the OnLoad event method on the page. Later, it recursively performs the same task for each and every child control. The child control performs the same task for each of its child controls until the page and all controls are loaded. The OnLoad event method is used to set properties in controls as well as database connections.
http://www.testkingweb.com/microsoft-70-515.html
Page 13 of 234
Answer option c is incorrect. The Page.PreRender event is used for each and every control on a page. It is used to make ultimate changes to the contents of the page or its controls. However, before this event occurs, the following actions are performed: The Page object calls the EnsureChildControls method for each and every control as well as for the page. Each data bound control calls its DataBind method if DataSourceID property is set. Answer option d is incorrect. The Page.PreInit event is used to perform the following tasks: It checks the IsPostBack property to decide whether this is the first time the page is being processed. It creates or re-creates dynamic controls. It sets a master page dynamically. It sets the Theme property dynamically. It reads or sets profile property values. The IsValid property of the BaseValidator class is automatically updated when the validation results are displayed. The property value returns true to indicate that the associated input control has passed validation. This property is evaluated only when the Validate method is called on a validation control. The Validate method of the BaseValidator class performs validation on the associated server user input control programmatically. REFERENCE: .NET Framework 4, Contents: ASP.NET Page Life Cycle Overview
QUESTION NO: 11(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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 application uses a Microsoft SQL Server 2000 database named MySqlDatabase. MySqlDatabase includes a table named Products that holds details of the products manufactured by the company. The Products table has a column named Product_name that holds product names. The application includes a page named ViewProducts.aspx that holds a DropDownList control named MyDDList. In the Page_Load event handler, you write code to create a SqlConnection object that represents an open connection to MySqlDatabase and a SqlCommand by passing a SQL statement that populates MyDDList with product names from the Products table. You want the code to execute when the page is loaded and accessed for the first time. However, you do not want the code to execute when the page is loaded in response to a client postback. In which of the following code blocks will you place the code to accomplish the task?
http://www.testkingweb.com/microsoft-70-515.html
Page 14 of 234
What is the Page.Load event? In the Page.Load event, a page is used to call the OnLoad event method on the page. Later, it recursively performs the same task for each and every child control. The child control performs the same task for each of its child controls until the page and all controls are loaded. The OnLoad event method is used to set properties in controls as well as database connections.
http://www.testkingweb.com/microsoft-70-515.html
Page 15 of 234
QUESTION NO: 12(A) Which property of the Page sets the user interface (UI) ID for the Thread object associated with the page? A. Culture B. InitializeCulture C. UICulture D. InitializeUICulture ANSWER: C
QUESTION NO: 13(A) Which property of DynamicControl gets or sets the name of the field template rendering the data field? A. UIHint B. Visible C. Mode D. TemplateControl ANSWER: A
QUESTION NO: 14(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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 create a custom server control named logo. You write the following code segment. (Line numbers are given for reference only.) 01 public class logo : WebControl 02 { 03 public string logourl 04 { 05 get { return _logourl; } 06 set { _logourl = value; } 07 } 08 private string _logourl; 09 // code to override render method 10 } You want to localize the logourl property. What will you do to accomplish the task?
http://www.testkingweb.com/microsoft-70-515.html
Page 16 of 234
http://www.testkingweb.com/microsoft-70-515.html
Page 17 of 234
REFERENCE: MSDN - .NET Framework 4, Contents: ASP.NET Web Page Resources Overview
QUESTION NO: 15(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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 need to retrieve the number of active bugs from the cache if the number is available. However, if the number is not available in the cache, you call a method named GetLivelyBugs, and save the end result beneath a cache key named LiveBugs. You must also consider that cached data expires after 45 seconds. You write the following code segment in the application to fulfill the requirements. (Line numbers are given for reference only.) 01 int numOfLiveBugs = (int)Cache["LiveBugs"]; 02 if (!numOfLiveBugs.HasValue) 03 { 04 05 } 06 LiveBugs = numOfLiveBugs.Value; Which of the following code segments will you place at line 04? A. int endresult = GetLivelyBugs(); Cache.Insert("LiveBugs", endresult, null, DateTime.Now.AddSeconds(45), Cache.NoAbsoluteExpiration, this.CacheItemUpdateCallback); numOfLiveBugs = endresult; B. int endresult = GetLivelyBugs(); Cache.Insert("LiveBugs", endresult, null, DateTime.Now.AddSeconds(45), Cache.NoSlidingExpiration); numOfLiveBugs = endresult; C. int endresult = GetLivelyBugs(); Cache.Insert("LiveBugs", endresult, null, DateTime.Now.AddSeconds(45), Cache.NoSlidingExpiration, this.CacheItemUpdateCallback); numOfLiveBugs = endresult; D. int endresult = GetLivelyBugs(); Cache.Insert("LiveBugs", endresult, null, DateTime.Now.AddSeconds(45), Cache.NoAbsoluteExpiration); numOfLiveBugs = endresult; ANSWER: B EXPLANATION: You will place the following code segment at line 04:
http://www.testkingweb.com/microsoft-70-515.html
Page 18 of 234
QUESTION NO: 16(A) Which property of Nullable<T> gets a value specifying whether the current Nullable<T> object has a value? A. Value B. HasObjectValue C. HasValue D. HasObject ANSWER: C
http://www.testkingweb.com/microsoft-70-515.html
Page 19 of 234
QUESTION NO: 18(A) Which field of the Cache class is used as the slidingExpiration parameter in the Insert/Add method call to disable sliding expirations? A. NoSlidingExpiration B. NoAbsoluteExpiration C. DisableSlidingExpiration D. DisableAbsoluteExpiration ANSWER: A
QUESTION NO: 19(A) Which class is used to create dependency relationship between an ASP.NET application Cache object item and cache key, a file, an array of either, or a different CacheDependency object? A. AggregateCacheDependency B. SqlCacheDependency C. SqlCacheDependencyAdmin D. CacheDependency ANSWER: D
QUESTION NO: 20(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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 application contains numerous Web pages. You need to allow users to create areas on a Web page named WorkArea that can be updated dynamically and after that incorporated into a cached page. You also need to provide partial page caching for pages when the bulk of the content is cached. What will you do to meet these requirements?
http://www.testkingweb.com/microsoft-70-515.html
Page 20 of 234
Answer option a is incorrect. A composite control creates a new control by combining existing controls and components. The control that makes up a composite control is known as a constituent control. It is normally declared private in the Code editor of a Windows form. Therefore, a user cannot access the control.
Answer option c is incorrect. An extended control is a user-created control or a custom control that is used to derive an inherited control from an existing Windows Forms control. In other words, it can retain all the functionality of the existing Windows Forms control. This inherent functionality can then be extended by adding custom properties, methods, or other features. A custom appearance can also be added to the graphical user interface of a custom control by overriding the OnPaint method of the base class.
Answer option d is incorrect. A StyleSheet control is a style sheet control that organizes styles that will be applied to other ASP.NET server or mobile controls. The style sheet control is placed directly on an ASP.NET mobile Web page or on a mobile user control page. But, the control is not placed directly in a Form or a Panel container of the Web page. In a single Web page or a mobile user control, only one StyleSheet control can exist. In the Design view of the Visual Studio IDE, the control displays its name and identification on the top line of the control. The control also displays information about the current template device filter.
REFERENCE: MSDN - .NET Framework 4, Contents: Substitution Web Server Control Overview
http://www.testkingweb.com/microsoft-70-515.html
Page 21 of 234
Answer option b is incorrect. Application state is a collection of user-defined variables that are shared by an ASP.NET application. These are set and initialized when the Application_OnStart event fires on the loading of the first instance of the application and are available till the last instance exits. Application state variables are accessed using the Applications collection, which provides a wrapper for the application state variables. Application state variables are identified by names.
Answer option c is incorrect. The SQLServer mode is used to store session state in a SQL Server database. It makes sure that session state is preserved even if the Web application is restarted. It also makes sure that session state is accessible to many Web servers in a Web farm. Note: Objects stored in a session state have to be serializable if the mode is SQL Server. In order to use the SQLServer mode, make sure that the ASP.NET session state database is installed on
http://www.testkingweb.com/microsoft-70-515.html
Page 22 of 234
QUESTION NO: 22(A) Which method of Page saves any view-state and control-state information for a page? A. SaveViewState B. LoadPageStateFromPersistenceMedium C. SaveControlState D. SavePageStateToPersistenceMedium ANSWER: D
QUESTION NO: 23(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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 will use session state in out-of-proc mode. You write the following code segment. (Line numbers are given for reference only.) 01 public class Employee 02 { 03 public string FirstName 04 { 05 get; 06 set; 07 } 08 public string MiddleName
http://www.testkingweb.com/microsoft-70-515.html
Page 23 of 234
You are required to include an attribute to the Employee class to make sure that you are able to save an instance to session state. Which of the following attributes will you use? A. SerializableAttribute B. BindableAttribute C. DataMemberAttribute D. DataContractAttribute ANSWER: A EXPLANATION: In the given scenario, you will use SerializableAttribute. The SerializableAttribute class is used to specify that a class can be serialized. SerializableAttribute can be applied to a type to specify that instances of this type can be serialized. The CLR throws SerializationException if any type in the graph of objects being serialized does not contain the SerializableAttribute applied. SerializableAttribute can be applied even if the class has also implemented the ISerializable interface to manage the serialization process.
Answer option b is incorrect. BindableAttribute is a standard design time attribute. It specifies whether the member is typically used for binding. If a property is marked with Bindable(true), the property is displayed in the DataBindings dialog box in Visual Studio. The property browser infers the value to be Bindable(false) if a property is not marked with Bindable(true).
Answer option c is incorrect. The DataMemberAttribute class indicates that the member of a type is a part of a data contract and is serializable. It can be applied to private fields and properties that need to be serialized. This class is used in conjunction with the DataContractAttribute class.
Answer option d is incorrect. The DataContractAttribute class indicates that the type defines a data contract and is serializable via a serializer, such as the DataContractSerializer. If the WCF infrastructure is used to send and receive messages, then the DataContractAttribute should also be applied to any classes that hold and manipulate data in a message. The DataContractAttribute can be applied to explicitly enable the DataContractSerializer to serialize and deserialize the data.
http://www.testkingweb.com/microsoft-70-515.html
Page 24 of 234
QUESTION NO: 24(A) Which method of Page loads any saved view-state information to a Page object? A. LoadPageStateFromPersistenceMedium B. LoadViewState C. LoadControl D. LoadOnSaveStateComplete ANSWER: A
QUESTION NO: 25(A) You work as an ASP.NET Web Application Developer for Testking Web Inc. 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 decide to deploy the application over multiple servers. You will use session state to manage state information. You want to store information about session state on a remote server. Use the appropriate option that you will use in the <sessionState> element of the application's Web.config file to accomplish the task.
ANSWER: In order to accomplish the task, you will use the mode attribute with the StateServer option as follows: mode=StateServer
EXPLANATION: The <sessionState> element is used to configure session state settings for the current application. The syntax of the sessionState element is as follows:
http://www.testkingweb.com/microsoft-70-515.html
Page 25 of 234
It consists of the following attributes and its related options: Attribute Option mode Off InProc StateServer SQLServer Description It specifies where to store the session state. It specifies that the session state is not enabled. It specifies that the session state is stored locally. It specifies that the session state is stored on a remote server. It specifies that the session state is stored on the SQL Server.
What is the session state? The session state is used by InfoPath Forms Services to store the large amount of transient data generated while filling out a form. Due to this, front-end Web servers can remain stateless between round trips, and each postback is not burdened with carrying large amounts of session state information over narrow bandwidth pipes. Session state can only be used with Web applications that are associated with a Shared Services Provider (SSP). When InfoPath Forms Services is configured to use the session state service, all browser sessions are maintained on the SQL Server database, which uses little network bandwidth, but it has a cumulative performance impact on the computer running SQL Server. REFERENCE: MSDN - .NET Framework 4, Contents: sessionState Element (ASP.NET Settings Schema), ASP.NET Session State
QUESTION NO: 26(A) Which event of the Control class occurs when a server control is loaded into the Page object? A. PreLoad B. Load
http://www.testkingweb.com/microsoft-70-515.html
Page 26 of 234