All Questions
3,626
questions
0
votes
0
answers
33
views
Unable to resolve service for type 'WebAPI.Models.ZamanlaContext' while attempting to activate 'WebAPI.Controllers.StoryTellingController'
I'm encountering an issue with my ASP.NET Core Web API project. When trying to access data through the /api/StoryTelling endpoint, I'm getting the following error:
"Message": "Unable to ...
0
votes
0
answers
12
views
Cancel process when loading data with Livewire
I am using Migrations to implement a code-first Approach in my Project. My project has multiple libraries. I need EF dependencies in my startup project to make migrations from another library. Is ...
0
votes
0
answers
86
views
How to translate text in c#?
How can I translate a string in english to spanish in c#?
string bio="my name is xyz";
I made a culture to convert the string:
string bio = "my name is xyz";
var culture = new ...
0
votes
0
answers
65
views
Communication with "Async" Service in Complex System Architecture
In our system, we have around 16 microservices that communicate seamlessly using events through a message broker. These microservices use gRPC as their endpoint communication protocol, with an ...
0
votes
1
answer
121
views
How to secure and retrieve string data with a consistent length using encryption and decryption in .NET
We aspire to achieve encryption and decryption in a way that ensures the length of the encrypted result aligns with the length of the original data. How can this objective be accomplished in .NET code?...
0
votes
0
answers
18
views
How do I get rid of System.InvalidOperationException for entity type 'Font' in Visual Studio 2022 C# .NET application?
Hello I have a problem with my C# application. It's an app for showing all the data in our company (workers, cars etc.). Here I have the workers class and I need to show data from a database. So I ...
1
vote
0
answers
83
views
How to get all tracklog of member in club (with name athlete and time start every run) Strava through API V3
I write a service get data from club Strava for Running Club. I want show on dashboard with some infor like that: fullname, distance, moving_time, elapsed_time, time start tracklog, ...
I call api api/...
0
votes
1
answer
51
views
Unable to retrieve attribute names/values from XmlReader after validation in C#
I need to write a c# code to extract attribute info from an XML when the validation fails. The code I have below is able to give me the exact attribute that fails the validation but I need additional ...
0
votes
0
answers
51
views
C# / .NET 7 : Shopify Uninstall Webhook returns null response
I am building a shopify app and the uninstall webhook is not working as intended
[HttpPost]
public async Task<StatusCodeResult> AppUninstalled([FromQuery] string shop)
{
// ....
// .... ...
0
votes
0
answers
56
views
I want to ignore error alerts in C# DataGridview
I am using C# DatagridView and I am getting this error.
Here is log
Consulte o final desta mensagem para obter detalhes sobre como chamar a
depuração just-in-time (JIT) em vez desta caixa de diálogo.
...
1
vote
0
answers
79
views
We have Upgraded a windows service from. Net4.7.2 framework to. NetCore 6.0, We are encountering issue when we start the service through service.msc
Error Details are as follows:
Application:Myservice.exe
CoreCLR Version: 6.0.2123.36311
.NET Version: 6.0.21
Description: The process was terminated due to an unhandled exception.
Exception Info: ...
0
votes
2
answers
256
views
extract data from List<List<T>> in C#
class FieldType
{
string Id {get; set;}
string dataType {get;set;}
}
class Field
{
int fId{get;set;}
string fName{get;set;}
FieldType fType{get;set;}
string data;
}
class ...
0
votes
3
answers
74
views
evaluated at compile time
What the difference between two examples?
example 1:
int x = int.MaxValue + 1; // Compile-time error
example 2;
int x = int.MaxValue; x = x + 1; // no Compile-time error
The Author of A Nutshell book ...
0
votes
1
answer
67
views
How to get total element tag?
I have the list string with some tags is defined, I want to count how many total element in each tag.
<L1 //2 element
<L1 //1 element
<H1 content>
>
<L1 //3 element
<H2 ...
0
votes
0
answers
29
views
MultiSelect List from UI to Model
i am presently working on an API to create form data. however one of the fields is Multiselect with options.
MY model looks like this
public record createAdmissionDto
{
public string Username { ...