Category ".net-core"

How to add credentials to ODATA Microsoft dynamics web service, on Visual Studio 2019

The Microsoft dynamic web service link when used on a browser prompts the Credentials as shown in the image below The issue is how to pass this credential to V

WOPI Token - Secret Key

I'm trying to implement WOPI on my application but im having a hard time to find the secret key to generate a token see below image for the sample code from git

How to copy custom JSON file into docker container?

I added custom json file in my .net core web API project and retrieved data from that json file successfully when running it in debug mode. But, problem arise w

Unable to debug WSL2 with VS 2022 - invalid 'cwd' value

I am trying to debug from WSL2 using my VS 2022 IDE in Windows, but I get the following error: The cwd value does indeed look wrong, but how do I fix it? I am

Order Number formatter

i want to make Stored procedure to get event number count and order number count in ordernumber column of order table .... event number count cames from Event T

C# - Adding condition to func results in stack overflow exception

I have a func as part of specification class which sorts the given iqueryable Func<IQueryable<T>, IOrderedQueryable<T>>? Sort { get; set; } W

App was not getting started due to <system.web> tag

I am developing a desktop app with .NET Core Which consume data from Rest APIs and save that in database. In past I used .NET framework to develop such app and

What is the intended way to target a specific version of the .NET Runtime?

As far as I can tell the runtime version required to run a .NET application has to be greater or equal to the version of the .NET SDK which built the applicatio

How to get only one question to the preview page in survey management website in angular?

I am using querystring to h=get the questions on preview page but I am not able to get one question on 1st page and 2nd on another page after clicking next butt

How to generate user specific instances of an exam object with unique questions

I'm creating an online examination system where I have an exam with a list of questions and need to generate a unique instance/record for each user taking the e

Why is this public address different for an ethereum signature?

I have a signature created using metamask and the personal_sign RPC method. Now I want to verify this signature in my C# backend. In order to do so I have found

Why is this public address different for an ethereum signature?

I have a signature created using metamask and the personal_sign RPC method. Now I want to verify this signature in my C# backend. In order to do so I have found

OData Queries on Entities with Dynamic Fields

I am using OData on a dynamic model. The MyObject data is stored in two different ways on the database - in a main MyObject table and in a secondary table of ke

Adding Keepalive option to MySQL connection causes error "Unable to connect to any of the specified MySQL hosts"

I am working on a project where a thread is run and opens a permanent database connection. The reason for this, is potentially as the project grows it could rec

Injecting dependencies into dynamically loaded .dll (.net core)

Similar to How to Inject Dependencies to Dynamically Loaded Assemblies, I want to inject dependencies into classes from dynamically loaded assemblies. Is this p

API Gateway with EC2 Instance hosted API Integration

I am new to AWS I have hosted my API on EC2 Instance. Imported my API swagger file to Gateway. Now I want to call my EC2 instance API from API gateway how to in

Update to .NET Core 6.0 in JetBrains Rider

A teammate recently updated our code base to use .NET Core 6.0 and I'm trying to build the project in JetBrains Rider. I went to File > Preferences > Envi

Google Refresh Token throws Expire Error in Azure

UserCredential credential; using (var stream = new FileStream("client_secrets.json", FileMode.Open, FileAccess.Read)) { credential = await

Is there any sollution or code to find wsdl all methods and which type this methods GET or POST etc

I have a wsdl : https://www.lb.lt/webservices/ExchangeRates/ExchangeRates.asmx?WSDL I want to extract all methods and defined types of methods GET,POST etc. Is

When I try to open MAMP in windows it throws error "install .Net core"

After installing MAMP in windows, when I open it, it throws the below error. "To run this application, you must install .Net core. Would you like to download it