1. Question: Which of the following statements is correct for WSHttpBinding of WCF in .Net framework 4.0?

    A
    It is a secure and interoperable binding that is suitable for non-duplex service contracts.

    B
    It is a secure and interoperable binding that is suitable for duplex service contracts or communication through SOAP intermediaries.

    C
    It is a secure and optimized binding suitable for cross-machine communication between WCF applications.

    D
    It is a queued binding that is suitable for cross-machine communication between WCF applications.

    Note: Not available
    1. Report
  2. Question: What result will you get when you run the following LINQ query in .Net framework 4.0?
    var scoreRecords = new[] { new {Name = "Alice", Score = 50},
        new {Name = "Bob" , Score = 40},
        new {Name = "Cathy", Score = 45}
    };
    var scoreRecordsDict = scoreRecords.ToDictionary(sr =>sr.Name);
    Response.Write(scoreRecordsDict["Bob"]);

    A
    { Name = Bob}

    B
    { Name = Bob, Score = 40 }

    C
    Name = Bob

    D
    None of thses

    Note: Not available
    1. Report
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
Copyright © 2024. Powered by Intellect Software Ltd