4,492 questions with ASP.NET Core tags

Sort by: Updated
0 answers

System.NullReferenceException when using ListObjectAdapter

Hello, I am working with a legacy Excel Extension codebase where we are populating tables using Microsoft.Office.Tools.Excel. I am encountering a System.NullReferenceException in Microsoft.Office.Tools.Excel.ListObjectAdapter as shown in the picture…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,793 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,804 questions
asked 2024-08-22T08:41:13.0466667+00:00
Vojtěch Habrnal | UNIWISE 0 Reputation points
edited the question 2024-08-22T08:42:19.2633333+00:00
Vojtěch Habrnal | UNIWISE 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to search a jquery datatable properly from a SQL stored procedure

Good day I'm doing a sorting, search and pagination to a jquery datatable via a stored procedure ALTER PROCEDURE [dbo].[sp_ProgressreportView] ( @SearchValue NVARCHAR(255)=NULL , @PageNo INT = 1, @PageSize INT = 10, @SortColumn INT = 0, …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-07-23T07:09:44.34+00:00
Jose Daniel Navarro Brito 41 Reputation points
accepted 2024-08-22T07:32:24.0366667+00:00
Jose Daniel Navarro Brito 41 Reputation points
1 answer One of the answers was accepted by the question author.

How to transfer database data to excel

I have used below method to transfer data to excel in my project. It works fine - if I use id first. But if i use id second and use ajax it is not working. I need to use the second one because I want to pass parameters. If anyone could help, I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,804 questions
asked 2024-08-11T16:46:50.6766667+00:00
jewel 901 Reputation points
edited the question 2024-08-22T06:21:24.2833333+00:00
Jack J Jun 24,496 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how use partial with model in _layout page asp.net core Razor pages

I am programming my project with asp.net core Razor Page and In the upper part of , I have allocated a space for the user and her messages, which I have used to call partial in the layout file: <div class="header-left"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,804 questions
asked 2024-08-17T10:11:29.72+00:00
Ashkan 81 Reputation points
edited the question 2024-08-22T06:20:13.03+00:00
Jack J Jun 24,496 Reputation points Microsoft Vendor
2 answers

Handling Compensation and Rollback in a Synchronous API-Based Saga Choreography for Microservices

In a microservices-based online order processing system using a saga choreography approach with synchronous API calls, a customer places an order involving multiple microservices: Order Service, Inventory Service, and Payment Service. After successful…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,579 questions
asked 2024-08-01T17:35:05.5033333+00:00
Binu S 0 Reputation points
edited the question 2024-08-22T06:11:46.3+00:00
Jack J Jun 24,496 Reputation points Microsoft Vendor
1 answer

HTTP 405 error during login

I'm developing an asp.net core MVC web application and I use Identity for authentication and authorization. My login doesn't work. After entering data and pressing the button I get a HTTP 405 error. My view uses POST method inside my form, as well as my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-08-20T15:22:31.9266667+00:00
Amra Akmadžić 40 Reputation points
commented 2024-08-22T02:37:09.9133333+00:00
Tiny Wang-MSFT 2,486 Reputation points Microsoft Vendor
1 answer

Scripts and Stylesheets in Layout Pages

Hello everyone and thanks for the help in advance. I am developing an Asp.Net Core application that utilizes layout pages for things such as headers and footers. However, many of the pages using the layout page also need specific css and script files. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-08-01T22:29:13.8533333+00:00
Kmcnet 786 Reputation points
edited a comment 2024-08-22T02:15:22.6333333+00:00
Tiny Wang-MSFT 2,486 Reputation points Microsoft Vendor
3 answers

How to add image to email?

Hi, In my e-commerce application, I am sending an order confirmation email to the customer. I am using a html template for this e-mail. I couldn't figure out how to display the logo and ordered product image in the e-mail. Here is the html…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,539 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,804 questions
asked 2024-08-17T12:16:39.34+00:00
Cenk 991 Reputation points
commented 2024-08-22T01:35:22.0566667+00:00
Tiny Wang-MSFT 2,486 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How do I resolve a HTTP 405 error in my login?

My asp.net core MVC web application uses Identity for authentication and authorization, but my login doesn't work. After entering data and pressing the button in login I get a HTTP 405 error and message "This page isn't working". My view uses…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,758 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-08-20T15:53:48.7966667+00:00
Amra Akmadzic 40 Reputation points
answered 2024-08-21T18:45:16.75+00:00
Deepak Sarmha 0 Reputation points
1 answer

Why can't I create a Blazor Server App with .NET 8?

I'm trying to create a Blazor Server App using .NET 8. I've done this at home, but here at work Visual Studio 2022 only allows me to create a Blazor Server App using .NET 6. I've gotten into Visual Studio Installer, to check to make sure I have .NET 8 as…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,539 questions
asked 2024-08-20T17:14:53.12+00:00
Falanga, Rod, DOH 150 Reputation points
edited a comment 2024-08-21T15:44:22.6966667+00:00
Bruce (SqlWork.com) 63,341 Reputation points
1 answer One of the answers was accepted by the question author.

Using Serilog in ASP.Net Core solution with multiple project

I have a ASP.NET Core solution with 3 projects. APIProject EntitiesProject ServicesProject In order to keep my EndPoint with minimum code, I transferred all the business related code in the Service Project. In the API project I configure…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-01-03T22:45:15.4466667+00:00
Boucourt 105 Reputation points
commented 2024-08-21T14:04:48.72+00:00
Cenk 991 Reputation points
2 answers One of the answers was accepted by the question author.

How to display data on jQuery Datatables in Asp.Net Core MVC

I am new to jQuery Datatables using AJAX in Asp.Net MVC 6.I have enclosed my code in the view as well as in the controller. View: <div> <div style="padding-top: 20px; padding-bottom:20px"> <button class="btn btn-lg…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,446 questions
asked 2024-08-20T15:10:18.83+00:00
Sherpa 306 Reputation points
commented 2024-08-21T03:49:29.5633333+00:00
Sherpa 306 Reputation points
0 answers

Razor Pages slow rendering

Following are my Razor pages cshtml and cs files: Base64.cshtml: @page @model razor.Pages.Utilities.Base64Model @{ ViewData["Title"] = "Convert document to Base64"; } <style> .input-group-text { cursor: pointer; …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-08-18T04:33:51.42+00:00
S Lalith Prasad 0 Reputation points
edited the question 2024-08-21T01:55:58.49+00:00
Jack J Jun 24,496 Reputation points Microsoft Vendor
2 answers

How to Optimize Blazor Server Performance with Large Datasets?

I'm building a Blazor Server application that needs to display and interact with a large dataset (millions of records). Currently, fetching and rendering all data at once is causing significant performance issues. I'm looking for effective strategies to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,539 questions
asked 2024-08-06T10:21:42.3233333+00:00
MissKiarra 0 Reputation points
edited the question 2024-08-21T01:52:51.4633333+00:00
Jack J Jun 24,496 Reputation points Microsoft Vendor
2 answers

Issue in Blazor: File Upload with Zero Byte Size

Hello, I'm facing an issue with my Blazor application when attempting to upload a file. Sometimes the file uploads correctly, but other times the file is uploaded with a size of zero bytes. The issue does not always occur, making it difficult to pinpoint…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,539 questions
asked 2024-08-01T20:30:55.56+00:00
Yusuf 791 Reputation points
edited the question 2024-08-21T01:51:00.32+00:00
Jack J Jun 24,496 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How my NormalizeEmail always null?

Hi, I'm new to this, so I'm not so good, your help is my pleasure. I have a problem, when I sign up for an account, it is okay, but when I log in, as far as I know, the NormalizeEmail is always null, and I don't know why, I try to cover in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-06-19T18:47:21.2133333+00:00
Nhựt Lại 65 Reputation points
commented 2024-08-20T14:31:20.31+00:00
Ahmet Zeren 0 Reputation points
2 answers

Cannot insert data into table UserClaims

I am using ASP.NET Core 6, and when I try to add Claims into table UserClaims I get this error: Cannot insert the value NULL into column UserId table UserClaims column does not allow nulls UPDATE fails var user = await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 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,804 questions
asked 2024-08-16T18:10:17.24+00:00
mostafa ahmed 41 Reputation points
answered 2024-08-20T09:14:50.4266667+00:00
Vinay Shokeen 0 Reputation points
3 answers One of the answers was accepted by the question author.

editor.disableReadOnlyMode( 'feature-id' ); is not working in DecoupledEditor

Hi! The question is simple. This works: <script src="~/js/ckeditor5-build-classic/ckeditor.js"></script> <textarea id="editor_middle">@Model.Description</textarea> ClassicEditor .create(…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
965 questions
asked 2023-08-11T19:08:35.2566667+00:00
Volk Volk 571 Reputation points
edited a comment 2024-08-20T06:20:06.68+00:00
alightmods.com 0 Reputation points
1 answer

How to fix No webpage was found for the web address

Created a new App service, and to test the web app, manually uploaded a image under WWWROOT directory in app service editor and the uploaded image was accessible through url "https://domainname/image.png" but on publishing a .net core…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,595 questions
asked 2024-08-10T16:36:34.97+00:00
Ashwath S 0 Reputation points
commented 2024-08-19T19:25:55.99+00:00
ajkuma 25,471 Reputation points Microsoft Employee
0 answers

Why wouldn't an app recognize a Certificate with a CSP of "Microsoft Software Key Storage Provider"...

...but will recognize the same Cert with the CSP set to "Microsoft Enhanced RSA and AES Cryptographic Provider"? In other words, the app fails when I import the certificate into the server's local key store like this: certutil.exe -importpfx…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,492 questions
asked 2024-08-16T18:05:38.0333333+00:00
David Gursky 0 Reputation points
edited a comment 2024-08-19T17:53:01.87+00:00
David Gursky 0 Reputation points