.net Questions
2
I'm trying to bumble my way through making a cross platform camera app in .Net MAUI.
I've achieved everything I want so far, but the last step is having the app resize the image before saving.
I'm ...
3
Solved
I had dotnet-sdk-7.0 installed and everything worked perfectly. Yesterday I installed dotnet-sdk-8.0 from the Microsoft package repository removing the existing .NET packages from my distribution f...
3
I'm using VS 2019 and working with an ASP.NET MVC project.
I got merge conflicts that had to be resolved manually. The problem is that the button for “Merge changes in merge tool” at the top of the...
Scyphozoan asked 20/5, 2021 at 13:16
2
Solved
I'm using Azure SignalR Services, which is running in the cloud, and running an Azure Function App, which runs locally on my laptop on localhost. I have the following hub:
public class LeaderboardH...
Resent asked 7/10, 2022 at 3:13
2
Solved
My ultimate objective is to build a class library (Calculator.dll) in C#, containing functions that will be made accessible to Excel via VBA.
I had hoped to avoid the need to register the dll, and ...
Parenteral asked 30/12, 2022 at 22:50
2
When running dotnet test inside a gitlab cicd pipeline with the package testcontainer, containers are started but this error appears :
Error Message:
Docker.DotNet.DockerApiException : Docker API ...
Neela asked 7/9, 2023 at 13:8
2
I'm trying to figuring out versioning in .Net core Web Api 2.0 and I have some questions after seeing a lot of 'tutorials'.
For example I have a large api with a lot of controllers/models/etc.
1. W...
Berthaberthe asked 22/6, 2020 at 12:41
5
Solved
I am using castle DynamicProxy and was wondering if there is a way of detecting if a Type is a proxy without referencing Castle DynamicProxy?
So while I am using Castle DynamicProxy as an example ...
Nolte asked 28/7, 2009 at 11:1
5
Solved
I recently tested the WPF UI library (https://wpfui.lepo.co/). I created a sample project, and that project targeted .NET 6.0. The sample project contained some basic Models and ViewModels, and in ...
Matz asked 27/9, 2022 at 9:15
2
Solved
EF Core 5 has various events, but they relate to DbContext. There are no events related to migrations (Migration).
I want to run custom code after all migrations are applied - whether triggered by ...
Brownstone asked 11/12, 2021 at 4:53
2
I am getting following error :
create_nuget
The file '/home/runner/work/MyNugetPackage/MyNugetPackage/MyNugetPackage/bin/Release/net6.0/MyNugetPackage.dll' to be packed was not found on disk.
This...
Endomorph asked 13/11, 2023 at 6:51
2
Solved
I've beat my head against the wall for a couple of days on this one. No amount of Googling or messing around seems to yield the answer.
I want to run a T4 template at build time. In it, I need to ...
2
Can someone tell me how using .NET MAUI I can force the system to open system settings, or better system settings > myApp > permissions ? I am trying to write code which redirect user to sett...
2
Solved
I'm trying to write an extension method that will add the function HasFactor to the class int in C#. This works wonderfully, like so:
static class ExtendInt
{
public static bool HasFactor(this in...
Hifalutin asked 1/1, 2010 at 23:41
4
Solved
I'd like to peek all messages from several Azure Service Bus queues. After that I want to filter them after queueName, insertDate and give the opportunity to make a full text search on the body.
Cu...
Usurer asked 26/3, 2021 at 9:48
6
Solved
I need to debug some assemblies due to they throw exceptions. It's my assemblies but I don't have the source code of them. What I have is their pdb files.
Is there any way to debug that assemblies...
Promoter asked 21/11, 2012 at 16:3
1
I have two questions. I installed Unity and Unity MVC packages to start investigating it. I got some simple controller constructor injection working by registering some types, so it's going well. I...
Bunker asked 14/11, 2017 at 1:26
5
Solved
i was containerizing my .Net + React.js application but during the process I have encountered an unexpected error. I got myself acquainted with similar posts but none of the solutions solved my pro...
2
Before 2019
I used to generate the clients to consume WCF services with Visual Studio 2017 or Rider (the behavior is the same). What happens is that the generated client inherits of System.Service...
Schreib asked 21/6, 2019 at 9:52
4
Solved
I'm storing some IConfiguration as json in my sqlserver db so I can then bind them to some already constructed classes in order to provide dynamic settings.
At some point I might change the binded ...
Glowworm asked 3/7, 2020 at 10:29
7
Solved
I'd like to order my list by a string converted into an int:
var orderedListOfRfidTags = uow.RfidTags.OrderBy(t => Convert.ToInt32(t.Number)).ToList();
but get: The method 'ToInt32' is not su...
Marianomaribel asked 12/5, 2011 at 21:52
2
Solved
I am trying to read the application name from the App.Config. This is net461 console app. I have added the Serilog.Settings.AppSettings package. And also added the following serilog configs on App....
Secret asked 16/1, 2018 at 11:35
3
Solved
We have a database with multiple tables with Same structure
Table 1
Key ID ........
Table 2
Key ID .......
The number of tables can be dynamic based on configuration.
I am trying to upgrade t...
Posticous asked 14/7, 2016 at 11:10
2
Solved
I want to store a .NET object into Azure Blob Storage.
Currently I serialize it into an XML file using TextWriter (episodeList is the object I want serialized):
XmlAttributeOverrides overrides = ...
Ebullient asked 14/6, 2012 at 13:8
3
Solved
I'm working on a WCF service, in which I'm trying to load data from one data table passed to the method, into another data table from the local database (in this case, the "local" database is a SQL...
Alien asked 17/4, 2012 at 17:30
1 Next >
© 2022 - 2024 — McMap. All rights reserved.