301 questions with ASP.NET API tags

Sort by: Updated
0 answers

Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification

Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification Hi All, I m facing issue when I m trying to access a Service management API to create/ fetch a ticket through my web application…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-05-07T14:02:15.3033333+00:00
nitar_prof 0 Reputation points
0 answers

IMAGE UPLOAD USING PHOTO PICKER DIALOG

RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-05-02T10:39:55.1833333+00:00
Nandini S 20 Reputation points
commented 2024-05-07T02:22:49.7966667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
2 answers

Cancel Request after press button

Hello, We are using MVC .NET Core framework 6 and we need to cancel or kill request after send. For example after press a button that execute some actions in oracle Database. We need to Cancel this request from another button. Is this possible? and if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,400 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-05-06T17:37:48.1266667+00:00
Ibrahim Shawky 20 Reputation points
answered 2024-05-07T01:19:33.3666667+00:00
SurferOnWww 1,916 Reputation points
2 answers

two decimal for label

Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,280 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-05-04T14:42:56.72+00:00
RAVI 916 Reputation points
answered 2024-05-06T07:49:03.0633333+00:00
Lan Huang-MSFT 25,866 Reputation points Microsoft Vendor
1 answer

How can I access SharePoint files via a C# web api that uses no user authentication?

I have followed numerous guides on how to access SharePoint via C# and no matter what I do I end up with a "401 Unauthorized response:" I am out o fideas. Anybody able to help? Would prefer working code examples. using…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,702 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-26T17:41:06.5666667+00:00
David Finkelstein 0 Reputation points
commented 2024-04-30T06:15:29.47+00:00
RaytheonXie_MSFT 31,606 Reputation points Microsoft Vendor
1 answer

Customize the EmailConfirmation and 2FA token expiration in .NET 8.0

Is there a way to extend the 2FA and Email confirmation token expiration timespan with email in .NET 8.0? I am using the Microsoft.AspNetCore.Identity and Microsoft.AspNetCore.Authentication classes to use the 2FA with…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-27T00:03:30.5266667+00:00
Francisco A. Henríquez N 0 Reputation points
accepted 2024-04-29T17:04:38.0533333+00:00
Francisco A. Henríquez N 0 Reputation points
1 answer

Blazor Culture in the Route

Is it recommended to add the language (culture) in the route e.g. site.com/en/page-name or only page name is sufficient e.g. site.com/page-name? How to I change the culture to de-DE if you paste the URL like the following? mysite.com/de/home Thank…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,398 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-26T18:27:26.8766667+00:00
Kuler Master 246 Reputation points
commented 2024-04-27T17:51:27.7266667+00:00
Kuler Master 246 Reputation points
1 answer

Request OAuth2.0 token using azure app services managed identity

Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,672 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,925 questions
asked 2024-04-19T05:19:21.3666667+00:00
Tan Soon Chek 0 Reputation points
commented 2024-04-26T16:39:41.73+00:00
Bruce (SqlWork.com) 56,846 Reputation points
0 answers

Returning consistent errors in .NET Web API

I have a backend .NET Core Web API application and React App on the front. I would like to be able to return errors from the API and display them in the app. The problem I'm facing is that some classes return errors differently. For example, I'm using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,400 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-25T13:01:35.0233333+00:00
Sebastian Meckovski 25 Reputation points
commented 2024-04-26T06:45:10.9933333+00:00
JasonPan - MSFT 4,371 Reputation points Microsoft Vendor
2 answers

System.ObjectDisposedException: 'Cannot access a disposed object. ObjectDisposed_ObjectName_Name', al momento de guardar mi lista de imagenes

My View in vue.js sends me the image arrangement to my api, which I want to save in a folder asynchronously and when I do the second round in my foreach to the second image it gives me the error. foreach (var imagen in imagenes) { ImagenesProducto…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-09T19:43:43.2266667+00:00
Andrea Evelyn Mejia Rubio 0 Reputation points
answered 2024-04-21T15:24:05.29+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer

How to secure web api in asp.net c# (offboarding and crossboarding users.)

Hi , How to secure web api in asp.net c# i want to secure the web api for offboarding and crossboarding users. Example-offboarding : we have created one api, so we want to secure those api. suppose if a employee has left the organization and he knows the…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-16T18:28:32.6833333+00:00
Deshmukh, Ashish 1 Reputation point
answered 2024-04-17T21:27:11.7+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer One of the answers was accepted by the question author.

C# ASP.NET MVC: develop app with running tasks and ASP.NET MVC web UI to control it

There's a url from which I need to run api get data in JSON format and store to MS-Sql Server. This project will run mostly on server(s). We also need an application to provide an interface so that whenever needed user can select which data to be stored…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,280 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-13T10:07:08.52+00:00
RASHMI GUPTA 20 Reputation points
accepted 2024-04-16T07:21:19.3+00:00
RASHMI GUPTA 20 Reputation points
0 answers

How to get changes from repo remote to local on bitbucket git ?

I have two branches first branch beforefinal and second branch name is Final and i need to  make merge and differences from Final branch to beforefinal branch local on my pc  so How to do that please  my project worked on asp.net core 8 and I worked on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-12T20:10:56.9866667+00:00
Ahmed Salah 0 Reputation points
commented 2024-04-15T03:12:05.3266667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
1 answer

I can't publish my ASP.NET core web API to somee.com

It's been one mouth since i published my API to somee.com and it was working fine and even when i update the API in my local machine and publish it again it worked fine but now it doesn't want to publish to somee.com anymore and i don't know if the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,627 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-08T17:36:40.94+00:00
Faris Mohamed 0 Reputation points
commented 2024-04-09T08:08:36.9433333+00:00
Faris Mohamed 0 Reputation points
2 answers

Add Web API Calls to Blazor Web App Migrating from .Net6 to 8 Redirects to Login with [Authorize] controllers.

I have a .Net WASM project that I am migrating to .Net 8 from .Net6. I want to take advantage of some of the advanced render modes. I used the template in VS2022 with Individual accounts, With 'Auto (Server and WebAssemby) and per page/component as the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,398 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-03T11:48:39.5566667+00:00
Brett Butcher 0 Reputation points
answered 2024-04-05T02:09:38.44+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

IIS CORS Module configuration with Windows Credentials

Hi, Does anyone have a Windows .Net Core API being accessed via Windows Authentication? I have not been able to get this to work. I have an .Net Core API hosted on my Windows 2022 server in IIS with Windows Authentication enabled. We have a on-premise…

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,179 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-03-22T19:23:40.2766667+00:00
Charlotte McClellan 20 Reputation points
commented 2024-04-03T05:32:18.12+00:00
Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request. Your application is running in Production mode, so make sure it has been publ

This happened before with another application of mine which I was able to fix by removing the use redirect. However, this time it seems to be more complex, I am using dotNet 7 for the application and React for the front end all my checks are successful…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
769 questions
asked 2024-03-20T06:22:03.5833333+00:00
Mendenzon Tatis Rosario 20 Reputation points
accepted 2024-03-22T00:15:41.71+00:00
Mendenzon Tatis Rosario 20 Reputation points
1 answer

.NET Authentication .NET 7 Vs .NET 8 in my simple API service

I’m working on a relatively simple .NET Core web API service that performs CRUD operations on a database. Not sure what's the best way to implement authentication. Here’s the situation: In .NET 7, I had to manually define all the authentication…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,400 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-03-18T18:49:31.74+00:00
Sebastian Meckovski 25 Reputation points
edited a comment 2024-03-20T16:32:07.3+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer One of the answers was accepted by the question author.

call an api in C#

I have the following code: namespace TwilioSendMessages.Controllers { [Route("api/[controller]")] [ApiController] public class SMSController : ControllerBase { private readonly IWebHostEnvironment _webHostEnvironment; …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,197 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-03-18T04:07:46.5366667+00:00
Anjali Agarwal 1,386 Reputation points
accepted 2024-03-19T17:51:45.7733333+00:00
Anjali Agarwal 1,386 Reputation points
1 answer

Shopping application

To implement this application Should we use both ASP.NET web api and postman or any one? do we need to create models for application in web api ?

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2023-10-10T07:18:06.3333333+00:00
Nandini S 20 Reputation points
answered 2024-03-16T11:10:24.7633333+00:00