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…
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, …
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…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
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"> …
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
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…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
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…
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. …
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…
![](https://techprofile.blob.core.windows.net/images/PjYbsbDfukmsOVQ24l7Rxw.png?8D8DBE)
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…
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…
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…
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…
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; …
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
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…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
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…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
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…
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…
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(…
![](https://techprofile.blob.core.windows.net/images/nRSMs6YHk0KhAARN14aasQ.png?8DCBF8)
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…
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…