24,353 questions with .NET-related tags

Sort by: Updated
3 answers

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,330 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,419 questions
asked 2024-05-28T14:36:20.12+00:00
Gani_tpt 1,806 Reputation points
commented 2024-06-01T18:27:23.6266667+00:00
Albert Kallal 4,971 Reputation points
1 answer

Asp.net core 8 , IIS and Video Streaming, Low level

Hello All, Have simple sample web api application, coded in .net core 8, deployed on kestrel and IIS, a typical scenario. I have created one end point that streams local video file. File is about 400 MB and approx. 4 mins in length. Below code works. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 questions
asked 2024-05-31T23:24:02.0133333+00:00
Kishor Pise 1 Reputation point
edited a comment 2024-06-01T18:24:26.75+00:00
Bruce (SqlWork.com) 58,356 Reputation points
2 answers

Blazor not found in Visual studio,blazor .net framwork template not found

Blazor template is being not found in visual studio This question is related to the following Learning Module

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,435 questions
asked 2024-06-01T05:47:32.92+00:00
SRIHARI MADDINENI 0 Reputation points
edited an answer 2024-06-01T16:26:13.7633333+00:00
Bruce (SqlWork.com) 58,356 Reputation points
3 answers

ResetPassword in .net core web api

Hi, I'm currently working on a .NET core web API project and writing ResetPassword. The user wrote the email and front-end sent it to my ForgotPassword Endpoint, I checked the database and send the url with email and token in it to the user's email. This…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 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,419 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
309 questions
asked 2024-05-31T18:45:26.5333333+00:00
Atilla Rüstəmli 0 Reputation points
edited a comment 2024-06-01T16:21:17.11+00:00
Bruce (SqlWork.com) 58,356 Reputation points
1 answer One of the answers was accepted by the question author.

How can I set the application file description in .NET 8?

Hi, I'm building an application in .NET 8 and I can't find the option to set the exe file description, the one displayed in Task Manager as the application name. I was able to do it in .NET Framework, but now it just displays the exe file name (assembly…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,724 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,419 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,134 questions
asked 2024-06-01T15:41:05.07+00:00
Alessandro Guizzetti 0 Reputation points
accepted 2024-06-01T16:19:09.7333333+00:00
Alessandro Guizzetti 0 Reputation points
0 answers

Unable to update the application via Embeded Appinstaller.

Hello Team, I had created an application which already up and running in the production. We had distributed the application via software center. So I want to automate the deployment process for my existing application. I had created the appinstaller…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2024-06-01T10:04:22.4266667+00:00
Vaibhav Methuku 80 Reputation points
edited the question 2024-06-01T14:01:33.5366667+00:00
Vaibhav Methuku 80 Reputation points
5 answers

Why does Blazor server app takes away memory while being inactive?

We developed a Blazor server app and is going through testing phase. Our clients have some concern. What we notice is that before the app is launched memory is 4784 K, one the app is launched and at the end of rendering the login page it is already over…

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,435 questions
asked 2023-02-07T13:44:18.7166667+00:00
Balu Raju 81 Reputation points
commented 2024-06-01T13:14:41.34+00:00
Jesus Fortuna 0 Reputation points
2 answers

How to use a (.a) Library in a .NET Maui iOS project

I was able to use a (.a) library from my xamarin project. i used to add my library this way in the iOS project .csproj <ItemGroup> <NativeReference Include="Native References/MyLib.a"> <Kind>Static</Kind> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2023-03-16T13:01:31.2733333+00:00
Wael Bouchnak 31 Reputation points
edited an answer 2024-06-01T12:27:12.72+00:00
Edward Brey 1 Reputation point
0 answers

Unable to create a DbContext' Error when Using EF Core in .NET 8 ClassLibrary Project

Hello everyone, I've developed a ClassLibrary project using .NET 8 and C#, and I've utilized EF Core 8 in it. I've defined my own models and context within it. However, when I attempt to use the add-migration command, I encounter this error: "Unable…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
707 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
asked 2024-06-01T01:35:11.9766667+00:00
Kamyab Faghih 0 Reputation points
edited the question 2024-06-01T09:47:48.1333333+00:00
Erland Sommarskog 102.5K Reputation points
0 answers

System.Reflection.TargetInvocationException: "Expression 'dest => dest' must resolve to top-level member" when configuring AutoMapper profile

I'm encountering an exception when trying to configure AutoMapper in my ASP.NET Core application. The exception message is: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
707 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 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,419 questions
asked 2024-06-01T08:50:47.3466667+00:00
Julia Ohorodnichuk 0 Reputation points
2 answers

Prepare code to fetch data from mock server does not seem to work

Hi! I am working through this Exercise: https://learn.microsoft.com/en-us/training/modules/build-web-api-minimal-spa/5-exercise-create-api. After starting the Mock Server (I can see in the Browser that it is running) The Website has the error: Unexpected…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
11 questions
asked 2024-05-28T19:02:39.45+00:00
Frank Geisler 16 Reputation points MVP
commented 2024-06-01T08:03:18.5766667+00:00
Pradeep M 805 Reputation points Microsoft Vendor
1 answer

How to assign value from session upload file into upload posted file again

i am trying to save uploaded file after some big process. i am saving uploaded file in session to retain the file upload data. i.e : uploaded file will be saving into session variable. after saving to session upload file will be cleared. but, the upload…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 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,419 questions
asked 2024-05-31T18:44:51.0666667+00:00
Gani_tpt 1,806 Reputation points
edited a comment 2024-06-01T03:47:27.71+00:00
Gani_tpt 1,806 Reputation points
1 answer

.NET8 MAUI Image "gif" animation Debug vs. Release

Has anyone figured out how to get a MAUI Image "gif" animation to work in Release mode?   Using Visual Studio 2022's Android Device Manager, Emulator set to Tablet M-DPI 10.1in - API34, Android 14.0 - API 34, the MAUI Image animation in Debug…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2024-05-22T20:22:10.54+00:00
Paul Kelley 0 Reputation points
commented 2024-06-01T00:53:44.52+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

How to make the Rectangle not response to mouse move?

I`m tring to draw a overlay transparent window with a red rectangle. It's a WPF Window. I am looking for how to make the rectangle not response to mouse move. Please see the screenshot for problem details. As you can see, when I move the cursor on top of…

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,691 questions
asked 2024-05-31T03:27:39.53+00:00
William Liu 286 Reputation points
accepted 2024-06-01T00:18:20.9333333+00:00
William Liu 286 Reputation points
2 answers

How do you Register a Blazor App to Upload Photos to Azure Blob Storage

I've created a simple Blazor Application based on the standard Blazor Web application template to upload photos to Azure Blob Storage. It works when I run it in my computer, but I'm having trouble getting it to run when I Publish it to an Azure App…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,509 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,435 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,069 questions
asked 2024-05-29T23:47:39.4066667+00:00
George Irwin 0 Reputation points
commented 2024-05-31T23:02:23+00:00
Sander van de Velde 29,856 Reputation points MVP
0 answers

.NET MAUI - Unhandled Exception located in 'Microsoft.Maui.Platform.MauiWebView'

XAML WebView element definitions: <WebView x:Name="ElectricArcGif" VerticalOptions="Center" HeightRequest="40" /> <WebView x:Name="ClintHatGif" VerticalOptions="Center" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2024-05-31T21:58:54.9366667+00:00
UnexpectedGrit 11 Reputation points
0 answers

How to achieve a right-to-left Flyout menu using the .NET MAUI Shell App project?

I am currently working on a project using .NET MAUI Shell App template. As part of this project, I need to implement a right-to-left (RTL) Flyout menu to better cater to RTL languages. Despite various attempts to achieve this, I have not been…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2024-05-31T21:32:37.07+00:00
Riziq Hashem 0 Reputation points
1 answer One of the answers was accepted by the question author.

.net maui grouping code throws cast error.

I'm converting a Xamarin app to .NET Maui. I'll be needing the .NET page to ( stating all desired functions in case a different grouping code is needed ) group by sector ( optional , Sort and or filter maybe added later-- I'll settle for grouping…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,724 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2024-05-24T13:17:07.98+00:00
tim 140 Reputation points
commented 2024-05-31T20:28:13.9966667+00:00
tim 140 Reputation points
3 answers

Upload de arquivos no ASP.NET 4.6.1

Good morning my friends! I'm having a lot of difficulty uploading a 1.5GB file to Asp.Net. I've tried different ways but all without success. I adjusted the web.config like this <httpRuntime targetFramework="4.6.1"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-03T12:47:51.6933333+00:00
Sergio Luiz da Silva 0 Reputation points
answered 2024-05-31T20:00:17.76+00:00
Bruce (SqlWork.com) 58,356 Reputation points
2 answers

Burn media in MAC

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. Is there burn media in apple ? How do i work with it ? C# ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2024-05-14T03:24:40.07+00:00
Dani_S 2,906 Reputation points
answered 2024-05-31T18:56:29.6233333+00:00
Bruce (SqlWork.com) 58,356 Reputation points