Microsoft Q&A

ASP.NET Core

2,827 questions

A set of technologies in the .NET Framework for building web applications and XML web services.

Browse all .NET tags

2,827 questions with ASP.NET Core tags

Sort by: Updated
0 answers

How to insert data to table on SQL server using jQuery on blazor server side?

I work on blazor server side .I face issue I can't apply jQuery to insert data to SQL server database table owner . after apply script and check table SQL server no rows inserted so my issue jQuery not insert data my code as below : 1 - I create JS file…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 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.
7,562 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.
882 questions
asked 2023-03-26T01:53:41.0833333+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
edited a comment 2023-03-26T11:28:11.9633333+00:00
AgaveJoe 19,681 Reputation points
4 answers One of the answers was accepted by the question author.

ASP.NET Core MVC with Identity - ArgumentNullException: Value cannot be null. (Parameter 'value') on signInManager.PasswordSignInAsync

What's up everyone, I've been having this issue when implementing Identity authentication to my app. This is the error I get: ArgumentNullException: Value cannot be null. (Parameter 'value') System.ArgumentNullException.Throw(string…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
883 questions
asked 2023-03-17T13:35:56.4266667+00:00
Alexander J 20 Reputation points
accepted 2023-03-26T10:23:45.8+00:00
Alexander J 20 Reputation points
1 answer

Identity/Authentication between ASP.Net MVC and Xamarin.Forms

Hi All, Just wondering if anyone has information on the best way to integrate Identity/Authentication ASP.NET MVC and Xamarin. I've created a standard ASP.NET Core application using the latest framework with Individual Accounts, I would like to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,921 questions
asked 2021-05-07T00:52:46.133+00:00
Adrian N 81 Reputation points
answered 2023-03-26T00:05:18.5633333+00:00
Ayomide Oluwaga 331 Reputation points
1 answer

error when try to get values from object parameter 'object' does not contain a definition for 'employeeID'

I working on blazor web application server side by csharp . I face issue i can't get values of properties employee id and department code from object parameter to insert value on table I get compile time error when try to get value for property employee…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 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.
882 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.
7,562 questions
asked 2023-03-25T06:27:34.5266667+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
answered 2023-03-25T18:22:18.9933333+00:00
AgaveJoe 19,681 Reputation points
3 answers

Invoking azure functions server SignalR group functions from ASP.NET Core Client

I am trying to invoke azure functions server SignalR group functions from an ASP.NET Core client. The server side code that I am trying to invoke via an ASP.NET Core client can be found in this article. I have not found a single reference of a C#…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
81 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,787 questions
asked 2023-02-22T11:00:39.4466667+00:00
Bubba Jones 151 Reputation points
edited a comment 2023-03-25T15:35:23.5233333+00:00
Bubba Jones 151 Reputation points
2 answers

making an image box in Razor page

I want to make an image box on my razor page so that users can type or sign their name in that box. I want something like adobe acrobat offers. below is the screen shot: How can I achieve this.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
asked 2023-03-23T04:44:53.9833333+00:00
Anjali Agarwal 616 Reputation points
commented 2023-03-25T15:12:35.4833333+00:00
Anjali Agarwal 616 Reputation points
2 answers

Displaying progress bar in asp.net mvc

Hi, I have written following controller : public ActionResult ProgressBarDisplay() { int count = 0; // reads the count from database and updates the count double percentage = (count / 9) * 100; return View(percentage); …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
asked 2021-06-18T07:45:25.067+00:00
Santosh Umarani 81 Reputation points
commented 2023-03-25T14:23:49.6433333+00:00
Georg Grech 0 Reputation points
0 answers

I can't generate a Razor view in ASP.NET Core v7 - Package restore failed

I'm new in ASP.NET and I don't know exactly where is the error or which package is broken. It only occurs while generating a template of view. I can generate Controllers and empty Views normally. I reinstalled the Visual Studio, cleaned and rebuilt the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
asked 2023-03-25T13:34:46.9633333+00:00
Rafael Andrade 0 Reputation points
edited the question 2023-03-25T14:09:27.51+00:00
Rafael Andrade 0 Reputation points
1 answer

Getting error while uploading video on video indexer portal.

Hi, I am trying to upload a video on the Video Indexer portal through Indexer API but this is throwing the below error. The same URL is uploading the video on the indexer portal through Postman…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
Azure Video Indexer
Azure Video Indexer
An Azure video analytics service that uses AI to extract actionable insights from stored videos.
17 questions
asked 2023-03-20T12:38:32.7266667+00:00
Shaveta Pujani 0 Reputation points
commented 2023-03-25T06:18:05.9366667+00:00
VasaviLankipalle-MSFT 1,591 Reputation points
1 answer

C# code to real time scan and threat detection through Azure defender while uploading file on blob store through web api

Hi All, I have an web api 6 c# code running for uploading files on azure blob and it is deployed on Azure App service and it is working as expected. Now, i have added azure defender on blob storage and it has detected some file as security threat…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 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.
7,562 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
733 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
747 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,528 questions
asked 2023-03-12T12:52:54.86+00:00
Abdul Qadir 0 Reputation points
commented 2023-03-25T05:49:33.37+00:00
Abdul Qadir 0 Reputation points
1 answer

ASP.NET Core 6 Identity - Scaffolding Identity problem

I am following the tutorial on learn.microsoft.com (Authentication, ASP.NET Core 6.0). I create ASP.NET Core Web App with individual user accounts and update a database. So far everything works. Then I scaffold the identity. Then I Scaffold…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
asked 2022-06-27T19:31:58.127+00:00
AlexD 1 Reputation point
commented 2023-03-25T00:27:48.41+00:00
David Thielen 691 Reputation points
1 answer

ASP.NET Core MVC : complex data model reading related data

I am trying to display a drop-down on my DEVICES create.cshtml view of the names from CONTACT via the lookup table DeviceAssignments, below is an ERD. I am already able to display the drops downs for DeviceCategories and DeviceLocations, but I am not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
478 questions
asked 2023-03-16T17:21:00.64+00:00
tjestesjr77 20 Reputation points
edited a comment 2023-03-24T18:05:49.4733333+00:00
AgaveJoe 19,681 Reputation points
2 answers

the service microsoft.visualstudio.shell.interop.iselectioncontainer already exists in the service container in VS2022

I recently installed Visual Studio 2022 Professional edition on my machine windows 2010. I'm just trying to create a sample windows form project and trying to open the designer / form by double clicking on Form1.cs and I'm getting this weird error…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 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.
7,562 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
464 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
883 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
492 questions
asked 2023-03-24T14:39:48.4166667+00:00
Sunny Sharma 1 Reputation point
answered 2023-03-24T15:40:26.8266667+00:00
Bruce (SqlWork.com) 31,256 Reputation points
7 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 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.
9,104 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 91 Reputation points
commented 2023-03-24T15:24:57.1466667+00:00
Blasco73 0 Reputation points
1 answer

Displaying Image within Project folder

Any idea why an image wouldn't display in core 6? Is there a problem with the line of code below...the way the path is transcribed? Is there a problem using png format in 6? <img src="/Media/Home.png" alt="Home Page"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
asked 2023-03-24T13:48:07.83+00:00
Dean Everhart 846 Reputation points
edited an answer 2023-03-24T14:07:26.0633333+00:00
AgaveJoe 19,681 Reputation points
1 answer

Designating a link open a .cshtml (view) file in a text editor

Is there a way to have a .net webpage link and open a .cshtml (view) page in either in Visual Studio or other text editor? <a href="/Views/Home/Notes.cshtml">View in Text Editor</a> Yields

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,324 questions
asked 2023-03-24T12:26:11.8366667+00:00
Dean Everhart 846 Reputation points
answered 2023-03-24T13:58:57.8666667+00:00
AgaveJoe 19,681 Reputation points
1 answer

Displaying Razor code without executing it.

The code below, using the <pre></pre> tag using <> substitution displays the html code successfully on a view page (see below) BUT... it requires the Razor elements... @RenderBody() @await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
asked 2023-03-24T12:18:26.4966667+00:00
Dean Everhart 846 Reputation points
answered 2023-03-24T13:32:16.08+00:00
AgaveJoe 19,681 Reputation points
0 answers

Azure is decoding characters in the URL before reaching the application

In our backend API, we have an endpoint with a path variable and we need to be able to support certain special characters. To accomplish this, we are encoding the path variable with UTF-8 before hitting the endpoint. This works for most special…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,561 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.
169 questions
asked 2023-01-12T17:17:38.88+00:00
Jkuhl 10 Reputation points
edited the question 2023-03-24T11:26:43.4333333+00:00
ajkuma 14,091 Reputation points Microsoft Employee
0 answers

Blazor Web assembly application is not running in iOS and macOS ?

I have Blazor Web assembly application with azure active directory login and it works on my local machine, local IIS but when I published it on server. and try to login in iOS it redirects me to login-failed URL every time. and azure ad popup not shown.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 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.
882 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
883 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,557 questions
asked 2023-03-15T14:31:55.2666667+00:00
Kuldeep Y 11 Reputation points
commented 2023-03-24T10:51:06.8266667+00:00
Sandeep G-MSFT 5,096 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

VS Code displayed on webpage as text rather than picture

If I want to display code...as it appears as code in Visual Studio (e.g. below) but on a web page as text, is there any way of doing that? If I place the code between <p> </p> tags, I get: Element 'html' cannot be nested inside element…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,827 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
asked 2023-03-23T15:29:54.3766667+00:00
Dean Everhart 846 Reputation points
accepted 2023-03-24T09:32:01.28+00:00
Dean Everhart 846 Reputation points