[ DOT NET Programming MCQS ]

झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।

[ DOT NET Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
161. ASP.NET Core में RequestDelegate क्या represent करता है?
[A] HTTP request handler function
[B] Database table
[C] File system
[D] UI component
161. What does RequestDelegate represent?
[A] HTTP request handler
[B] Database table
[C] File system
[D] UI component
सही उत्तर: HTTP request handler function
व्याख्या: Middleware function को represent करता है।
Correct Answer: HTTP request handler
Explanation: Represents middleware function.
162. ASP.NET Core में WebHost vs Generic Host में क्या difference है?
[A] Generic Host more flexible है
[B] WebHost ज्यादा advanced है
[C] दोनों same हैं
[D] कोई use नहीं होता
162. Difference between WebHost and Generic Host?
[A] Generic Host is more flexible
[B] WebHost is more advanced
[C] Both same
[D] No use
सही उत्तर: Generic Host more flexible है
व्याख्या: Modern apps में Generic Host use होता है।
Correct Answer: Generic Host is more flexible
Explanation: Used in modern applications.
163. ASP.NET Core में IConfiguration का मुख्य role क्या है?
[A] App settings provide करना
[B] Database delete करना
[C] File upload करना
[D] UI render करना
163. What is main role of IConfiguration?
[A] Provide app settings
[B] Delete database
[C] Upload file
[D] Render UI
सही उत्तर: App settings provide करना
व्याख्या: Configuration data access करता है।
Correct Answer: Provide app settings
Explanation: Accesses configuration data.
164. ASP.NET Core में middleware ordering क्यों important है?
[A] Request flow control के लिए
[B] Database delete के लिए
[C] File upload के लिए
[D] UI render के लिए
164. Why is middleware ordering important?
[A] Controls request flow
[B] Delete database
[C] Upload file
[D] Render UI
सही उत्तर: Request flow control के लिए
व्याख्या: Execution sequence control करता है।
Correct Answer: Controls request flow
Explanation: Determines execution order.
165. ASP.NET Core में CORS policy क्या करती है?
[A] Cross-origin access control
[B] Database delete
[C] File upload
[D] UI render
165. What does CORS policy do?
[A] Controls cross-origin access
[B] Delete database
[C] Upload file
[D] Render UI
सही उत्तर: Cross-origin access control
व्याख्या: Different domains access allow करती है।
Correct Answer: Controls cross-origin access
Explanation: Allows cross domain requests.
166. ASP.NET Core में logging category क्या होती है?
[A] Source of log messages
[B] Database table
[C] File system
[D] UI component
166. What is logging category?
[A] Source of logs
[B] Database table
[C] File system
[D] UI component
सही उत्तर: Source of log messages
व्याख्या: Logs को classify करता है।
Correct Answer: Source of logs
Explanation: Classifies log messages.
167. ASP.NET Core में IConfiguration reloadOnChange क्या करता है?
[A] Config auto update करता है
[B] Database delete करता है
[C] File upload करता है
[D] UI render करता है
167. What does reloadOnChange do?
[A] Auto updates config
[B] Delete database
[C] Upload file
[D] Render UI
सही उत्तर: Config auto update करता है
व्याख्या: Changes automatically reflect होते हैं।
Correct Answer: Auto updates config
Explanation: Reflects config changes automatically.
168. ASP.NET Core में health check endpoint का default URL क्या होता है?
[A] /health
[B] /status
[C] /check
[D] /api/healthcheck
168. Default health check URL?
[A] /health
[B] /status
[C] /check
[D] /api/healthcheck
सही उत्तर: /health
व्याख्या: System health monitor करता है।
Correct Answer: /health
Explanation: Used for system health.
169. ASP.NET Core में endpoint routing किस version से introduced हुआ?
[A] .NET Core 3.0
[B] .NET Core 2.0
[C] .NET Core 1.0
[D] .NET Framework
169. When was endpoint routing introduced?
[A] .NET Core 3.0
[B] .NET Core 2.0
[C] .NET Core 1.0
[D] .NET Framework
सही उत्तर: .NET Core 3.0
व्याख्या: Modern routing system introduced हुआ।
Correct Answer: .NET Core 3.0
Explanation: Introduced in .NET Core 3.0.
170. ASP.NET Core में MVC pattern क्या define करता है?
[A] Separation of concerns
[B] Database design
[C] File system
[D] UI only
170. What does MVC pattern define?
[A] Separation of concerns
[B] Database design
[C] File system
[D] UI only
सही उत्तर: Separation of concerns
व्याख्या: Model, View, Controller separation करता है।
Correct Answer: Separation of concerns
Explanation: Separates Model, View, Controller.