Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
17 views

Which Class in WPF Adds Additional Framework

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Which Class in WPF Adds Additional Framework

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1.

Which class in WPF adds additional framework-level implementations to the


functionality provided by UIElement?
➔ FrameworkElement
2. What are static files in ASP.NET Core API Project?
➔ All of the other (html, css, js, image)
3. gRPC services couldn't be hosted by which ASP.NET Core server?
➔ None of the others (testserver, kestrel, iis, http.sys)
4. Which version of .NET Framework first included Entity Framework?
➔ .NET Framework 3.5
5. What is the primary purpose of the System.Xaml.dll assembly in WPF?
➔ It allows programming against a XAML document at runtime
6. Which one is not a microservice attribute?
➔ Combined functionality
7. JavaScript is a powerful programming language for calling ASP.NET Core Web API.
Which object is used to call the Web API from JavaScript object?
➔ XMLHttpRequest (XHR) object
8. In the case the request is simple, input parameter are of type int, string, boolean, GUID,
decimal, etC) and is available in the URL, then such kind of request is mapped to what
model binding?
➔ Primitive model binding
9. Which of the following statements related to the Hyper-Threading (HT) is True?
➔ In Hyper-threading (HT) technology, each of these logical cores is called a
hardware thread and can be scheduled separately by the operating system (OS)
scheduler.
10. Which method in DbContext is used to save all entity changes to the database?
➔ SaveChanges
11. Which WPF feature allows defining the Ul of an application via XML markup?
➔ XAML
12. Handler methods in Razor Pages are methods that are automatically executed as a result
of a request. Choose the correct answer of handler methods in Razor Pages.
➔ All of the others (The default convention works by matching the HTTP verb used for
the request to the name of the method: OnGet(), OnPost(), OnPut() etc - Handler methods
also have optional asynchronous equivalents: OnPostAsync(), OnGetAsync() etc.)
13. What is the main purpose of the PresentationFramework.dll assembly in WPF?
➔ It contains a majority of the WPF controls and support for data binding
14. Which of the following types is part of the System.Windows.Controls namespace?
➔ Button
15. What is content negotiation?
➔ Content negotiation is a mechanism that can be used to serve different
representations of the same resource at a given URI, providing ability to their clients
to decide the best suited representations.
16. Which of the following ways can be used to create a task using Task class in .NET?
➔ All of the other ( Using lambda expressions syntax, Using delegate, Using the
Action delegate)
17. What are media type formatters in ASP.NET Core Web API?
➔ Media type formatters are classes that are responsible for serialization data.
18. Which of the following classes of the System.Threading.Tasks Namespace provides
support for creating and scheduling Task objects?
➔ TaskFactory
19. What is a Model in ASP.NET Core Web API?
➔ A model is a class with .cs (for C#) as an extension having both properties and
methods.
20. Choose the correct statement about key components of the System.Net. Namespaces
➔ A WebClient facade class for simple download/uploadoperations via HTTP or FTP
21. To enable SignalR in the specific application, call the AddSignalR extension method to
configure the loc container with services required by SignalR. Choose following code to
add to ConfigureServices method (Startup.cs).
➔ public void ConfigureServices (IServiceCollection services) {// ...
services.AddSignalR(); } public void Configure(IApplicationBuilder app,
HostingEnvironment env) { // ... app.UseAuthentication(); app.UseMvc();
app.UseSignalR (builder => { builder.MapHub("/chat"); }); }
22. What is the role of the System.Windows.Media namespace in WPF?
➔ To work with animations, 3D rendering, text rendering, and multimedia primitives
23. What is the role of the OnModelCreating method in DbContext?
➔ To define the model and its mappings using the Fluent API
24. Which feature is not supported by Entity Framework 6 (EF6)?
➔ Running cross-platform
25. What is JSON?
➔ Js Object Notation: it is a lightweight format designed to store and transport data
26. Which of the following is not a layout panel in WPF?
➔ Content Control
27. In the case working ASP.NET SignalR with JavaScript client library, which the
following code to create and start a connection?
➔ var connection = new signalR.HubConnectionBuilder() .withUrl("/chatHub")
.build(); connection.start();
28. Choose the correct statement related to the HttpClient Class
➔ HttpClient provides another layer on top of HttpWebRequest and HttpWeb
Response
29. Which of the following is not a supported database provider in EF Core?
➔ MongoDB
30. Which query function that the Web API is not support standard OData string?
➔ containsIgnoreCase $filter=containsignorecase(name,'(Sample)')
31. Which layer in the 3-layer architecture contains the business rules and logic of an
application?
➔ Business Logic Layer
32. Which OData query option that determine all attributes or properties to include in the
fetched result:
➔ $select
33. Which one is not a middleware in ASP.NET Core Web AΑΡΙ?
➔ Consulting
34. Which utility can be used to create WSDL from WCF services?
➔ SvcUtil.exe
35. ASP.NET Core SignalR supports two protocols for encoding messages. Each protocol
has serialization configuration options. Please choose the correct protocols.
➔ JSON and MessagePack
36. Not used to describe authentication method?
➔ Something you like
37. Which of the following is a key benefit of using XAML in WPF?
➔ Separation of UI design and business logic
38. SignalR provides two models for communicate between clients and severs: Persistent
Connections, Hubs. Choose the correct information about Persistent Connections.
➔ Persistent Connections provide direct access to a low-level communication
protocol that signalR provides. Each client connection to a server is identified by a
connectionID.
39. Choose the correct statement related to Mono-Processor Systems.
➔ The mono-processor systems use old-fashioned, classic computer architecture and
were developed by the outstanding mathematician, John von Neumann
40. Choose the option that is not one of the characteristics of a REST based network?
➔ Stateful
41. What is the purpose of the DbContext class in EF Core?
➔ To send commands to the database and manage entity objects
42. Choose the correct statement related to Networking Definitions.
➔ IP address (Internet Protocol): unsigned integer helps to identify a network
element(computer, router, etc)
43. Choose the correct information about scaling RESTful web services.
➔ RESTful web services support both vertical and horizontal scaling
44. Which WPF feature allows applications to look great on high DPI monitors and to be
infinitely scaled?
➔ Vector graphics architecture
45. Which of the following properties of the WebRequest class can be used to get the URI
of the Internet resource associated with the request?
➔ RequestUri
46. What does XAML stand for?
➔ Extensible Application Markup Language
47. To configure a custom number of reconnect attempts before disconnecting or change
the reconnect timing, the with AutomaticReconnect accepts an array of numbers
representing the delay in milliseconds to wait before starting each reconnect attempt.
Choose the correct option for making automatically reconnect.
➔ const connection = new signalR.HubConnectionBuilder() .withUrl("/chathub")
.withAutomaticReconnect([0, 0, 10000]) .build();
48. Which of the following is executed on each request in RESTful with ASP.NET Core
Web API?
➔ Middlewares
49. Which class in WPF is used to create and manage the main window of an application?
➔ Window
50. Which of the message exchange patterns is not supported in WCF?
➔ Multi-way
51. What is the main benefit of using vector graphics in WPF applications?
➔ They look great on high DPI monitors and can be infinitely scaled
52. Which advantage is commonly associated with using a 3-layer architecture in
application development?
➔ Improved code maintainability and separation of concerns
53. In EF Core, what does the iterm "shadow properties" refer to?
➔ Properties that map to database columns not present in the class

You might also like