24,383 questions with .NET-related tags

Sort by: Updated
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,440 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,431 questions
asked 2024-06-04T13:24:09.7766667+00:00
Cenk 976 Reputation points
answered 2024-06-04T21:02:00.1466667+00:00
Karen Payne MVP 35,201 Reputation points
2 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 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.
12,971 questions
asked 2024-06-04T16:49:15.8066667+00:00
Santhi Dhanuskodi 165 Reputation points
answered 2024-06-04T21:01:55.6+00:00
Erland Sommarskog 102.7K Reputation points
0 answers

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…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 questions
asked 2024-06-04T18:54:44.8833333+00:00
THIRUNARAYANAN SOWRIRAJAN 0 Reputation points
commented 2024-06-04T20:50:26.5566667+00:00
Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,957 questions
asked 2024-05-07T09:47:53.4+00:00
Logesh Palani 1 Reputation point MVP
commented 2024-06-04T20:50:06.35+00:00
James Hamil 22,526 Reputation points Microsoft Employee
1 answer

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…

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
523 questions
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,191 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,373 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
asked 2024-05-21T19:01:52.56+00:00
Guilherme Pineda 0 Reputation points
commented 2024-06-04T20:46:25.07+00:00
James Hamil 22,526 Reputation points Microsoft Employee
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 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,431 questions
asked 2024-06-04T18:32:27.64+00:00
Gani_tpt 1,866 Reputation points
edited the question 2024-06-04T19:09:17.9866667+00:00
Gani_tpt 1,866 Reputation points
2 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 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,431 questions
asked 2024-05-31T12:18:46.3566667+00:00
Gani_tpt 1,866 Reputation points
accepted 2024-06-04T19:02:17.5266667+00:00
Gani_tpt 1,866 Reputation points
2 answers One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 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,431 questions
asked 2024-05-28T14:36:20.12+00:00
Gani_tpt 1,866 Reputation points
accepted 2024-06-04T19:00:39.56+00:00
Gani_tpt 1,866 Reputation points
0 answers

.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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,020 questions
asked 2024-06-04T00:44:54.67+00:00
Kurt K 116 Reputation points
commented 2024-06-04T18:41:41.5366667+00:00
Kurt K 116 Reputation points
2 answers One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 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,431 questions
asked 2024-06-03T19:51:45.72+00:00
Gani_tpt 1,866 Reputation points
accepted 2024-06-04T18:19:34.76+00:00
Gani_tpt 1,866 Reputation points
1 answer

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,436 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
asked 2024-05-13T19:24:05.7066667+00:00
AK-9186 20 Reputation points
commented 2024-06-04T17:43:53.99+00:00
Danie Guenter 0 Reputation points
0 answers

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…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
asked 2024-06-03T14:57:44.9033333+00:00
Timothy Dooling 25 Reputation points
commented 2024-06-04T16:13:01.02+00:00
MotoX80 32,331 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
asked 2024-06-04T16:10:36.39+00:00
Robottom, John 0 Reputation points
0 answers

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
Azure SQL Database
asked 2024-05-22T16:37:29.1633333+00:00
Tom 1 Reputation point
edited a comment 2024-06-04T15:38:10.7733333+00:00
Oury Ba-MSFT 16,981 Reputation points Microsoft Employee
0 answers

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"…

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,440 questions
asked 2024-06-04T15:02:08.19+00:00
MIPAKTEH_1 140 Reputation points
5 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
asked 2023-06-05T07:36:18.9+00:00
Buch, Dishant 5 Reputation points
answered 2024-06-04T14:55:49.9033333+00:00
Mosiałek, Albert 0 Reputation points
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,690 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,431 questions
asked 2024-05-28T16:45:17.65+00:00
Gcobani Mkontwana 40 Reputation points
commented 2024-06-04T13:57:42.1433333+00:00
Gcobani Mkontwana 40 Reputation points
0 answers

.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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 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,431 questions
asked 2024-05-08T12:17:33.0066667+00:00
Goutham Anandhan 0 Reputation points
commented 2024-06-04T13:31:33.42+00:00
Uwe Berthold 0 Reputation points
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,020 questions
asked 2024-06-01T13:39:25.6066667+00:00
Kim Strasser 666 Reputation points
answered 2024-06-04T13:12:34.3666667+00:00
Kim Strasser 666 Reputation points
1 answer

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"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,020 questions
asked 2024-06-02T09:47:40.4066667+00:00
Dani_S 2,946 Reputation points
commented 2024-06-04T12:42:04.36+00:00
Dani_S 2,946 Reputation points