1. Question: Which of the following is the correct way to expand the size of application URLs in .Net framework 4.0?

    A
    <httpModules maxRequestPathLength="260" maxQueryStringLength="2048" />

    B
    <httpRuntime maxRequestPathLength="260" maxQueryStringLength="2048" />

    C
    <httpHandlers maxRequestPathLength="260" maxQueryStringLength="2048" />

    D
    None of these

    Note: Not available
    1. Report
  2. Question: How will you implement the logic for the following scenario in .Net framework 4.0? Suppose you have a GridView with paging enabled. You select the third row on page 1 and then move to page 2. Nothing is selected on page 2. When you move back to page 1, the third row should still be selected.

    A
    Set the GridView DataKeyNames property.

    B
    Set the GridView EnablePersistedSelection property to true.

    C
    Set the Gridview PagerSettings-Mode property.

    D
    It is not possible to implement the given logic for the scenario described above.

    Note: Not available
    1. Report
  3. Question: Which of the following statements is correct for the bubbling routing strategies used by the routing events in WPF in .Net framework 4.0?

    A
    This event is first raised on the root, then on each element down the tree until the source element is reached.

    B
    This event is only raised on the source element. It will have the same behavior as a plain .NET event, except that such events can still participate in mechanisms specific to routed events such as event triggers.

    C
    This event is first raised on the source element, then on each element up the tree until the root is reached.

    D
    None of these

    Note: Not available
    1. Report
  4. Question: How many columns can you select by $orderby OData system query option in .Net Framework 4.0?

    A
    5

    B
    12

    C
    20

    D
    infinite

    Note: Not available
    1. Report
  5. Question: Which of the following OData system query options is used to determine the maximum number of records to be returned in .Net framework 4.0?

    A
    $top

    B
    $filter

    C
    select

    D
    $expand

    Note: Not available
    1. Report
  6. Question: How can you determine, at runtime, if your application is running in the 64-bit version of .Net framework 4.0?

    A
    Check IntPtr.Size property for a value of 8.

    B
    Call the Environment.GetEnvironmentVariable method and pass in the string "Platform" as an argument. Check for a return value of "x64".

    C
    all the WOW64 emulator method Isx64() and check the boolean return value.

    Note: Not available
    1. Report
  7. Question: Suppose your WCF service root URL is "http://examples.svc". What will be the response when you request a WCF data service URL with a $skip system query option, as shown below, in .Net framework 4.0? http://examples.svc/Products?$skip=2&$top=2&$orderby=Rating

    A
    The response will be the first two product entries from the collection of all products after sorting the collection in descending order of Rating.

    B
    The response will be the third and fourth product entries from the collection of all products after sorting the collection in ascending order of Rating.

    C
    The response will be the second and third product entries from the collection of all products after sorting the collection in descending order of Rating.

    Note: Not available
    1. Report
  8. Question: Which of the following arrays will be returned as result when you run the following LINQ query in .Net framework 4.0?
    object[] varnumbers = { null, 1.0, "two", 3, "four", 5, "six", 7.0 };
    
    var doubles = varnumbers.OfType<double>();
    
    foreach (var d in doubles)
    {
        Response.Write(d);
    }

    A
    1, 7

    B
    null

    C
    two, four, six

    D
    null, 1.0, "two", 3, "four", 5, "six", 7.0

    Note: Not available
    1. Report
  9. Question: Which of the following ASP.NET MVC namespaces includes the classes that support forms, input controls, links, partial views, and validation in .Net Framework 4.0?

    A
    System.Web.Mvc

    B
    System.Web.Mvc.Async

    C
    System.Web.Mvc.Html

    D
    System.Web.Mvc.Sync

    Note: Not available
    1. Report
  10. Question: What is DLR in .Net framework 4.0?

    A
    It defines the common types that are supported by the languages which are compatible with the .Net framework.

    B
    It represents the data types of different languages in a specific format specification.

    C
    It is a programming language that manages the execution of programs written in any of several supported languages, allowing them to share common object-oriented classes written in any of the languages.

    D
    It is a runtime environment that adds a set of services for dynamic languages to the common language runtime.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd