Content
the taghelper do not rendered?
using Microsoft.AspNetCore.Razor.TagHelpers; namespace tag.Components { [HtmlTargetElement("pagination", TagStructure = TagStructure.WithoutEndTag)] public class PaginationTagHelper : TagHelper { …
What is the difference of = and {get;set;}?
public int PageIndex{get;set;}=0; public int PageIndex=0; what is the difference?
Converting Virtual Directory into an Application.
I am attempting to run a application and encounter this error when trying to execute a install script in browser. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. …


Dynamically Add Entry in a StackLayout and Retrieve Values in a List
As per the attachment, when clicked the '+' button, a new entry will display and need to store entered value in a List<string> . If 'x' clicked, the entry need to removed from the layout and removed from List<string> too.


When entering a "T" in an asp.net multi-line text box, only one <Shift> key event is caught by the onkeydown event handler of the text box.
In an ASP.NET writable multiline text box, when a "T" is entered, only a <Shift> key keydown event is caught by the text box's onkeydown event handler, and the "T" never shows up. This is running in Microsoft Edge browser. Web…
Convert Image in Byte array with the same PixelFormat
Hi I had a System.Drawing.Image object with PixelFormat.Format8bppIndexed, If I convert it in a Byte Array through Image.Save(Stream, ImageFormat), and create a new image based in this Byte Array, the new image has PixelFormat.Format24bppRgb. My final…


Multiple authentication schemes do not work on Azure (app fails to start)
I try to work with two app registrations that uses one app service. appsettings.json "AzureAdInternal": { "Instance": "https://login.microsoftonline.com/", "Domain": "demo.example.com", …


Unable to Resolve Scaffolding Issue in ASP.NET Core MVC Application
I'm getting the following error when I try to scaffold the Login, Logout, and Register pages. I ran the Visual Studio Installer to and clicked on the ASP.NET web development workflow to ensure I have all of the required tools installed. Version…
Parse an array of objects to a JSON tree structure
I'm trying to use the bootstrap treeview and the JSON needs to be a certain format. I currently have this format: var data = [ { make: "Chevy", model: "2500", location: "lot" }, { make:…


Blazor webassembly shows 405 error in localhost (and also when deployed to iis) when redirect back from payment website
I have created a blazor webaseembly project using .net 7. The blazor app redirects to an external url for payment. Once payment is done the payment status page(which is in the blazor app) should be loaded as that's the return url set while calling the…


Visual Studio Community 2022 (64-bit) v17.4.4 not showing any compile time errors for MAUI project.
Hi, I am using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.4.4 for my MAUI projects but is not showing any compile time errors . is it any plugin missing?


Sodium.js error
Does anyone know what is sodium.js and what is this error means? This error started showing in my asp.net MVC app. I have autocomplete on my text field which uses json call which queries database and I've noticed that even the autocomplete works,…


Debugging Shell Navigation
Hello Friends, I was wondering if anyone knows where to put my DebuggerDisplay Attribute annotations so that I can debug my navigation requests. Thanks !!! Debugging navigation Some of the Shell classes are decorated with the DebuggerDisplayAttribute,…


MAUI - All Apps crashing when running on IOS Emulators
Hi All my Apps are suddenly crashing when I run them on IOS emulators with the following errors: and output: [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no…
How to loop through JSON data?
Hi, I am calling an api and this is the return data. Could you please help me to loop through the JSON data? The JSON string - { "Outputdata": { "@xmlns": "http://xmlns.oracle.com/apps/pa/.......", …
How to use Service Principal/Managed Identities to access Azure App Configuration from .NET Framework Application?
I need to disable Local Authentication Methods (Access Keys) for Azure App Configuration Stores. Currently for an ASP.NET Framework application, I am using the following for accessing the App Configuration Store from my…


Upgrade my Azure Function from .net Core 3.1 to .net Core 7.0. Error "'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstraction
I have an Azure Function which run on .net core 3.1, but when i change the .net version from 3.1 to 7 i got this error:- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0,…
Datagridview Font When editing cell
I have not used the Datagridview before so have started a test Windows Forms app to learn about it. I notice that when I edit a cell the font size changes to something too small to read, is there a way to prevent this?


Does XAML (UWP) Visual Designer in Blend for Visual Studio 2022 work on Windows 10?
I am trying to design a C# Maui UI in XAML. I read that you can use Blend for Visual Studio to visually program XAML code. So, I loaded a new C# Class project in Blend to attempt an XAML visual edit, though the "Design" tab says "Visual…


ASPNET authentication works but value for user.Identity.Name is null
I get a null value for user.Identity.Name, but user.Identity.IsAuthenticated returns the correct value. I get my claim values too. I have only found a few posts about user.Identity.Name is null, but nothing has solved it. I have a simple login form: …

