Questions tagged [.net]
Do NOT use for questions about .NET Core - use [.net-core] instead. The .NET framework is a software framework designed mainly for the Microsoft Windows operating system. It includes an implementation of the Base Class Library, Common Language Runtime (commonly referred to as CLR), Common Type System (commonly referred to as CTS) and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++/CLI.
35
questions
0
votes
1
answer
39
views
Problem installing .NET SDK in Visual Studio Code
I'm trying to use C# in VS Code which requires me to install the .NET SDK.
I'm following the steps provided by VS Code to install it, but it doesn't work, even after reinstalling it does not work.
...
0
votes
1
answer
25
views
How to embed Python to .Net?
I tried to embed Python to .Net using pythonnet based on the docs here and here.
Here are my code
Runtime.PythonDLL = @"D:\Dev\Console\.conda\python311.dll";
PythonEngine.Initialize();
...
0
votes
1
answer
42
views
Refactoring command pattern
I have implemented a command pattern for an SDK that I am building in C# but I want to prevent it from being misused. What I currently have (1) is this. Notice how the request's Execute method can be ...
0
votes
0
answers
26
views
.NET MAUI XAML Binding TemplateSelector ViewModel Command
I'm new to .NET MAUI and XAML so I apologize in advance for any written/conceived "heresies".
I have a "Detail" XAML ContentPage to which I have associated a specific viewModel as ...
0
votes
0
answers
7
views
How do I definitively close ODBC connections when Pooling=false appears broken
So, I haven't seen a thread that talks about this from this direction.
I'm trying to write some code to track the average amount of time it takes to open an odbc connection to a database.
I figured it'...