Docker Build fails when I try to RUN apt-get
I am upgrading my application from .NET 6 to .NET 8. I am using a pod with ubuntu to compile and build my application due to compatibility issues with RHEL7. FROM mcr.microsoft.com/dotnet/aspnet:8.0 RUN apt update --fix-missing && apt install -y…
How to get the bindable data from View MAUI
I have a code snippet below where I dynamically add data to StackLayout. For Xamarin Forms using BindingContext, I could access the data bound to the view. But this is not possible in.net MAUI. Is there any documentation for the same? public class MyData…
Automatic UI updates with Blazor
Using a .NET 8 Blazor WebApp, I hope to build an application whose pages automatically send updates to all users. For example, when Joe adds a payment to an invoice, Sue (who is viewing the same invoice) should see the new balace reflected on her screen…
How to implement Google Authetication in Blazor Web app without Core Identity
I would like to use custom authentication without using out-of-the-box Core Identity in my Blazor Web App with Oauth authentication. I started the app using the template without using individual user account because we have our own registration and login…
*.net referenced dll is not seen with a using statement
Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen? The MBSAnalysisMVCWebApp.dll…
Get all drives in MAC ?
Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,
Solution Parser not working in .Net8
Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…
I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application.
I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application and publish option wouldn't be available when I try to deploy and some…
Taking long time when handling large amount of data in gridview
I have been developing ASP.NET application. i am storing the image to sql table as binary format. i have more than 5000 customer records in the table. every customer will have the medical certificate as image in will be stored in SQL table in binary…
How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?
Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…
Blazor Server: It is possible get Current Loged User In DbContext
Hello, I build blazor server multi tenant application and I wants to use HasQueryFilter in entity framework DbContext for predefined filter with TenantId. But I cannot get Current Loged User in DbContext. I inject to DB Context…
In Blazor Web App Server authentication Azure missing iss claims
Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…
image not loading in modal popup imageurl in asp.net c#
i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…
Not able to get all paging checkbox checked records in gridview asp.net c#
I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…
How do I install .net runtime 6.0.29 using Intune?
What is currently the best way to install version 6.0.29 of .net runtime to a large number of users using Intune? There doesn't seem to be a .msi file within the executable and the PowerShell command for enabling it as a Windows feature no longer seems…
web.config bindingRedirect not working
Hi, I have two projects. I have a MVC web application called MBSAnalysisMVCWebApp. I also have a .net framework MVC project called Mbsa. I found this link: …
How to debug the MAUI app in the Android work profile.
Hello Team, I was working on one of the samples of Microsoft. - https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppWithBroker which crashing when installed in the work profile. Tried to debug it using the visual studio. Is…
USB on MAC
Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. Is there USB in MAC ? How I protected the app for malicious operation that only the app will have access to it ? Thanks,
How to Integrate .net core application to see logs in Azure Kubernates Cluster container insights
How can we integrate to see logs of our .net core API application in deployed Azure kubernates cluster container insights. what are all the code changes to be done to see errors and exceptions in container insights. I got to know that WriteTo.Console() ,…
what's the difference between windows forms app and windows forms app (.netframework) in vs 2022?
what's the difference between windows forms app and windows forms app (.netframework) in vs 2022?