I am trying to write a C# code, which will block exe files from running. I found a question about the same topic: example question. In the question suggested me
With this code, I am able to get the files that have been shared to the service account email. But, when I shared the folder (that was not owned by me, but is p
I'm using Fluent Validation to validate this model: class MyModel { public int Id {get; set;} public List<ChildModel> Children {get; set;} } clas
I am currently writing unit tests for a TagHelper that uses IActionDescriptorCollectionProvider in its constructor. My setupt looks as below so far - any ideas
The question is as the title suggests. The environment is Xamarin.Forms in Visual Studio 2019 on Windows. The error is not occurring in another project, and I t
I faced pretty strange behavior in my tests, when only one record from the set is not added to the database and this happens from time to time, not always. Here
I'm trying to dynamically create an image within a WebView2, using a source passed in from the WebView2's containing application. The source image exists on an
I am new to .net core. The following code changes all required validation message to "This field is required" for asp.net framework. public class CustomRequir
We are updating an older application to use the "new" Oracle.ManagedDataAccess instead of the locally installed Oracle Client. But since then a simple statement
I have a database-first .net core 3.1 web application which connects to SQL Server database table with a geography column. The database scaffolding and applicat
We have ASP.NET MVC application which is running on windows server machine. I have renamed classes to satisfy sonar scanning. The code deploys and runs without
I am trying to write the test cases for one of the method written in MVC controller and in that method I am reading AppSettings.json file. as below public class
I need to call a function which sets off a bunch of long running database operations from an asp web page. My function is in an external class library. I simply
I setup Identity Server 4 to issue JWT tokens to authenticate users. In Identity Server 4 I have setup the following: public class Resources { public stati
I'm created pfx certificate using by certEntroll when I imported on windows 10 it's imported successfuly but when i tried on windwos 7 i got an error "The passw
On a basic level, I should be able to set an absolute BaseAddress on HttpClient and then send Http requests with a relative Uri. The expectati
I'm currently struggling to send a JSON via post request into my controller to use it further by calling a stored procedure. Here is the post request using axio
All I can find online is "How to check if a coroutine is running", which is not what I want. Say if I have a coroutine with yield return new W
I need the audio file to played when the app runs and it does this successfully, the only problem is is when I move the application to a different PC, the sound
I'm running into a frustratingly stupid problem with the FlatButtonAppearance object, which apparently has a constructor that I can't find any information about