Content
Blazor Server- AD B2C - Public, User and Admin sections with simple .net core identity authentication / authorization technique
Update - I now believe combining @Michael Washington Azure AD Groups solution with my custom AuthorizationHandler solution is the best of both worlds. I don't have an example of it, but if you are going down this path, look in to it. Edited…


Maui android layout content to fite in screen size
Hello all. How I can ensure that my layout content fit in any device screen. I test my app in my phone and it's ok but how I can be sure that it will fit in any other android device. I know I can use scrollview. but I want to know if it possible to…


ApiAuthorisation with foreign key
Hi, I have an application where it's necessary to have an ApiAuthorisation means to have several individual account. Also I need to use a foreign key. I defined modelBuilder has below : protected override void OnModelCreating(ModelBuilder…
Visual studio 2022 Installation error
Can someone help me? I am getting this warning when I try to install .NET development for visual studio 2022 : Couldn't install Microsoft.VisualStudio.Community.Shared.Msi


error when try to get values from object parameter 'object' does not contain a definition for 'employeeID'
I working on blazor web application server side by csharp . I face issue i can't get values of properties employee id and department code from object parameter to insert value on table I get compile time error when try to get value for property employee…


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.…
ASP.NET Core MVC with Identity - ArgumentNullException: Value cannot be null. (Parameter 'value') on signInManager.PasswordSignInAsync
What's up everyone, I've been having this issue when implementing Identity authentication to my app. This is the error I get: ArgumentNullException: Value cannot be null. (Parameter 'value') System.ArgumentNullException.Throw(string…


Printing a div card with exact styles as it appears on the web page
On my web form, I have these div card where there are labels with values, and two image controls. The labels on the card can have their font-family and color changed by the user o the client side to the desire of the user, using controls provided to do…


How to Increase None-Paged-Pool limit ??
Referring to the post on the link below, the size of NonePagedPool cannot exceed 128GB no matter how many RAMs are added to 1TB or…


Invoking azure functions server SignalR group functions from ASP.NET Core Client
I am trying to invoke azure functions server SignalR group functions from an ASP.NET Core client. The server side code that I am trying to invoke via an ASP.NET Core client can be found in this article. I have not found a single reference of a C#…


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…


making an image box in Razor page
I want to make an image box on my razor page so that users can type or sign their name in that box. I want something like adobe acrobat offers. below is the screen shot: How can I achieve this.


Displaying progress bar in asp.net mvc
Hi, I have written following controller : public ActionResult ProgressBarDisplay() { int count = 0; // reads the count from database and updates the count double percentage = (count / 9) * 100; return View(percentage); …


I can't generate a Razor view in ASP.NET Core v7 - Package restore failed
I'm new in ASP.NET and I don't know exactly where is the error or which package is broken. It only occurs while generating a template of view. I can generate Controllers and empty Views normally. I reinstalled the Visual Studio, cleaned and rebuilt the…


Why .Net 8.0 does not show up as Traget Framework for a new .NET MAUI App on Mac?
I have installed both Visual Studio 2022 for Mac v17.6 Preview and .NET 8.0, all successfully installed. Platform: MacBook Pro, x64 (2.2 GHz, 6-core Intel Core i7, 16GB/256GB), macOS Ventura Version 13.1 I've also successfully run dotnet workload install…
Input control used to display and change font-family does not work with multiple javascript
I have controls that can be used to change font-family and colors of label controls. The input control is for changing font-family while the AjaxControlToolkit ColorPickerExtender is used to change labels color. At the top of my HTML page, I registered…


ContentView add GraphicView can display in android and not display in windows ? bug?
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:drawables="clr-namespace:myMolly.Drawables" …


Exposing NET 7 classes as COM for Excel VBA (and vb6)
I have a .net 7 class library with GUID and ComVisible attributes defined. Also added EnableComHosting tag in csproj. After registering (regsvr32) the comhost.dll it is usable from e.g. Excel VBA, but only as late bound. Anyone able to guide me further…


I can't find ASP.NET Web Application (.NET Framework) with c#
Hello I want to use ASP.NET Web Application (.NET Framework), and I have downloaded Visual Studio Community 2019 v16.11.3, and i have clicked the ASP.NET and web devleopment before i download it but I can't find the one i needed, I don't want the…

