340,311 questions
Score of -1
0 answers
40 views
How to create table in Sqlite in .NET MAUI APPLICATION?
I am a PHP dev, to create databases and tables I use phpMyAdmin. Now I am learning .NET MAUI to create Android applications, but here there is no phpMyAdmin, where can I create the table?
Score of -1
0 answers
81 views
Using custom framework assemblies in a .NET project [closed]
I have a need to use custom core framework assemblies (System.dll, System.*.*, etc) as well as custom mscorlib.dll in my project so I can have proper intellisense/analyzer working on a proper ...
Score of 1
1 answer
119 views
EFCore.BulkExtensions 10: how to update only selected properties of an Owned entity?
I upgraded from EFCore.BulkExtensions 6.8.1 to EFCore.BulkExtensions.SqlServer 10.0.1.
I have an entity with an owned type:
public class MainEntity
{
public OwnedData OwnedData { get; set; }
}
...
Score of 2
3 answers
235 views
Is it safe enough to create a thread in a finalizer?
I have a class which implements IDisposable, for purposes of clean-up and logging. Since all resources managed by this class are managed, it's not necessary for a finalizer to clean them up. In the ...
Score of 5
3 answers
165 views
MemberNotNull doesn't work on static instantiator
I have a static method that initializes an instance of a class with a nullable private set property, and always sets that property to a non-null value. The same guarantee cannot be made for ...
Score of -1
1 answer
122 views
IIS keeps spiking in memory and stopping my WEB APP [closed]
I have a .NET web application hosted on my server with IIS. Usually the IIS process will run for days on end with memory at around 400-500mb. But sometimes which seems totally random to me this memory ...
Best practices
0
votes
2
replies
94
views
.Net Clean architecture solution without Domain Layer and Domain Entities
I am going to develop a large application in .Net 8.0 Clean Architecture. Web APIs will be consumed by React Application and Mobile Application.Heavy reports processing, bulk insert, update, upload ...
Score of 1
1 answer
119 views
Why does Task.Run(async () => await StringGetAsync()).Wait() reduce StackExchange.Redis timeout exceptions?
During load testing, I encountered a significant number of Redis timeout exceptions while reading an epoch value (a simple integer) from Redis. The application is a .NET Core Web API project ...
Best practices
1
vote
4
replies
120
views
Integrating Blazor Server with Client-Side Windows Services for Hardware Access
I hope everyone is doing well.
I have an idea, but I’m struggling to find the proper way to implement it.
I want to create a system that runs a Windows service on the client’s machine. This service ...
Score of -4
1 answer
332 views
.NET regex to detect missing full stops in thumbnails captions on French Wikipedia
There are no full stops at the end of some thumbnail captions on fr.wikipedia.org, but this is mandatory in most cases in French typography (cf. fr:WP:TYPO § POINTS, in French).
I would like a .NET ...
Tooling
3
votes
26
replies
330
views
Is Windows required for C#?
I’ve started my software learning journey with C#, but the courses on YouTube and Udemy consistently proceed using Windows PCs. I use a MacBook Air, so I’m unable to build the Windows Forms ...
Advice
0
votes
1
replies
56
views
Aspose Words doesn't handle mailmerging nested templates
I'm using Aspose Words for automated mail merging and we have several templates (.dot files) that have an included template (mostly in the footer using the {INCLUDETEXT} tag). This "sub" ...
Advice
1
vote
6
replies
193
views
Overhead/Performance of C# IEnumerables implemented with yield return
What is the overhead generated by functions like the in the example below?
public IEnumerable<int> Range(int end) {
for (int i = 0; i < end; i++)
yield return i;
}
What does it ...
Score of 0
0 answers
70 views
dot net 10: When embedding an UIImagePickerController as a child view controller (camera) a UIAlertViewcontroller pops up "Flash Is Disabled"
I am trying to embed a camera into a view controller So I thourght I would use the UIImagePickerController rather that Using an AVCaptureDevice so a added this code
private void ...
Tooling
0
votes
2
replies
62
views
Can't find any OPC Xi (.NET 4.0) libraries or toolkits
I need to write a service that communicates with an industrial instrument that only exposes an OPC Xi (also known as .NET 4.0) interface over WCF. I have been searching for any example clients both in ...