Blazor isn't listed in Visual Studio Community 2022
Hello I'm trying to start a new Blazor WebAssembly App in Visual studio 2022 but it isn't listed there. I did run dotnet new --list in the command line and it shows both Blazor WebAssembly App and Blazor Server App listed so I'm not sure why it isn't…
Add Or Change Identity Claims In .Net 8 Blazor Web App
Hi, In Create New Blazor Web App Project : Check => Individual Check => .Net 8 Check => Auto Interactivew and in ApplicationUser.cs I add a property for use full name { public sting Fullname { get; set; } } but in components i want show…
Application pool requested a recycle because it reached its virtual memory limit
I hosted a web application on a (Live server) shared hosting, and did not get any issue until today when I decided to test-run it. I registered and logged in the web application with the test login details; I was redirected to the dashboard, but after…
Application pool requested a recycle because it reached its virtual memory limit
I hosted a web application on a (Live server) shared hosting, and did not get any issue until today when I decided to test-run it. I registered and logged in the web application with the test login details; I was redirected to the dashboard, but after…
Visual Studio failed to publish to Azure Container Registry
Hi, I have an ASP.NET Core application that I am trying to migrate to Azure. I am using Azure Container Registry to publish my app's images and run it on Container App. Until a few days ago, I was able to successfully push the image to the container…
When using ASP.NET GridView, the code for Paging seems Broken
I have been testing with a GridView, using code supplied by Microsoft, to make use of paging. <asp:GridView ID="myGridView" runat="server" DataSourceID="MySource" AutoGenerateColumns="True" …
When using NavigationPage as the main page, I do not receive back button events.
Hi, in App.xaml.cscs I have my main page initiated like this: MainPage = new NavigationPage(new MainPage()); However when I do that, this event is never called from any of my pages: protected override bool OnBackButtonPressed() If I use …
Permanent MAUI config file survives update of application
Hello experts I have a MAUI C# code below, for reading and writing a text file of user setting (like colors, ids, last state..) of MAUI application. Works perfect (development)! (MAUI Android and MAUI Windows) But what happends with this setting file, if…
How to view my content from my database to my home view in .Net core MVC
Hi guys SO I was learning to use .NET Core MVC through the tutorial, and I decided to take it up a notch. While the tutorial has been helpful, it did not really have what I was looking for, and surprisingly, neither do all the AI bots. So what's the…
Tutorial: Store data at the edge with SQL Server databases
Hi, I have a question about this tutorial. I wonder is there any changed in the coding? I followed the instructions but I couldn't received data in sql. I found out that System.Data.SqlClient already depreciated. So I have change it to…
Cursor pagination for query based full-text search
I need to implement cursor based pagination on an endpoint which accepts a search query. The problem is that since rows will be ranked based on a relevance score derived from a full-text search in natural language, IDs won't be sequential. Does anyone…
Could not find a part of the path '/tmp/functions\standby\wwwroot/Templates/template1.html'. ReadAllText on Linux Azure functions app seems not to append correct root path.
Following line of code is breaking for Azure function app in Flex Consumption plan with .net 8 Isolated worker, while its working perfectly on local windows machine. Even though I am using Path.Join for platform specific separator. Here templatePath is…
Remote debugging of ASP.NET (.NET Core 8) app under IIS 10 will not show source code on breakpoint
Historically, I've had no problems using the remote debugger on a Windows server for .NET Framework web services. I've now had to create a .NET Core 8 Web API using VS2022. I've published the service to a W2016 host and am hosting it under IIS…
Need code to move panels to extreme right
I have 5 panels that I am working with, all of them are in the same position, havinig the same size. When I want to select one of them, what code can I use to push all the others to the extreme right away from the left, so that I can work with one of…
Maui app in mac using VS Code stop working
Hi, Maui app in mac using VS Code stop working. I got this error. Using .Net 8.
Table border issue
Hi, What is wrong below? How to correct it?
Called multiple times
Minimal code example AppShellViewModel public partial class AppShellViewModel { private readonly IConnectivity _connectivity; public AppShellViewModel(IConnectivity connectivity, NoInternetPopUp noInternetPopUp) { …
Weird disappearing error
I have a very weird error where everything disappears after a while and I think the fault is here <?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="METROWIND.Views.NewsPage" …
MAUI: Serilog log file is not creating
I am trying to write all log details to a file and send that to our server using an API. I am using Serilog for this. I did below steps: Installed Serilog, Serilog.Extensions.Logging and Serilog.Sinks.File. MAUIProgram.cs added below code: public static…