Content
How do I fix APT206 - failed linking file resources and APT2259 'textEnd' is incompatible with attribute iconGravity errors?
I have a Xamarin Forms application that I am migrating to MAUI and I am getting the following 2 errors during compilation. APT2259 'textEnd' is incompatible with attribute iconGravity (attr) flags [start=1, textStart=2]. APT2061 failed linking file…


Once again when will MS fix VS 2022
So I have now spent another couple of hours trying , pleading with Visual Studio to get it together. Notice the status msg, "All Succeeded" meaning no errors but VS shows errors and I have not been able to get rid of them. Clean, Rebuild,…


How to localizae application display name of iOS developed with .NET MAUI?
Display name is localized on android in (Resources\values) folder and it works as expected. However, I can't get it to work with iOS. What have been done: In info.plist make sure there is this code …


Blazor app crashes when debugging after windows secutiry updates
Afert 2023 march 14 updates my app stop debugging. If I start it without debugging it works ok, if I start it debugging it crashes at startup. The error is the following: Microsoft.WebAssembly.Diagnostics.DevToolsProxy[0] DevToolsProxy::Run: Exception…


printing a pdf file embedded on web page
I have a pdf file embedded on a web page. I want to put a print button the web page so that the end user can print the pdf file. How can I achieve this. below is the code for embedding the pdf file on web browser: using (MemoryStream stream = new…


Xamarin forms invoking javascript from webview
The android project in the sample as described in this article does not work. The iOS project works exactly as described in the article. The Android does nothing.…
How write this query in EF Core or Linq
Hello, I want to write this query in linq or lambda EF core SELECT LAG(id) OVER ( ORDER BY ID ) AS PreviousWord ,ID ,LEAD(id) OVER ( ORDER BY ID ) AS NextWord FROM sales Please help


.net core 7 mvc web app hosted on IIS 10 inprocess - when using GetServerVariable always null
Converted a .net 4.7.1 mvc web app to .net core 7, hosted on iis 10 , in process. A single sign on service sets a server variable that I need to access. When I use HttpContext.GetServerVariable, the value is always null. I have confirmed using an aspx…


VS2022 can not see my real android device
I have a Galaxy S10e on Android 11 that has Dev mode turned on and is connected via USB to the pc. Visual Studio 2022 does not see this device. It is not in the list of devices to choose to run on. So, I can't test against a real device. I have deleted…


How to wait to long operation to finish
Hi, I have a long operation like System.IO.Compression.ZipFile.ExtractToDirectory(sourcefile,destination). And later I have some code. How do I finished the long operation,I don't know how long ? And later to do code after.


Route to a particular page based on a Cascading Value. (Similar to how AuthorizeRouteView works)
In the following code example, I am using the AuthorizeRouteView to send users to the LoginRedirect page if they are not authenticated. If they are authenticated, I would then like to route them based on a value in my CascadingAppState. I've tried…


The model item passed into the dictionary is of type 'DSDB_V1.Models.DSDB_STORE_TBL', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[DSDB_V1.Models.DSDB_STORE_TBL]'.
Hi All I am so confused by this thing. One type of list work... a list with a find or where statement creates an error. No really understanding why. This is the mvc below is the source codes... maybe some one can help. What it is that I am trying to do.…
How to share Cosmos Document DB Container with Blazor Server App And Cosmos Change Feed Function App using Entity Framework (EF)?
I have a Blazor Server App that uses Entity Framework Core to manipulate my Cosmos Container and I want to incorporate an azure change feed. I have created an Azure Change Feed Function App using the Visual Studio 2022 (Preview). This is configured with…


Unable to launch IIS Express Web server
I copied a Visual Studio 2022 ASP.NET MVC project that I was working on from my desktop machine to my laptop. When I attempted to test/run the app in debug mode from within Visual Studio 2022, I got an "Unable to launch the IIS Express Web…


How can I use a class declared in a ViewModel as DataType in XAML (MAUI)
Hey everyone! So I'm making a recipe creation tool that uses SQLite in order to learn MAUI. I'm at the point where I'm trying to use different models for ViewModels, the SQLite data, and I want to have separate models per views as well that are declared…


Cookie(OICD authentication) is not removed when Browser is closed in ASP.NET Core App
Hello, I have an older ASP.NET Core App that uses OICD Authentication and it's Cookie. Problem is that when old .NET Core 2.1 was updated to .NET Core 3.1 that Cookie stayed to live in Browser although Browser was closed. E.g. Logging into App and then…
Why is Maui's "Colors.xml" not found building with Visual Studio Mac but is with Visual Studio Windows?
Using VS Mac 17.6 Preview 2, building a MAUI application, it is responding with "Resource "Resources/Styes/Colors.xml" not found (XFC0124)" as an error. Building the exact same code, just copied to the Mac for its build, with VS…


simpler RowDefinitions
Hi, I have the following RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto" How can I make it simpler to have 12 Auto Rows? Thanks, Jassim


HorizontalScrollView not Scrolling to Unrendered RecyclerView Items
I have a HorizontalScrollView that contains a RecyclerView. However, the HorizontalScrollView only lets me scroll far enough to see the items that are already or partially visible. I believe this is because RecyclerView does not render items until they…


Writing a "Reader" Application
I am trying to plan the development of an application which would likely run as a service. This service would connect to a number of "devices" (RFID, Cameras, etc.) and listen/pull the data from these devices to then process in any number of…

