I'm constructing a set of filter-classes which will all have the same method 'Applyfilter'. How should I define the interface which contains apply filter? The o
I need to encode a URL in a class library assembly where I don't want to reference System.Web. The URL contains several spaces https://query.yahooapis.com/v1/p
I have been searching intensively, but the returning results are not quite what I am trying to achieve. I want to access a remote folder on a server. The pain p
Thanks in advance. Can anyone please help me get this button working so I can display a row from the Northwind database 'only' when the button is clicked. I h
I wrote a code but for some reason it doesn't work...can you tell me what's wrong? I want the app not to stop when I get an exception, only to send that excepti
I've configured my db context to retry on failure this way: optionsBuilder.UseSqlServer(connectionString, sqlServerOptionsAction: sqlOptions => {
It almost works after the following steps: Install the hosted version of blazorwasm template app. dotnet new blazorwasm --hosted -o HostedWasm Copy _Hosted.cs
I have literally seen thousands of these "WCF" questions on the internet so far, but I am beginning to think that it is impossible. Please someone tell me I am
I am working with winForms in c#. I want to access video file from resources without using any dialog box for load or select. That means I want directly store v
The website I have written requires a convert web page to PDF functionality. After looking at the options HiQPdf looked like the best option and did all that wa
When I try to insert an array as one of the Values in local.settings.json file: { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "", "Azu
I'm trying to parameterize a raw SQL query for an Oracle synonym (non-entity) in EF 4 and I am having some problems. Currently I am doing something like the co
In my ASP.NET Core application, I get the following error: InvalidOperationException: Unable to resolve service for type 'Cities.Models.IRepository' while atte
Due to the third party system we work against, I have to use .Net 2.1, which has worked fine until recently. I develop on Fedora with latest updates and VSCode
I launch a window from a page of my wpf app and I would like to call a function when a button is pressed in the child window Here is the page that calls the wi
How can I set the base path in ConfigurationBuilder in Core 2.0. I have googled and found this question, this from Microsoft docs, and the 2.0 docs online but
As soon as possible I will start a bounty and award 150 (that's what I have) points for solution. I am developing Outlook add in. When message is sent, add in
I have a C# application which contains objects whose data I want to transfer to Salesforce using the REST API. I would like to allow my users to create a mappin
dotnet test uses trx output by default. I am using trx2junit to convert it to junit, but this complicates CI setup. Is it possible to output test report in juni
I need to let a .reg file and a .msi file execute automatically using whatever executables these two file types associated with on user's Windows. .NET Core 2.