I am getting System.InvalidProgramException error when upgraded the application from .NET 3.0 to .NET 8.0
I have upgraded Npgsql package from version 4.1.5 to version 8.0.2 that is required for .NET 8 upgradation but I am getting the following error after deployment of the service on the development environment and performing the health check for…
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…
how to read ObservableCollection to an array
I may be doing this the wrong way, I want to read all the Line in my listview to be able to add them to an array. xaml <ListView ItemsSource="{Binding MyItems}" IsGroupingEnabled="True" GroupShortNameBinding="{Binding…
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…
Create MSI from EXE in MAUI
Hi, In cmd i create the exe of MAUI App. using this command: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…
Unauthorized error when logging in with IdentityModel.OidcClient in MAUI
I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…
[Asp.Net Core MVC] Is posssible to embed the wwwroot directory inside the dist binary?
I have an Asp Net Core MVC project with my assets in wwwroot. My intent is to have only the binary and the appsettings file so is easy to update the application in production without to lose some updated assets files. I used this options…
Dropdown gets closed while using mouse event args
Hi Everyone, This works fine when i hover over the button it shows and closes when it comes out of the dropdown however the dropdown still closes while mouse pointer is still in the dropdown. Could some share your ideas!! My need is to display the…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
Change height of the snackbar in dotnet MAUI Android
Hi, Does anyone know how can i change the height and the padding of the snackbar in dotnet maui Android? var snackbarOptions = new SnackbarOptions { BackgroundColor = Colors.LightGray, TextColor = Colors.Green, CornerRadius = new…
Updated VS and now have Maui but Hot Reload still does not work
Description is basically the title. Hot reload did not work with Xamarin and was hoping with Maui it would work but no. No error msg just no action. Used just changing XAML and not change and then saved file and again no change. Using Android…
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: …
Whenever I deploy my .NET MAUI application to my Android phone, it exits the code, producing an error "GetVersionTask" failed unexpectedly". What could be the solutions for this?
Whenever I deploy my application to my Android phone, it produces the error called ""GetVersionTask" failed unexpectedly." When I run it using Windows Machine, it runs completely normal. What could be the solution to this?
How to send multipart/mime SOAP request from ASP.NET MVC controller
SOAP server requires multipart SOAP request with XML file like Content-type: multipart/related;boundary="MIME_boundary";type="text/xml"; start="<soapPart>" --MIME_boundary Content-Type:…
How do I install .NET on a Windows 11 machine
How do I install .NET on a Windows 11 machine?
I tried debugging .NET application but getting SSL CERT warning. How do I fix it?
I tried debugging .NET application in MS VS 2022, but getting SSL CERT warning. Should I install the certificate? Is it mandatory?
How to sub section a long user entry form in MVC C#
I need to develop a long user entry form (Job application form). Which has many sub-sections like personal data, Exam Results, Work Experience, Membership etc...As all these cannot be displayed at once I want to show one section (personal data) first,…
Shadow Offset issues in .Net Maui
Hello, I am following this official documentation:"https://learn.microsoft.com/en-us/dotnet/maui/user-interface/shadow?view=net-maui-8.0" and it is working fine. But, I am facing one issues, when I try to set y-offset value to negative…
how to create ios application in vs?
there is Android Application in VS. but no ios Application right? how to create ios? not MAUI just .net ios.
How to extract part of the text from the line with a special format
hi Bolded areas need to be extracted. I don't know how to use Regex library. my Format [One of the tags] is Sample '10LBA04CT004-XQ01' Start text with 150,000 lines and have different tags. thank { N 3-SH 3-sh 3-sh 3-SH N 10LBB09 EQUIPMENT =…