Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-3 votes
0 answers
194 views

I have an endpoint that accepts a model as the request body: public ActionResult<string> UploadFileChunk([FromBody] FileChunk chunk, string guid) As you can see, I'm sending my FileChunk model ...
Advice
0 votes
5 replies
50 views

I have searched a lot but seems that there are no much open-source packages available for implementing an OAuth2 server. Using OAuth2 services or paid libraries is not an option. Is it possible to ...
Advice
0 votes
6 replies
147 views

I am working on integrating PhilHealth (Philippine Health Insurance Corporation) into an existing hospital management system built with ASP.NET Core (.NET), Entity Framework Core, and SQL Server. At ...
0 votes
1 answer
76 views

I have added Microsoft DependencyInjection nuget to a .NET 4.8 project and used this post to help set it up: https://stackoverflow.com/a/73414927/2739613 My code looks like this - Startup.cs: [...
0 votes
0 answers
37 views

I recently upgraded Azure.Core in my .NET application from 1.47.3 to 1.50.0.However, even after the upgrade, my API is still throwing this exception: System.IO.FileLoadException: Could not load file ...
2 votes
1 answer
61 views

My question is how do I need to validate fields. I have this class (request dto): public class CompleteGoogleRegistrationRequest { public string IdToken { get; set; } = string.Empty; public ...
Advice
0 votes
2 replies
56 views

I have this scenario: I have an ASP.NET API which is deployed on IIS under the default web site. I have added the API by right click on default web site -> add application. API is working fine and ...
0 votes
0 answers
55 views

I am trying to receive change notifications from Microsoft Graph whenever an event is updated (created, deleted, or updated). I have successfully managed to create subscriptions. The URL that receives ...
0 votes
0 answers
83 views

I'm using data annotations from System.ComponentModel.DataAnnotations in my ASP.NET project. I get an error message where you can describe the requirements such as "Name is required" and etc....
0 votes
3 answers
158 views

Say I have this interface: public interface IExample { string GetSupportedExtension(); void DoWork(Stream input); } a concrete implementation like: public class PdfExample : IExample { ...
0 votes
1 answer
114 views

On inserting ServiceInfo the insert fails. It is failing on Foreign Key JobResult.JobId here are classes. //------------------------------------------------------------------------------ // <auto-...
0 votes
0 answers
61 views

I have an ASP.NET Web API project using Autofac for dependency injection. I register a factory for creating ICommandExecutor based on an enum: builder.Register<Func<CommandType, ICommandExecutor&...
0 votes
1 answer
123 views

fetch('https://localhost:7077/api/test/users') .then(res => res.json()) .then(data => console.log('Users:', data)) .catch(err => console.error('Error:', err)); Error: Promise {<...
0 votes
0 answers
50 views

I'm attempting to pass paginated results from a Web API to an MVC application and displaying in the View using DataTable. While I've successfully retrieved the data from the server and transmitted it ...
0 votes
0 answers
73 views

I have a basic ASP.NET Web API project. When I send a request, the serialization is done using System.Text.Json. However, when I send a non-valid json, for example text instead of number, it returns a ...

15 30 50 per page
1
2 3 4 5
...
2530

AltStyle によって変換されたページ (->オリジナル) /