How to fix slower performance with Microsoft.Data.SqlClient.TdsParserStateObject ReadSniSyncOverAsync method?
How to fix slower performance with Microsoft.Data.SqlClient.TdsParserStateObject ReadSniSyncOverAsync method when it has multiple calls (21) in a transaction with average execution time of 6116 ms per call and totalling to 128436 ms?
Getting error while search name in the textbox using bootstrap in ASP.NET C#
I am using gridview for reports and it contains more than 10000 (ten thousands) records. i am using one textbox for searching and multiple column values such as (CustNo,CustName,Department,MaterialName,Salary and DateofJoining) All search has to be done…
.Net MAUI desctop app
I am new to programming. I am trying to figure out how to work with MAUI. The problem is that the program does not start in Windows Explorer, but everything works fine from Visual Studio (mobile and desktop versions).Windows11
Dispose File stream and stream
Hi, Does I handle the dispose in correct way ? Note: This line contentStream.CopyTo(fileStream); can take long time. I got contentStream here from download file from our website. var zipPathForFolderOrPathForFile =…
How to restart the service when time is reach only once a day
Hi, in continue to https://learn.microsoft.com/en-us/answers/questions/1663229/service-monitor how to restart the service when time is reach only once a day ? protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while…
What is the correct way to upgrade dotnet SDKs for MAUI
Can someone tell me the proper way to upgrade .net? I have kept mine on an older version for a while now because it has been working with xcode 15.3 for me. Since it appears the issues with xcode 15.3 have been resolved in the latest version, I would…
Change cookie path
In my ASP.NET application, I want to change the cookie path from the root to some specific folder. How can I do that?
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)
What is the best way to show the loader while uploading the file in gridview
I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…
Error Running the Selected Code Generator - ASP.Net MVC
I am getting the following "generating code" error when creating a Controller using "MVC 5 Controller with Views, using Entity Framework" in Visual Studio 2019. I've tried several solutions to similar problem reported online: Removed…
How to call another view from one view in MVC?
In my main MVC project (Proj1) form's menu (Shared_Menu,cshtml), I've added a new menu item to open up a view from another project (proj2) that has been added to the solution. How do I call the proj2's view when the menu item in proj1 is clicked?
Azure.Search.Documents vector search successful, but response is null
I am currently performing vector search according to the code guide that can be found here:…
Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring nuget packages in VS 2022.
Hi All, I am getting the error "Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring Nuget packages in VS 2022. I have tried to delete Nuget config file as well but it did not help. Can anyone please…
Not able to Insert Image data for two images Postgresql
[HttpPost] [ValidateAntiForgeryToken] public async Task<IActionResult> Create([Bind("Sno,No,Topic,QuestionTitle,Opt1,Opt2,Opt3,Opt4,Answer,Time,Correct,Solution,Imagedata,Imagesol")] Question question, IFormFile…
Maui toolkit popup window size controling
Hello all. I built a toolkit popup according the Microsoft doc. and I want that the width of the popup window to fill the screen width. How I do that. I tried horizontal option fill but that's not working. Thank you very much
Can't launch my app because of 'you must install .NET Desktop Runtime' popup
Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…
Mac cursor on button
Hi, In window I did this code and is not working on MAC. How do i fix it ? Thanks, Microsoft.Maui.Handlers.ButtonHandler.Mapper.AppendToMapping("Custom", (handler, view) => { #if WINDOWS using Microsoft.UI.Input; using…
.Net Framework
.net framework 1.1.4322 won't run on win 11
![](https://techprofile.blob.core.windows.net/images/66c601802583449abb9f9e6e4e5a2ad3.png)
How can I add a video view to my iOS .NET project?
I want to play a video in my iOS .NET project. I have installed the NuGet package XamarinMediaManager version 1.2.2: https://github.com/Baseflow/XamarinMediaManager But the problem is that I only hear the sound of the video when I debug on my iPad. I…
How to remove MAUI .NET Entry white space?
I've a entry in my android app. As in picture, text is clipped, and there is a big white space around. Is it possible to made text bigger, without clipping it, reducing the white space? <Style TargetType="Entry"> <Setter…