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