EN VI
Posts (0)
Questions (88)
2024-03-11 22:00:12
The first two words are not preceded by a comma where as the last two words are not followed by a comma. Therefore, we have to distinguish 2 cases separated by OR (regex |): \w+\s+\w+(?=,)|(? Hello S...
Tags: c# regex
2024-03-12 00:00:08
I think this happens due to the following: AddAzureClientsCore which is invoked by AddAzureClients tries to register NullLoggerFactory as ILoggerFactory: collection.TryAddSingleton(); While AddLoggin...
2024-03-12 00:00:10
You can use a compound literal: const valid_options_t my_size_opts = {.name="size", .nb=3, .list = (const char *[]) { "large", "medium", "small" } }; The form of a compound literal is (T...
Tags: arrays c# string
2024-03-12 03:00:04
The binding source of SelectedItem must have the same type as the type that is used in the ItemsSource, in your case that's Patio, while you're trying to use a string for it, which isn't possible. Cha...
Tags: c# android mvvm
2024-03-12 03:00:09
I think this happens due to the following: AddAzureClientsCore which is invoked by AddAzureClients tries to register NullLoggerFactory as ILoggerFactory: collection.TryAddSingleton(); While AddLoggin...
2024-03-12 07:00:04
You should add to web.config WebDAVModule and WebDAV in publish files like this:
Tags: c# asp.net .net
2024-03-12 09:00:06
Clock on the razor page in Blazor 8 . But nothing changed. How can I make it work automatically? Well, based on your description and shared code snippet it seems that you are trying to make a clock...
Tags: c# asp.net-core blazor
2024-03-12 12:30:05
Try the Loaded event: public MainWindow() { this.InitializeComponent(); this.txtLogin.Loaded += (s, e) => { this.txtLogin.Focus(FocusState.Programmatic); }; }
Tags: c# winui-3
2024-03-12 18:00:15
You're currently waiting for GetDataFromApi1Async to complete before you call GetDataFromApi2Async. If you were to call both methods and then await the returned tasks, you'd see them run in parallel....
Tags: c# API async-await
2024-03-12 18:00:16
Official document can be found here: Change a method signature refactoring Right click on the method, choose the Quick Actions menu. Don't use Ctrl+., otherwise you may not see the second menu item....

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login