How to add a different CSS to a razor page in Blazor WASM?
I am working on a Blazor WASM e-commerce application using the .NET 6 old version with a default template. I want to add a new razor page with a different look while keeping the old ones in the project. How can I achieve this? Specifically, I want to add…
SQL connection and transaction Idle Time
Hi, I am having a asp.net core application, which opens a sql connection and running commands in a sql transaction. The transaction might take overall 15 minutes to complete, The connection and transaction might be idle as we sleep the current thread for…
https for just one aspx web forms application?
We have a legacy web forms .aspx web application installed under "Default Web Site" is it possible to enable https: for just this web application ? given that there are other web applications deployed under "Default Web Site" All the…
Azure Adb2c External IDP Authentication Browser Back Button Click redirects to External IDP Again
We have AD B2C Authentication with .NET 8 MVC Web Application. We configured Open Id Provider with Custom Policy in Adb2c. The authentication is working successfully. But the problem is, after the External IDP successful authentication, the provider…
How to use Azure RMS to protect documents on a local machine.
Hello everyone, how are you? It is possible to use Azure RMS to protect files and maintain control over them even on the user's machine. I would like to enforce authentication regardless of the program they are using to open the files, especially PDF and…
How to open pdf file in modal popup in ASP.NET C#
I am developing ASP.NET application. i used gridview to insert, update and delete the data. Also, i am uploading documents in file server path. now, i am uploading all the documents as pdf and in past days i have uploaded document as image. Now and…
How to make readonly in Gridview textbox calendar controls in Footer Template
I am developing web based application. i used gridview and it contains Footer Template for input entry. almost i done all the functionality. but, for the validation especially for footer template i need help to solve this. how to make readonly gridview…
How to insert new,update, delete existing record in single row of gridview
I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…
.NET MAUI: Why do I get an "Invalid color" error when drawing a pattern using the GraphicsView?
Only when drawing a pattern, I get the following error in the console: "Invalid color: colored pattern specified with uncolored pattern color space." The drawn pattern looks fine, despite the error. After setting up the pattern to draw, the…
How to maintain file upload values in session while editing and updating Gridview
I have developed and discussed a lot about the file upload and we were maintaining the upload file in session and data table I used session for time being for gridview footer and emptydata template. i want the same logic have to be implement for…
Fix intermittent exceptions with an Azure function running as a .NET8 isolated worker process
I inherited an Azure function that has been running fine on .NET6 In-Process Model. I recently moved it to .NET8 Isolated Worker Model and I am seeing some Exceptions in my App Insights log. There are about 10k requests made per hour and only 10 of them…
IIS 10.0 will not allow an application pool identity to be set to a valid service account on .NET482. How do I fix this?
I have a series of production websites that are currently running 4.6 with IIS 10. I can set the application pool identity to an internal service account. I can also set WCF services to that service account. On my development and test servers, which…
Upgrading Microsoft.Office.Interop in C# .NET application
We have older versions of Microsoft.Office.Interop (Word, Excel) in our application and we want to upgrade to a more recent version. For Microsoft.Office.Interop.Word, it appears that we have version 11.0.0.0 (runtime version v1.1.4322) when I look at…
Issue Connecting With An Azure SQL Database from .NET WinForms Application
I'm having an issue connecting to an Azure SQL database from a WinForms application after it has been packaged using InstallShield. The database exists on a virtual network and I'm using a virtual network gateway point-to-site connection. The database is…
Counter page in blazor not working
This code pick from somewhere but not count when Click event in Counter page. can tell why. @page "/counter" <h1>Counter</h1> <p>The counter value is @currentCount</p> <button class="btn btn-primary"…
When Microsoft will release Entity Framework 6.x (.NET Full framework) having Microsoft.Data.SQLClient support?
We are migrating our .NET Full framework 4.8 based Data Access Layer projects from System.Data.SQLClient to Micosoft.Data.SQLClient. While it is very straightforward for AD0.NET based projects, we do have some projects where we are also using EF 6.0. As…
How to reproduce the UI control from mock-up using wpf?
Hi Team I have a mock-up and want to reproduce it using wpf controls given by Microsoft forms in windows. Below is my current code and need some adjustment, as well screen shot of the mock-up want to produce using wpf ui controls. <UserControl…
.Net 8 - HttpClient - Kerberos Auth - Authentication validation failed with error - InvalidToken.
We have an existing C# application in firm in .Net 6. This app consumes rest api exposed by another system within the firm (sso / kerberos). Its a simple GET call with Http Client. We upgraded the solution to .Net 8 and started facing Authentication…
Error AMM0000 after updating Android project to .NET 8.0 and Android Target OS Version 34.0
I get many errors after updating my Android project to .NET 8.0 and Android Target OS Version 34.0. I use Visual Studio Version 17.10.1 on my Windows 11 laptop. Error…
Search bar corrupted in MAC
Hi, In windos it works but in MAC is corrupted, why? <HorizontalStackLayout Grid.Row="1" Grid.Column="0" Margin="10,10,0,5" HorizontalOptions="Start"> <SearchBar x:Name="searchBar"…