447 questions with Developer technologies | ASP.NET | ASP.NET API tags
API Consume data getting 500 Err.
Hi, Please refer my below mentioned code, where I did mistake? I am getting following err., Similar this https://www.aspsnippets.com/questions/189822/Send-authorization-headers-to-Web-API-using-jQuery-Ajax-in-ASPNet/ I prepared my script. Error…
Developer technologies ASP.NET ASP.NET API

How to manage client connections in a Blazor Server + ASP.NET Core API + SignalR project
I am working on a Blazor Server app over a SignalR connection with an ASP.NET Core API to send real-time updates from the server to clients. However, I am having a problem with managing user connections. The uniqueness of the problem is that each tab…
Developer technologies ASP.NET ASP.NET Core
Developer technologies .NET Blazor
Developer technologies ASP.NET ASP.NET API
.NET localization model binder validations
I create .NET WebApi project and I don't know how to localize standard model binder validations. For example, when I send invalid date time I got this: Could not convert string to DateTime: 12vv.4. Path 'importDate', line 2, position 24. It's not a…
Developer technologies ASP.NET ASP.NET API
Add Scaffolded Item Erorr with startindex cannot be larger than length of string.
Error There was an error running the selected code generator: 'StartIndex cannot be larger then length of string. (Parameter 'StartIndex')' when i add scaffolded item in visual studio 2022 v 17.4.5 windows 11 DotNet 6 Project type ASP.Net…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies .NET Other
Error: Uncaught TypeError: Cannot read properties of undefined (reading 'apply')
Hi everybody i have issue with my website perlebleu. I have the following error once i run an audit. Uncaught TypeError: Cannot read properties of undefined (reading 'apply') noticed in the following VM11 jquery.eislideshow.js:32. Here is image showing…
Microsoft 365 and Office Development Office JavaScript API
Developer technologies ASP.NET ASP.NET API
An unhandled exception occurred while processing the request. ArgumentNullException: Value cannot be null. Parameter name: items Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList..ctor(IEnumerable items, string dataValueField, string dataTextField, IEnum
public void candidatename() { List<SelectListItem> name = new List<SelectListItem>(); string apiUrl = "http://localhost:54621/api/mim/candidate/GetCandidates"; Util du = new Util(); …
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies ASP.NET Other
SQL Server Other
Developer technologies C#
asp.net 7 api how to increase timeout?
Hi, I have created an ASP.NET API with .NET version 7 and I would like to ask how to increase timeout when http client is posting or requesting services from my API up from the default 100 seconds? or it is up to the client to set timeout from his end?…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
maping type error
im trying to create a get user by i method well not a user but an entity called branch and that entity has a foreign key called appuser now i want that when i call the get method it returns the entity branch as well as the data linked to it through the…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies ASP.NET Other
How to implement API ID, KEY in ASP.NET Project
Hi, I am very beginner for web method API connect activities, ref my previous post ref link:…
Developer technologies ASP.NET ASP.NET API

add one to one and one to many relationship
Hi So a little weird but im trying to add a one to one and one to many relatioship between two entites lets say i have two entities 1 is branch 2 is AppUser now a branch can have a app user as the branch admin(done through roles not the elephant in the…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies ASP.NET Other

Getting lots of Task Canceled Exception while calling .net API from .net 6 WebApp
System.Threading.Tasks.TaskCanceledException: at System.Net.Http.HttpClient.HandleFailure (System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies .NET Other
running application from linux arm using httpclient I have exception calling an api http with self signed certificate
Using dotnet 7 my application calls a https api service in my local network with self signed certificate. I run it from a Windows client and I have no problems. I run it from a linux arm raspberry device and I have the following exception: "One or…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies C#
Every time I try to access the API token it throws an error.
Hi, it's like that every time I try to post something to the API from Nextjs over to the API with Token (Auth) on it. then it makes an error. If I use swagger or postman and take the same token as I use in nextjs. Then it also makes errors. Errors can be…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies C#
Database design suggestion
Hi there, I have an ASP.NET web API application and am trying to upgrade it to Core. I am using EF 6, code first. I have this entity but the requirements changed. Now I have more than one price and currency for a product. How can I design the…
Developer technologies ASP.NET ASP.NET API
Developer technologies .NET Other
SQL Server Other

Edge browser showing windows security popup
We have implemented MSAL authorization in our web application but when we are executing visual studio code locally, solution running fine with IE but not with edge browser, its showing windows security credentials popup.
Developer technologies ASP.NET ASP.NET API
Developer technologies ASP.NET Other
Microsoft Edge Microsoft Edge development

JSON Format WebAPI Entity Framework
Currently the JSON I'm using looks like this: The JSON file is huge so I'm only showing the first few rows in the file so not all data is shown. I'd like to get this JSON structured so I can use in a TreeView menu so I'd like to see get the out put to…
Developer technologies .NET Entity Framework Core
Developer technologies ASP.NET ASP.NET API
Developer technologies C#
"Güncelle" button not working
ı dont undestand. Delete's working but update(Güncelle) not working. Where's my mistake ?
Developer technologies ASP.NET ASP.NET API
Developer technologies ASP.NET Other

Displaying Deserialized JSON Data In Razor Page
Hello Everyone, I am using Visual Studio 2022 (x64) Community Version Entity Framework Core 6 C# Razor Pages (Not MVC) I am pulling data from the Google YouTube API, and want to display it on a .cshtml page. Here is a sample of the data: { …
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies Visual Studio Other
Developer technologies ASP.NET Other
Developer technologies C#


how can add validation 2 drowdownlist
The user comes and selects the city from the first dropdownlist. If the first value is selected from the second dropdownlist, I want it to give an error. I want to add validation but failed. Help me please ? Where is my mistake ? my code ; var…
Developer technologies ASP.NET ASP.NET API
Developer technologies ASP.NET Other
How can add HTML paragraph alignment
I have a paragraph with too many words in it. I want it to be left and right aligned. Like Microsoft Word (same as ctrl+D). How can I do this? First ; I want like this ; This is (Ctrl+D) Is there a parameter in html that I can do the same way? My code…
Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
Developer technologies ASP.NET Other
