4,201 questions with ASP.NET Core tags

Sort by: Updated
1 answer

Graph API not working - Get StaffMembers

Hi Team,. With below code i was getting results till yesterday , now same code is giving below error. Is there any issue at Graph API end. Please help in this regard. Thanks in advance, Sravan kumar

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,693 questions
asked 2022-05-19T17:51:56.203+00:00
sravan kumar 21 Reputation points
answered 2022-05-20T12:18:07.79+00:00
RajeshKumarMSFT 1,971 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How do I trigger a POPUP with onClick Sumbit button ?

Kindly assist with the Information Popup to give user feedback after the Submit button is Clicked. My Code @model ProgressSamples.MusicGenre @{ ViewBag.Title = "Font Awesome Spinner"; } <!-- Styles for Wait Messages…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 questions
asked 2022-05-19T07:27:52.387+00:00
abiodunajai 371 Reputation points
commented 2022-05-20T09:20:49.35+00:00
abiodunajai 371 Reputation points
1 answer

Embed SSRS rdl Reports to an existing ASP.NET application

I have a project scenario that requires embedding SSRS rdl Reports to an existing ASP.NET Core application. I have made some research prior to posting here and I came across a library called ReportViewer, was able to get some results but only showed one…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 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.
12,784 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,810 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,294 questions
asked 2022-05-19T14:51:39.307+00:00
Dervishi, Erald 66 Reputation points
answered 2022-05-20T07:02:14.54+00:00
Olaf Helper 40,916 Reputation points
1 answer

Asp.net core - Field cant be empty

Hello I can't leave the field empty in asp.net core razor pages I created KRUD Pages using this model public class NewsModel { [Key] public int id { get; set; } public string title { get; set; } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 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,294 questions
asked 2022-05-19T12:58:02.46+00:00
Yusuf 691 Reputation points
answered 2022-05-20T03:07:35.527+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
1 answer

I am having troubles when I retrive data from Soap with C# ASP.NET

Hi guys, wish you well, I am sending from the controller an IdCostumer to the Soap Client and what I expect is to receive information of that costumer (If i send Idcostumer = 1, the soap brings me name, lastname, age, etc). For this I am creating a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 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,294 questions
asked 2022-05-19T13:16:15.137+00:00
Bilbito Bolson 1 Reputation point
answered 2022-05-20T02:11:02.857+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Can the Shell32.dll be used in the IIS environment?

I have a console exe program that used shell32.dll (compiled in dotnetCore 5). It works. However, when I used it in IIS environment (called it from CONTROLLERS) and it doesn't work. I wonder that is a restriction especially for the shell32.dll? If…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2021-10-20T20:23:08.02+00:00
Yitong Phou 21 Reputation points
answered 2022-05-19T22:13:08.4+00:00
Yitong Phou 21 Reputation points
4 answers One of the answers was accepted by the question author.

Set asp-route-id dynamically

Hi I have 2 asp-route-id values as below: <a class="btn btn-block btn-primary" asp-controller="Sales" asp-action="Data" asp-route-sales_pid="0" asp-route-users_pid="users_pid">New</a> the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-06T05:03:11.223+00:00
Dondon510 221 Reputation points
answered 2022-05-19T03:14:44.163+00:00
Dondon510 221 Reputation points
1 answer One of the answers was accepted by the question author.

Need to fix my Ajax call to upload file and post to Controller

I have some javascript that calls window.showOpenFilePicker, and gets the file opject. That much works quite well with FormData. However, when I call ajax to post to my controller, when I debug the action entry point Upload(IFormFile file), the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-18T00:53:31.427+00:00
Coreysan 1,631 Reputation points
commented 2022-05-18T16:03:46.127+00:00
Coreysan 1,631 Reputation points
2 answers One of the answers was accepted by the question author.

Question about Drag & Drop with multiple images

(I'm a beginner with Javascript) Im almost done with an MVC Core web app for a typical online store, where each product has 10 thumbnail images for viewing. An admin can add product by filling out a typical MVC form with description and product name,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-16T17:00:21.597+00:00
Coreysan 1,631 Reputation points
accepted 2022-05-18T15:55:44.46+00:00
Coreysan 1,631 Reputation points
1 answer

Microsoft Identity Platform Sign In not prompting with Stay Signed In and/or not using cookie to sign in?

Hi. I am upgrading my MVC .Net code to the new Microsoft Identity Platform sign in/sign out. The sign in and sign out works, but there is no prompt for "Stay signed in?" - even though it is set up in Azure Active Directory under company…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-17T09:32:01.797+00:00
John Guilbert (Housing) 1 Reputation point
answered 2022-05-18T13:03:02.253+00:00
John Guilbert (Housing) 1 Reputation point
1 answer One of the answers was accepted by the question author.

Object reference not set to an instance of an object

I am creating an application, from my database I create most of the models, except one, Captura, that model contains the attributes of 3 models, inside the captura controller I defined in the index method the query to obtain the content of the tables…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 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,294 questions
asked 2022-05-17T21:18:43.64+00:00
Crystofer Arteaga Galvan 21 Reputation points
accepted 2022-05-17T21:45:47.137+00:00
Crystofer Arteaga Galvan 21 Reputation points
3 answers

Classic ASP Conversion to .Net Core Framework

Hello Team, I am working on migrating one application for one of our customer from Classic ASP to .Net Core Framework. We have 700+ ASP pages and it is a significant effort if we do this conversion manually. I need your help to understand if their…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-17T09:31:37.01+00:00
shobhit gupta 1 Reputation point
answered 2022-05-17T15:26:10.953+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer

Unit test uses shared database

I've implemented unit tests in my app, when I run my test individually all pass but when I run them individually I get some fail. here is how I create InMemory db. public static DbContextOptionsBuilder<T> GetDbContextOptionsBuilder<T>(…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-16T13:05:37.023+00:00
Ocelot013 1 Reputation point
commented 2022-05-17T10:07:19.907+00:00
Ocelot013 1 Reputation point
1 answer

Regular Expressions RegEX - Using wildcard for route pattern for phones

I am trying to figure out how to input the expression for using q/Q for a wildcard. Ex; 58596q5555 Ex; 58596Q5555 When using q [0-4] Q [5-9] I need to be able to wildcard using letters to include multiple route patterns.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 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,632 questions
asked 2022-05-11T15:36:11.52+00:00
Treez250 1 Reputation point
answered 2022-05-17T07:04:11.37+00:00
Ian Chen 6 Reputation points MVP
2 answers

ASP.NET: Imports System.Security.Cryptography is not working

I'm working in a project where i need to use the Imports System.Security.Cryptography , however, whenever I log in into the system it gives me this error: System.NullReferenceException: 'Object reference not set to an instance of an object.' …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-16T05:10:29.46+00:00
mush 181 Reputation points
answered 2022-05-17T06:59:01.827+00:00
Ian Chen 6 Reputation points MVP
0 answers

Scaffolding using terminal dosen't work

I was following the ASP.NET Core MVC tutorial from adding-model but when I run the command dotnet aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2020-12-01T12:22:52.597+00:00
Vedang 1 Reputation point
commented 2022-05-17T02:31:38.473+00:00
Crashing2DaFloor 1 Reputation point
1 answer

Group and Sum multiple columns with a calculation Linq

Hi All, I feel that what I am doing with my code here is really bad practice, or at least it feels that way. I am working on a project which will be calculating peoples salary on a weekly basis, based on hours worked they will be paid overtime etc...…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-13T18:15:00.673+00:00
JROW 21 Reputation points
answered 2022-05-16T02:53:05.73+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to implement ASP MVC NetCore 3.1 Websocket on Linux CentOS 7?

How to implement ASP MVC NetCore 3.1 Websocket on Linux CentOS 7? Below is my httpd.conf, it works properly with the web app that's why I commented for the "/ws", but if I uncomment the "/ws" then I can't access the web, if I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-12T08:39:37.703+00:00
Dondon510 221 Reputation points
accepted 2022-05-15T06:47:10.843+00:00
Dondon510 221 Reputation points
1 answer

Azure Verified Credentials Preview setup error

Hi team, i am testing Verifiable Credentials Preview feature in My tenant through the mentioned links and i am following all the prerequisites from the mentioned link and followed all the instructions. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,622 questions
asked 2022-05-13T10:53:55.473+00:00
demo test 21 Reputation points
answered 2022-05-15T03:54:51.003+00:00
0 answers

ASP.Net Core Site Stops Sending Emails Citing Mysterious SSL Issue

What might suddenly make it impossible for a .Net 5 website to stop sending email citing the following: An unhandled exception occurred while processing the request. InvalidOperationException: An error occurred while attempting to establish an SSL or…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
asked 2022-05-14T02:27:58.857+00:00
PostAlmostAnything 1 Reputation point
commented 2022-05-15T02:35:46.797+00:00
PostAlmostAnything 1 Reputation point