Content
How to return error response?
When i aims to call first action method with the accept header is "text/xml".
Blazor textarea setting issue
Hello all. how I do set a textarea element so it will have a specific width an height and that it's text will have a horizontal and vertical scrollable . I want that when user type text the line length be when user keying ENTER key. Thank you very much
Get line below specific line in textBox multiline (c#)
Hello everyone. I want to find the value from texBox1 single line in textBox2 multiline and to get the line below the found line from textBox2 in textBox3. For example: If the content in a textBox2 multiline looks like this: 11111111111111 first…
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
Hi, Everybody!... I am trying to parse the following XML…
How to solve DOTNET-ISOLATED|8.0 has been deprecated as a language for Azure Functions
Migrated our previously working Azure Function from Isolated Net 7 to Isolated Net 8 (RC1) and it now fails with "Server Error. There was an unexpected error in the request processing." Diagnose and solve problems shows the following critical…
Forward Binding i.e. reapply a binding
Is it possible to create an attached property containing a Binding/BindingBase & then apply it to a control i.e. forward a binding thru XAML. Example would be you can have global style that use attached properties & then local styles to set…
issue in opacity of the parent form and panel
Hi , my other problem is there is a scenario in which i have a form named child which is opened inside a panel of a form named father . what i am trying is when i press F2 on my keyboard a new form opens asking for current date . at this moment i want…
staticwebapp.config.json is being ignored
I'm hosting a blazor wasm app in azure static web apps but my staticwebapp.config.json is being ignored. I've tried placing it in the root folder and /wwwroot. I'm deploying through visual studio This is the contents of the json file: { …
Default Certificate could not be created. Publish aborting.
I have been tasked to fix an old VB.NET project. I was succesfully able to get all the forms loaded and the project running. When I try to deploy the project I get "default certificate could not be created. publish aborting." I also started…
Best Practices for Managing Application State in Blazor WebAssembly?
I am developing a Blazor WebAssembly application and exploring different approaches to managing application state efficiently. Can anyone provide recommendations or best practices for state management in Blazor WebAssembly?
MAUI: How to add splash screen in android platform
I am trying to add splash screen on my new MAUI application. I tried the implementation on this blog but the image is in circle (Android 12 device) and only showing black and white color on the icon. Is there anyway to show the real color of the icon on…
Server 2022 - Maui app with net .7 is not working
Hi, I installed Maui app on server 2019 with this command and its works but on server 2022 its not work: dotnet publish -f net7.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…
Visual studio blazor wrap properly values issue
Hi all in visual studio in a blazor project the wrap properly have only the values soft and hard but not also the value off. This caused me problem because I didn't know about the off value . and that waste many time of me. why visual studio don't…
How can I display a PDF file in MAUI?
I plan to display a PDF file on my MAUI app. I tried following the answer at this link (https://learn.microsoft.com/en-us/answers/questions/1310387/how-to-view-the-pdf-file-from-maui), and I have used the…
Entity Framework BulkInsert Temp table without creating
Hi, I am creating Temp Table and inserting data with EF BulkInsert , then I use that temp table in the dynamic script. I need to BulkInsert 100K rows into SQL Server but it was keep loading . I tried to insert insert for loop but I am getting a error…
Design pattern ideas for large solution with multiple projects
Hello, I'm starting a new project in my company where 3-5 developers will be working on the same solution. I need help or ideas on how to build the base for this project (net core solution I guess) with Visual Studio and how to organize the multiple…
Load XAML file dynamically
Hello, In my desktop application I have some themes and styles defined like this: <?xml version="1.0" encoding="UTF-8" ?> <ResourceDictionary x:Class="App.Themes.S" …


Maui mobile app using Signalr is encoding hub name in ConnectionData parameter on iOS 17
We have a mobile app in production built using Maui. The server running the api is it connecting to uses .net framework. There are issues connecting to signalR from iOS17 devices. From debug we can see the following: iOS 17 device sets the connectionData…
Finding parent form and tablelayoutPanel
hello , private void TDlloading_error_Load(object sender, EventArgs e) { HideButtonsInParentFormTableLayoutPanel(); } private void HideButtonsInParentFormTableLayoutPanel() { // Access the parent…
How can I test a NULL column in DataTable?
I'd like to use the following 2 lines: if (eachrow["ENDDATE"] == null) end = DateTime.Now; else end = Convert.ToDateTime(eachrow["ENDDATE"].ToString()); But if the column "ENDDATE" has a null…