4,571 questions with ASP.NET Core tags

Sort by: Updated
1 answer

Cannot upload a file using ASP.NET Core REST Web API and Swagger

Hello, The [FromForm] IFormFile file is null for a REST API HttpPost. The project was created using the Visual Studio 2022 ASP.NET Core Web API template. I deleted the Weather model and controller. And added my own controller. Here is my controller…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2024-10-18T13:30:16.2766667+00:00
William Johnston 61 Reputation points
edited an answer 2024-10-19T03:24:50.02+00:00
SurferOnWww 2,906 Reputation points
1 answer

Lifetime validation failed, the token is expired.

Even if the token is new then also it gives me this error.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,183 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 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,962 questions
asked 2024-10-18T14:36:07.8433333+00:00
Mayur 0 Reputation points
commented 2024-10-18T19:00:39.98+00:00
Bruce (SqlWork.com) 65,576 Reputation points
0 answers

Lifetime validation error. Token is expired

Hello,https://graph.microsoft.com/v1.0/me when i try to call this api from my .net core application. It says "Lifetime validation error. Token is expired" even if the token is new. Need your help

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,294 questions
asked 2024-10-18T13:45:22.4866667+00:00
Mayur 0 Reputation points
commented 2024-10-18T14:07:51.0833333+00:00
Tiny Wang-MSFT 2,721 Reputation points Microsoft Vendor
1 answer

Integrating AI to .NET

Hi, I'm a jun. .NET dev. Nowadays I wanted to learn and integrate AI to my project, but I'm confused. Should I learn phyton and integrate AIs that were written with phyton, or start using ML.NET? I want my product or project to be very high quality. But…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
158 questions
asked 2024-10-16T16:02:41.7733333+00:00
Atilla Rüstəmli 40 Reputation points
answered 2024-10-18T03:21:36.38+00:00
Ping Ni-MSFT 4,335 Reputation points Microsoft Vendor
0 answers

Issue with AuthenticateAsync

If anyone can give me a clue as to where I am going wrong. I have slowly been upgrading my code base from .NET 6 to .NET 8. With my authorization controller, in the authorize method with .NET 6 this line of code var results = await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2024-10-16T13:58:20.7166667+00:00
Michael Mastro II 51 Reputation points
edited a comment 2024-10-18T02:47:53.33+00:00
Jerry Fu - MSFT 741 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to Read Meta-Tags of a MP4-File?

In Windows 11 you can modify Meta-Tags of MP4-Files. Are there libraries for .net core 8 web api available which are able to modify these? Is there a posibility to do that over API-Calls? I already get to know to the library taglib but this one seems not…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,722 questions
asked 2024-10-15T06:50:30.5766667+00:00
CodeGuy85 20 Reputation points
commented 2024-10-17T12:09:55.14+00:00
Castorix31 85,541 Reputation points
2 answers

Azure SCIM - Group members are not sending from azure while group provisioning

I am performing SCIM provisioning from Azure and have mapped the default attributes in the attribute mapping settings. I added 5 users to the "devtestgroup", but when sending the requests, Azure is only sending the externalId and displayName,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,902 questions
asked 2024-09-19T04:22:53.6166667+00:00
Samadhan Salagar 5 Reputation points
commented 2024-10-17T11:48:26.81+00:00
Samadhan Salagar 5 Reputation points
0 answers

Learning and integrating AI with .NET

Hi, I'm a junior back-end developer in .NET. Nowadays I wanted to learn and integrate AI to my project, but I'm confused. Should I learn phyton and integrate AIs that were written with phyton, or start using ML.NET? I want my product or project to be…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
158 questions
asked 2024-10-16T15:59:55.2233333+00:00
Atilla Rüstəmli 40 Reputation points
2 answers One of the answers was accepted by the question author.

Send mail using SMTP with authorization

Hi Guys, I have been looking for a solution to send automated mail using smtpclient - 'smtp.office365.com'. We need to send mail without any user interaction or any admin consent. Is it even possible? (Note: needed authentication for Hybrid scenario -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,902 questions
asked 2024-10-16T09:15:15.1833333+00:00
Naresh kumar 40 Reputation points
accepted 2024-10-16T13:20:16.0666667+00:00
Naresh kumar 40 Reputation points
1 answer

Send mail using MFA enabled Mail ID

Hi Guys, I am reaching out to you because I have a doubt in sending email. I am using SmtpClient class to send mails. MFA has to enabled for the mail Id from tomorrow onwards (mandatory it seems). how to authenticate and send mail using SmtpClient ? It…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,936 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,901 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,902 questions
asked 2024-10-14T14:21:25.1033333+00:00
Naresh kumar 40 Reputation points
commented 2024-10-16T08:04:37.6633333+00:00
Naresh kumar 40 Reputation points
1 answer One of the answers was accepted by the question author.

.NET Framework and .NET Core Update Support on Windows Server 2012 R2 After EOL

What is the support status for .NET Core and .NET Framework updates on Windows Server 2012 R2 after October 2023, given that the OS will not receive any security updates? Can components like .NET versions 3.5 to 4.2 still receive updates through newly…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,595 questions
asked 2024-10-15T20:11:13.3233333+00:00
Manil 20 Reputation points
accepted 2024-10-16T03:19:05.8566667+00:00
Manil 20 Reputation points
1 answer

Embedding Power BI Report into .net core Web api using Azure AD B2C Tenant

Hello programmars I am trying to implement .net core Web api which can embed PowerBI reports. I am able to do that using Azure Active Directory but the problem is Our client has Azure AD B2C tenant so how can I generate access token using users of B2C…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
asked 2023-02-03T05:57:15.56+00:00
Virendra Panpatil 25 Reputation points
answered 2024-10-15T23:02:03.3866667+00:00
Manojkumar Maheshwari 0 Reputation points
1 answer One of the answers was accepted by the question author.

Is it safe to delete the obj\Debug folder in a C# project?

Hi, I am encountering the following error: Severity Code Description Project File Line Suppression State Details Error (active) MSB3713 The file "obj\Debug\net6.0\IMS.CoreBusiness.AssemblyInfo.cs" could not be created. The process cannot…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 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,584 questions
asked 2024-10-15T07:08:47.9166667+00:00
Cenk 1,021 Reputation points
accepted 2024-10-15T07:52:36.85+00:00
Cenk 1,021 Reputation points
0 answers

How to fix an error System.TypeLoadException: in an swagger api project ?

System.TypeLoadException: Method 'get_LockReleaseBehavior' in type 'MySql.EntityFrameworkCore.Migrations.Internal.MySQLHistoryRepository' from assembly 'MySql.EntityFrameworkCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
743 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,865 questions
asked 2024-10-11T08:15:59.3133333+00:00
Mathis De Sousa 0 Reputation points
commented 2024-10-14T07:22:47.8766667+00:00
Ping Ni-MSFT 4,335 Reputation points Microsoft Vendor
1 answer

Although my .NET Core WebAPI app is deployed in an Azure AppService (Windows) successfully, it always provides 403 error

I'd like to deploy my first .NET Core Web API in an Azure AppService. Code written in Visual Studio 2022 using .Net 6.0 and it is running as it should in local environment. Azure App Service is a windows based AppService. Using VS 2022, the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2024-10-09T07:46:23.71+00:00
László Kocsor 0 Reputation points
commented 2024-10-14T06:11:16.1433333+00:00
Jerry Fu - MSFT 741 Reputation points Microsoft Vendor
1 answer

EF Core 8 Shadow Properties incur a 255 limit on columns

We have an EF based WebApi, and the business logic includes the ability for end users to add user defined fields To get that in EF, we engaged Shadow Properties, and that is working well Unfortunately we found Shadow Properties incur a limit of 255…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,865 questions
asked 2024-10-01T15:21:02.83+00:00
Bill Stamp 1 Reputation point
commented 2024-10-11T02:38:00.2966667+00:00
JasonPan - MSFT 5,796 Reputation points Microsoft Vendor
1 answer

How to extract 30 days back data from datetime parameter

I want to use the date parameter in the data table of my dotnet core's rdlc report. One of the two values ​​of the SQL parameter is the parameter value, the other is a date 30 days back from the date of the parameter value. But the second parameter is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2024-10-10T06:05:29.55+00:00
jewel 921 Reputation points
edited an answer 2024-10-11T01:06:33.21+00:00
JasonPan - MSFT 5,796 Reputation points Microsoft Vendor
1 answer

I need to know the exact difference between container insights and Azure managed Promotheus and grafana in azure kubernates cluster

I am unable to figureout the exact difference between container insights, promotheus and grafana, and if i need to integrate azure managed promotheus, in my .net core app(POD), what changes i need to make in my application to get metrics. Can any help me…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,285 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,127 questions
Azure Managed Grafana
Azure Managed Grafana
An Azure service used to deploy Grafana dashboards for analytics and monitoring solutions.
106 questions
asked 2024-10-10T06:57:02.7366667+00:00
Hemanth Kumar Reddy Rachala 0 Reputation points
answered 2024-10-10T11:14:37.11+00:00
akinbade abiola 17,210 Reputation points
0 answers

Azure Service Bus Queue - High number of incomming requests even though the client is turned off.

I'm facing a challenge with an Azure Service Bus Queue. I have an ASP.NET Core API that forwards incoming requests to a queue. Additionally, I have a background service that checks for new messgaes every 10 minutes. The service is supposed to shut down…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
626 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 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,962 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.
336 questions
asked 2024-10-09T14:09:10.01+00:00
Michael Overgaard Nielsen 0 Reputation points
2 answers One of the answers was accepted by the question author.

Future Plans and Limitations for .NET Core 2.1 on Azure

We are currently running applications on .NET Core 2.1 on some of our Azure servers. As we plan to update to a more recent .NET version, we want to prioritize and schedule this update effectively. I have a couple of questions regarding the use of the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,807 questions
asked 2024-09-02T14:20:02.74+00:00
oleh.shevchuk 20 Reputation points
edited the question 2024-10-09T08:42:40.99+00:00
Jack J Jun 24,506 Reputation points Microsoft Vendor