[ DOT NET Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ DOT NET Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
71. ASP.NET Core में IActionResult क्या है?
[A] Response type
[B] Database object
[C] File system
[D] UI component
71. What is IActionResult?
[A] Response type
[B] Database object
[C] File system
[D] UI component
सही उत्तर: Response type
व्याख्या: Controller response return करता है।
Correct Answer: Response type
Explanation: Returns controller response.
72. Ok() method क्या return करता है?
[A] 200 status response
[B] 404 error
[C] 500 error
[D] Redirect
72. What does Ok() return?
[A] 200 response
[B] 404 error
[C] 500 error
[D] Redirect
सही उत्तर: 200 status response
व्याख्या: Successful response return करता है।
Correct Answer: 200 response
Explanation: Returns success response.
73. BadRequest() का उपयोग कब होता है?
[A] Invalid input पर
[B] Success पर
[C] Redirect पर
[D] File upload पर
73. When is BadRequest() used?
[A] Invalid input
[B] Success
[C] Redirect
[D] File upload
सही उत्तर: Invalid input पर
व्याख्या: 400 status code return करता है।
Correct Answer: Invalid input
Explanation: Returns 400 error.
74. NotFound() method क्या return करता है?
[A] 404 response
[B] 200 response
[C] 500 response
[D] Redirect
74. What does NotFound() return?
[A] 404 response
[B] 200 response
[C] 500 response
[D] Redirect
सही उत्तर: 404 response
व्याख्या: Resource not found बताता है।
Correct Answer: 404 response
Explanation: Resource not found.
75. ASP.NET Core में app.UseEndpoints() का उपयोग क्या है?
[A] Route mapping के लिए
[B] Database delete के लिए
[C] File upload के लिए
[D] Memory clear के लिए
75. What is app.UseEndpoints() used for?
[A] Route mapping
[B] Delete database
[C] Upload file
[D] Clear memory
सही उत्तर: Route mapping के लिए
व्याख्या: Endpoints configure करता है।
Correct Answer: Route mapping
Explanation: Configures endpoints.
76. Middleware chain क्या होता है?
[A] Sequential execution of middleware
[B] Database table
[C] File system
[D] UI layout
76. What is middleware chain?
[A] Sequential middleware execution
[B] Database table
[C] File system
[D] UI layout
सही उत्तर: Sequential execution of middleware
व्याख्या: Request pipeline order होता है।
Correct Answer: Sequential execution
Explanation: Request pipeline order.
77. ASP.NET Core में static files कहाँ serve होते हैं?
[A] wwwroot folder
[B] Controllers folder
[C] Models folder
[D] Views folder
77. Where are static files served in ASP.NET Core?
[A] wwwroot folder
[B] Controllers folder
[C] Models folder
[D] Views folder
सही उत्तर: wwwroot folder
व्याख्या: Static content यहाँ रखा जाता है।
Correct Answer: wwwroot folder
Explanation: Stores static content.
78. Configuration binding क्या करता है?
[A] Config values model में map करता है
[B] Database delete करता है
[C] File compress करता है
[D] UI render करता है
78. What does configuration binding do?
[A] Maps config to model
[B] Delete database
[C] Compress file
[D] Render UI
सही उत्तर: Config values model में map करता है
व्याख्या: Strongly typed configuration बनाता है।
Correct Answer: Maps config to model
Explanation: Creates strongly typed config.
79. ASP.NET Core में logging levels क्या होते हैं?
[A] Information, Warning, Error
[B] Only Error
[C] Only Debug
[D] Only Info
79. What are logging levels?
[A] Information, Warning, Error
[B] Only Error
[C] Only Debug
[D] Only Info
सही उत्तर: Information, Warning, Error
व्याख्या: Different severity levels होते हैं।
Correct Answer: Information, Warning, Error
Explanation: Different severity levels.
80. Rate Limiting का उपयोग क्यों होता है?
[A] API abuse रोकने के लिए
[B] Database delete करने के लिए
[C] UI design करने के लिए
[D] File compress करने के लिए
80. Why is rate limiting used?
[A] Prevent API abuse
[B] Delete database
[C] Design UI
[D] Compress file
सही उत्तर: API abuse रोकने के लिए
व्याख्या: Requests limit करता है।
Correct Answer: Prevent API abuse
Explanation: Limits number of requests.