24,561 questions with .NET-related tags

Sort by: Updated
0 answers

Hamburger menu freezing on one view only in Release build

I have a view in my AppShell that works totally fine in the Debug build. When I navigate to that view in the Release build using the hamburger menu, the application freezes on the screen that I was on prior to navigation. I can still use the hamburger…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,065 questions
asked 2024-06-18T19:09:03.39+00:00
Fred Kozlowski 0 Reputation points
1 answer

IIS will not recognize the default document for an ASP.NET Core Web App (Razor Pages)

I created an ASP.NET Core Web App (Razor Pages) app in Visual Studio 2022. The site works when debugging on my local machine. It starts, redirects to my AAD login screen, and then forwards the user to the Index.cshtml page as expected. However, when I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,291 questions
asked 2024-06-18T13:43:10.6+00:00
Dyllan Jones 0 Reputation points
commented 2024-06-18T19:03:33.44+00:00
Bruce (SqlWork.com) 59,131 Reputation points
1 answer

Save All GridView PageIndex Rows showing Duplicate rows in Database

Please help. How to Browse all 3 GridView Pages above and INSERT all rows into DB on Save Button click. Using below code is showing Duplicate row on last gridview page which is having only one record in its page 3. Thanks public void SaveButton(int…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,372 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,498 questions
asked 2024-06-18T15:39:35.17+00:00
Imoleayo Emmanuel 20 Reputation points
answered 2024-06-18T18:59:30.0266667+00:00
Albert Kallal 5,221 Reputation points
0 answers

How to export viewstate data to pdf in ASP.NET C#

I am developing asp.net application and i already done from viewstate to excel (not from gridview to excel). But, i am struggling to export pdf from viewstate. my viewstate columns is nearly having 20 to 25 columns. below is my code and correct me where…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,372 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,498 questions
asked 2024-06-18T18:03:07.49+00:00
Gani_tpt 2,046 Reputation points
2 answers

How do you set the default document programmatically in the Program.cs file of an ASP.NET Core Web App (Razor Pages)

I have created a new app using the ASP.NET Core Web App (Razor Pages) template in Visual Studio 2022. I have the app linked up to Azure AD so when a user goes to the site it redirects them to authenticate through AAD before directing them back to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,291 questions
asked 2024-06-17T19:45:33.41+00:00
Dyllan Jones 0 Reputation points
commented 2024-06-18T17:58:58.4566667+00:00
AgaveJoe 26,676 Reputation points
0 answers

¿Cómo soluciono el problema "Índice fuera de los límites de la matriz."?

Me encuentro realizando un modelo de clasificación de imagenes con dimensiones de aproximadamente 200x460 en escala de grises por imagen, dónde utilizo como dataset 4 clases de imagenes distintas con cerca de 250 imagenes cada una divididas por carpetas.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,533 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
153 questions
asked 2024-06-18T17:14:26.28+00:00
Alonso Guevara 0 Reputation points
0 answers

Perform basic operations on numbers in C# .net editor not working

I am working on some of the trainings in the "Perform basic operations on numbers in C#". Yesterday the editor was working just fine but today it is taking 10-15 minutes and when its done thinking it just give errors even though i have tried…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
6 questions
asked 2024-06-18T15:35:10.8633333+00:00
Bradley 0 Reputation points
edited the question 2024-06-18T16:31:32.2566667+00:00
Pradeep M 1,055 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Deletion from a datagridview on the second attempt returns null exception if the column is hidden, but works fine if vissible.

my program loads a table from sqlite3 and displays the content in a datagridview form with c#. I am sorting the table entries according to name and some values which gives out of order ID's to display in the datagridview. The program works fine if the ID…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,864 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,498 questions
asked 2024-06-17T16:30:40.47+00:00
George Panayiotou 0 Reputation points
answered 2024-06-18T16:16:52.3933333+00:00
George Panayiotou 0 Reputation points
0 answers

how to upgrade sqlproj,dtproj file to SDK style?

The solution has csproj and sqlproj (dtproj) files. Projects targetframework is 4.6.2 want to upgrade it .net8.0. Using upgrade-assistant upgrade csproj file . Should I upgrade sqlproj file also ? and if yes How I can do that? Any documentation .…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,533 questions
asked 2024-06-18T16:01:18.62+00:00
namiq genciyev 0 Reputation points
0 answers

Web app with Entra authentication got 403 error

Webapp1 is a asp.net 8.0 app with Entra as authentication provider. The registered app is app1. Webapp1 used to work but I got the 403 app after a deployment. The error page showed "Access to webapp1.azurewebsites.net was denied. You don't have the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,291 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
815 questions
asked 2024-06-17T20:06:33.8233333+00:00
Ben Wilson 0 Reputation points
commented 2024-06-18T15:42:48.8166667+00:00
Ben Wilson 0 Reputation points
2 answers One of the answers was accepted by the question author.

Save file from somebody to my web Blazor.I try browse in internet but not found how to start write the code.Let said put that file int TextBox and then need to upload,,How

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <PageTitle>Home</PageTitle> <h1>Hello, world!</h1> Welcome to your new app. <p></p> @foreach (var image in images) { <div…

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,456 questions
asked 2024-06-18T10:04:36.0633333+00:00
MIPAKTEH_1 220 Reputation points
commented 2024-06-18T14:48:06.76+00:00
MIPAKTEH_1 220 Reputation points
1 answer

Updating Blazor 8 Application - Special Attention Needed After Recent Updates

Hello, I previously posted a question about a Blazor Server application I was working on, which was functioning correctly at the time. However, after recent updates to Blazor 8, it seems that the application requires additional steps to work…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,533 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,456 questions
asked 2024-06-18T08:44:34.06+00:00
Yusuf 711 Reputation points
edited an answer 2024-06-18T14:35:57.95+00:00
Tiny Wang-MSFT 2,006 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Error 3002: Problem in mapping fragments in .EDMX

I have only one table in model's .edmx file. I updated the table in SQL Server by adding a column to it, opened up the .edmx file and used "update Model from Database" to update. The updated .edmx does show newly added field but I get a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,372 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.
13,082 questions
asked 2024-06-18T06:04:21.64+00:00
Malam Malam 226 Reputation points
commented 2024-06-18T14:22:37.8233333+00:00
Soaad Nahas 0 Reputation points
1 answer

How can I find out if my video view is on top of my game view in my Android .NET 7.0 project?

I want to play a video in my Android .NET 7.0 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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,065 questions
asked 2024-06-09T21:02:21.89+00:00
Kim Strasser 686 Reputation points
commented 2024-06-18T13:05:44.91+00:00
Kim Strasser 686 Reputation points
0 answers

What is the best way to sending mail from gridview check box checked row

I am using gridview and it contains checkboxes. when i click submit button, i am sending mail to the customer for every checking record. if i save record without mail, data will be saving more accurate and fast. But, when i send mail for every records…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,372 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,498 questions
asked 2024-06-18T08:37:52.73+00:00
Gani_tpt 2,046 Reputation points
edited the question 2024-06-18T13:03:12.2066667+00:00
Gani_tpt 2,046 Reputation points
3 answers One of the answers was accepted by the question author.

An error occurred on the server when processing the URL. Please contact the system administrator ?

An error occurred on the server when processing the URL. Please contact the system administrator. This is the error I receive in the localhost inetpub trying to launch a asp portal.Why?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,372 questions
asked 2022-03-10T18:44:42.477+00:00
Albay Commandante 21 Reputation points
commented 2024-06-18T12:34:15.56+00:00
IS 0 Reputation points
2 answers One of the answers was accepted by the question author.

Losing GridView Textbox value after GridView Pagination Changes

Please help look into what i need to modify in my code. My textbox is losing values typed into its control after gridview pagination click. Thanks and code below <asp:GridView ID="GridView1" runat="server"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,372 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,498 questions
asked 2024-06-16T01:03:18.18+00:00
Imoleayo Emmanuel 20 Reputation points
accepted 2024-06-18T12:12:14.8533333+00:00
Imoleayo Emmanuel 20 Reputation points
0 answers

Azure Data Factory SFTP Linked Service: Failed to read binary packet data! (ProtocolError)

Hi everyone, I'm facing a problem with a SFTP server, where some restrictions are applied to avoid the usage of RSA Keys with SHA1 signature. I can connect without any problem to the SFTP server using WinSCP. There are no network restrictions so I can…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,533 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,906 questions
asked 2024-06-17T09:23:48.5933333+00:00
Paul Hernandez 631 Reputation points Microsoft Employee
commented 2024-06-18T10:58:44.72+00:00
Paul Hernandez 631 Reputation points Microsoft Employee
3 answers

How to refresh the database connection in WPF with Entity framework having Oracle database in MVVM?

I have a WPF with Entity framework having Oracle database also follows MVVM pattern. So I need to create a link such a way that if on click the link that refresh the database connection means need to reconnect to the database. Please help me for this.

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,696 questions
asked 2024-01-24T05:38:28.6033333+00:00
SANTHOSH B 20 Reputation points
answered 2024-06-18T10:28:52.8366667+00:00
Santhosh Badam 0 Reputation points
1 answer

How to disconnect a BLE device after successful connection

I have successfully connected to BLE device by using BluetoothLEDevice.FromIdAsync(deviceInfo.Id) and bluetoothLeDevice.GetGattServicesAsync(BluetoothCacheMode.Cached) API's in unpaired mode over Windows 10 with .NET Framework 4.7.2 but I was…

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,696 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,498 questions
asked 2024-06-13T10:31:14.1533333+00:00
Prajnith Kumar 0 Reputation points
commented 2024-06-18T10:21:55.9533333+00:00
Hui Liu-MSFT 46,961 Reputation points Microsoft Vendor