Content
Session is not clearing after signing out from application razor pages
Hi, I want to clear my sessions,once i logout from my application. Now when i logout from application and click the back button,its navigating to the previous page. My logout button is given as a menu in _Layout page like this <li…


Failed to create release build in iOS due to bitcode issue of Plugin.Firebase in .net MAUI having dotnet 7.
Have implemented fcm push notification in MAUI having .net version 7 from the below link : https://cedricgabrang.medium.com/firebase-push-notifications-in-net-maui-ios-2f4388bf1ac. For testing , creating release build to test on…


Executing Stored Procedures based on condition in Razor Pages
Hi, I have a function that executes two stored procedures based on a condition. Stored procedure for the first condition works fine, but stored procedure for the second condition fails. public async Task<JsonResult>…


.NET Core API Framework Warning
Hi All, I am developing an application using .NET Core with angular client. I am exporting the data to excel and generating the file in C# .NET Core. I am using a nuget package for the same. After installing the nuget package in the project I am getting…


how to replace retired flashupload functionality with fileupload for single image in asp.net?
how to replace retired flashupload functionality used for uploading multiple images with fileupload for uploading single image in asp.net? Since flashplayer has reached end of support, I need to replace with existing alternative of fileupload control by…


Why does the onclick event not work, in my razor pages hosted blazor component, in .net 7.0?
I've used the following code in multiple blazor web assembly applications hosted on a razor pages page under .net 5.0 and .net 6.0 before now. An application I was forced to upgrade to .net 7.0 has rendered the onclick command completely useless What…


There were deployment errors. Continue? (MAUI - Android Emulator Problem)
I am new to MAUI. when I run the android emulator this error popup. But with windows Machine, it works fine. I reinstall visual studio and it still shows this error. Please Help me to solve this problem or give alternative solutions.…


When Wpf datagrid apply group, the application becomes very slow.
My wpf application is build with .net framework 4.5.2, when datagrid apply group, in some computers the wpf application becomes very slow, but other computers do not have this problem. If the wpf application build with .net framework 4.8, all computers…


.net core 7 web api very slow first call more that 32s
Hi, I have a problem in EF7 with core 7 web api. The first call take more that 30s and the second call take 60ms what is good. Any solution for that? Thanks


how to refresh page in razor pages?
how to refresh page that has list of table? I do not want to use window.location.href.reload(); is there anyway to refresh it?


How do I get the List from firebase sorted?
The items display but I want them to be in ClubId order but can't get it to sort. What do I need to fix? Model/Club.cs public class Club { public int ClubId { get; set; } public string DateTime { get; set; } …


how to bind to taghelper property in razor pages?
[HtmlTargetElement("pagination")] public class PaginationTagHelper : TagHelper { [HtmlAttributeName("page-index")] public int PageIndex{get;set;} } and in Index.cshtml <pagination page-index="PageIndex" /> I can not…
Hoe to share a document link for external user using one drive API
I am using Onedrive api for sharle a document link to extenal user in c# it is not working


How to fix error in visual studio 2019
The code .DataSource = ds.Tables[0]; doesn't work for me. What might be the error?? In Microsoft vs 2019


How to convert xml to style so that browser can render html from xml when using RSS
I have downloaded a app called MessageBoard and trying to configure RSS Feed to output serialised data to browser. The result display a error message with code written in xml format. This XML file does not appear to have any style information associated…


Linq query and violation of inserting null in database
Hello All, I have the following two model classes: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public string LastName { get; set; } = null!; [DisplayName("First Name")] public string FirstName { get; set; } =…


How to configure Auto update in MAUI application ?
Hi, Consider we have developed a MAUI application, for deployment of this MAUI application in multiple machine we created a setup file / package following this link -…


Fix database errors in visual studio
The code for selection of a row in data grud view doesnt work for me (Microsoft visual studio 2019)


Query Parameter on TVP - parameters cannot by DbNull
Hey Until recently this worked ok (or at least i thought it did). I am passing a table row in a parameter to a stored procedure but i am getting an error Table-valued parameters cannot be DbNull Im assuming its a prevention on SQL server side as in my…


How should a service exit to prevent an error?
I'm developing a Windows service in C#, .NET 6.0 following the instructions on https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service The service runs as expected, but when I stop the service, it logs an error A task was…

