[ DOT NET Core MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ DOT NET Core MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
241. Minimal API का मुख्य लाभ क्या है?
[A] Less Boilerplate Code
[B] More Database Access
[C] More Memory Usage
[D] Complex Routing
241. What is the main benefit of Minimal APIs?
[A] Less Boilerplate Code
[B] More Database Access
[C] More Memory Usage
[D] Complex Routing
सही उत्तर: Less Boilerplate Code
व्याख्या: Minimal APIs कम Code में API बनाने की सुविधा देती हैं।
Correct Answer: Less Boilerplate Code
Explanation: Minimal APIs reduce boilerplate code.
242. Program.cs Simplification किस Version में आई?
[A] .NET 6
[B] .NET Core 3.1
[C] .NET 5
[D] .NET Core 2.0
242. In which version was Program.cs simplified?
[A] .NET 6
[B] .NET Core 3.1
[C] .NET 5
[D] .NET Core 2.0
सही उत्तर: .NET 6
व्याख्या: .NET 6 में Startup.cs की आवश्यकता कम हो गई।
Correct Answer: .NET 6
Explanation: .NET 6 simplified Program.cs and reduced Startup.cs usage.
243. Global Using Directives किस Version में Introduce हुए?
[A] C# 10
[B] C# 8
[C] C# 7
[D] C# 9
243. In which version were Global Using Directives introduced?
[A] C# 10
[B] C# 8
[C] C# 7
[D] C# 9
सही उत्तर: C# 10
व्याख्या: Global Using बार-बार Using Statements लिखने से बचाता है।
Correct Answer: C# 10
Explanation: Global usings reduce repeated using statements.
244. File Scoped Namespace किस Version में Introduce हुआ?
[A] C# 10
[B] C# 8
[C] C# 9
[D] C# 7
244. In which version was File Scoped Namespace introduced?
[A] C# 10
[B] C# 8
[C] C# 9
[D] C# 7
सही उत्तर: C# 10
व्याख्या: File Scoped Namespace Code Nesting कम करता है।
Correct Answer: C# 10
Explanation: File scoped namespaces reduce code nesting.
245. Rate Limiting का मुख्य उद्देश्य क्या है?
[A] Requests Control करना
[B] Database Backup
[C] Caching
[D] Compilation
245. What is the main purpose of Rate Limiting?
[A] Control Requests
[B] Database Backup
[C] Caching
[D] Compilation
सही उत्तर: Requests Control करना
व्याख्या: Rate Limiting API Abuse को रोकने में सहायता करती है।
Correct Answer: Control Requests
Explanation: Rate limiting helps prevent API abuse.
246. ASP.NET Core में Rate Limiting किस Version में Built-in आई?
[A] .NET 7
[B] .NET 5
[C] .NET Core 3.1
[D] .NET 6
246. In which version was built-in Rate Limiting introduced?
[A] .NET 7
[B] .NET 5
[C] .NET Core 3.1
[D] .NET 6
सही उत्तर: .NET 7
व्याख्या: .NET 7 में Built-in Rate Limiting Middleware Introduce हुई।
Correct Answer: .NET 7
Explanation: Built-in rate limiting middleware was introduced in .NET 7.
247. Output Caching का उद्देश्य क्या है?
[A] Response Performance Improve करना
[B] Database Creation
[C] Authentication
[D] Routing
247. What is the purpose of Output Caching?
[A] Improve Response Performance
[B] Database Creation
[C] Authentication
[D] Routing
सही उत्तर: Response Performance Improve करना
व्याख्या: Output Caching Responses को Cache करके Performance बढ़ाती है।
Correct Answer: Improve Response Performance
Explanation: Output caching improves performance by caching responses.
248. Output Caching किस Version में Introduce हुई?
[A] .NET 7
[B] .NET 5
[C] .NET Core 2.1
[D] .NET 6
248. In which version was Output Caching introduced?
[A] .NET 7
[B] .NET 5
[C] .NET Core 2.1
[D] .NET 6
सही उत्तर: .NET 7
व्याख्या: Output Cache Middleware .NET 7 में Introduce हुई।
Correct Answer: .NET 7
Explanation: Output caching middleware was introduced in .NET 7.
249. Source Generator क्या है?
[A] Compile Time Code Generation Tool
[B] Database Tool
[C] Runtime Compiler
[D] Logging Tool
249. What is a Source Generator?
[A] Compile Time Code Generation Tool
[B] Database Tool
[C] Runtime Compiler
[D] Logging Tool
सही उत्तर: Compile Time Code Generation Tool
व्याख्या: Source Generators Compile Time पर Additional Code Generate करते हैं।
Correct Answer: Compile Time Code Generation Tool
Explanation: Source generators generate code during compilation.
250. Native AOT का पूरा नाम क्या है?
[A] Ahead Of Time Compilation
[B] Automatic Object Translation
[C] Advanced Object Technology
[D] Application Optimization Tool
250. What does Native AOT stand for?
[A] Ahead Of Time Compilation
[B] Automatic Object Translation
[C] Advanced Object Technology
[D] Application Optimization Tool
सही उत्तर: Ahead Of Time Compilation
व्याख्या: Native AOT Application को Native Binary में Compile करता है।
Correct Answer: Ahead Of Time Compilation
Explanation: Native AOT compiles applications into native binaries.