Search Header Logo

Service scopes

Authored by Abduvokhid Abdukhakimov

Architecture

2nd Grade

Used 1+ times

Service scopes
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

.NET dagi default (standard) service scope qaysi?

Transient

Scoped

Singleton

Hech qaysi

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qaysi servis scope har bir request (so'rov) uchun alohida instance (nusxa) yaratadi?

Transient

Scoped

Singleton

Hech qaysi

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ASP.NET Web dasturida bitta request davomidan uzoqroq davom etuvchi service uchun qanday serivce scope tanlash kerak?

Transient

Singleton

Scoped

Hosted

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Service'ni Transient usulida qo'shish uchun qaysi extension method ishlatiladi?

AddSingleton()

AddScoped()

AddTransient()

AddHosted()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Agar service Singleton qilib joylangan bo'lsa, uni nechta instance (nusxasi) yaratiladi?

Dastur bo'ylab yagona nusxasi

Request (so'rov) davomida yagona nusxasi

Har bir scope (hudud) uchun alohida nusxasi

Ehtiyojga qarab bir nechta nusxalari

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Scoped servicening instance (nusxa)si qancha yashaydi?

Dastur davomida yashaydi

Request davomida yashaydi

Ochiqchasiga dispose qiliinguncha yashaydi

Keyingi Gargabe Collection gacha yashaydi

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qaysi service turi bir martalik, session ma'lumotlarini saqlamaydigan servicelar uchun qulay?

Scoped

Singleton

Transient

Hech qaysi

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?