Questions tagged [scoped]

32 questions
10
votes
4 answers

Razor Pages - CSS Isolation - styles for some HTML tags are not working

I'm trying to style body, header and form tags in my ASP.NET Web App using Razor Pages, CSS Isolation. Styles created in scoped CSS file (_Layout.cshtml.css) for some HTML tags are not working. The same for other components files. Adding a class for…
Robur
  • 101
  • 1
  • 3
3
votes
2 answers

When to use following Transient, scoped and singleton

I read some articles about this and I get to know how to use Transient, Scoped, and Singleton but I am confused when to use one of these. What I am understood: Singleton: In situation when you need to store number of employees then you can create…
2
votes
1 answer

What is the difference with dependency injection when using typeof?

I was investigating a connection issue and came across the code. I tried to research the difference but could not find any clear answer to the question. The main issue we faced was connections not closing for the service bus when using Azure's…
Willem
  • 73
  • 8
2
votes
0 answers

Unzip a file using Scoped Storage in Android

I'm creating an Android app which I need to unzip a file in Android/data folder, I'm already done with asking permissions to write at this folder using Scoped Storage with getContentResolver().takePersistableUriPermission() method. My question is…
2
votes
1 answer

scoop doest give the same outcome

nrow(filter(dataframe, fracture_type_1 == 1)) + nrow(filter(dataframe, fracture_type_2 == 1)) + nrow(filter(dataframe, fracture_type_3 == 1)) + nrow(filter(dataframe, fracture_type_4 == 1)) + nrow(filter(dataframe, fracture_type_5 == 1))…
2
votes
0 answers

Vue3 css variable injection

I’ve seen we can use variable injection to our style using this However, I’m not managing at all to pass any variable given that the setup uses Vue3 and the style is scoped and using lang="scss". Here below an example of how I did it: