My C++ .NET Core library works in Windows 10, but not in Windows 11
I have a C++ CLR Class Library (.NET). It can be as basic as a single method: #pragma once #include <iostream> using namespace System; namespace CoreLibraryFails { public ref class Class1 { // TODO: Add your methods for this class…
Reusable component
I have 4 pages, that they almost do the same thing. Schedule test schedule lecture new test new lecture My NewLecturePage looks like this. <ContentPage.Behaviors> <mct:EventToCommandBehavior Command="{Binding…
How to use Managed Identity for EF6 (edmx files)
Is it possible to use ManagedIdentity with EF6 projects that uses Database first approach using ObjectContext(https://learn.microsoft.com/en-us/dotnet/api/system.data.objects.objectcontext?view=netframework-4.8.1)? Connection strings in this instances…
Permission Based Authorization In Blazor .Net 8
Hi , i want tutorial or sample code for add permission based authorization with identity for .net blazor 8 ?
ASP.NET sgen.exe fails during build
I have a Web site with ASP.NET in VS 2022. When I add a web service reference I get an error on publishing: "sgen.exe" ended with Code 1. In the internet I found the solution: "Go to the project properties and click on the Build tab and…
How to create Android Java Library Binding project in Visual Studio 2022
I am trying to create an Android Java Library Binding project, but it's not listed in project templates. I have Visual Studio 2022 17.8.0 and .NET MAUI development installed. I am following this documentation:…
How to implement remember me in the login page?
Hi All, How to implement the remember me? what I expect is if the user select the "remember me" then if they logged out and come back again they should not need to enter their user email and password. I use NetCore 6 C# below, the IsPersistent…
how to download the large files(18 GB) from azure private storage containers in asp.core ?
we have line of business to provide the files download functionality from azure storage to client accessing web application developed asp.net core mvc hosted in azure. Downloading via Sas is working for fine only the storage account which is…
Do you want to know about Family travel blog | Family vacation inspiration | The mother of all trips ?
Family Travel Blog | Family Vacation Inspiration | The Mother of All Trips Embarking on a family vacation is more than a mere escape; it is an odyssey filled with shared laughter, cherished memories, and the joy of exploration. In this detailed family…
Issues with OpenIdConnect and MS Identity Web
I use OpenId Authentication combined with MS Identity Web within a .NET6 Razorpage Project. I can log in with an account with Global Admin and "TENANT.onmicrosoft.com" and am redirected to /Index. As soon as I want to log in with a…
.NET Technology Stack latest Diagram
Hi. Please can someone point me to the latest (2024) .NET Technology Stack diagram? I have searched the web but found nothing about .NET Core and ML.NET in those diagrams. Thanks.
How to use the required modifier in C# properties correctly?
public class State { public int StateId { get; set; } public required string StateName { get; set; } public required ICollection<District> Districts { get; set; } public static void CreateNewState() { State state =…
double.TryParse has bug ???
var number = "422.3262"; double.TryParse(number, NumberStyles.Float, CultureInfo.InvariantCulture, out double value); When I run the above code on the console program,the result is 422.3262 But when I run it on the asp.net program,the result is…
The LinkButton in Nested GridView is not responding to any event. How to solve this
The LinkButton in Nested GridView is not responding to any event. How to solve this code.pdf
asp.net c# url
I am using asp.net c# and xml file and want to create url like as given below example: this one original url ~/products/product123.aspx and open to ~/products123.aspx when the user click the hyperlink open the ~/products123.aspx instead of…
where can i get {directory-object-id}
DELETE https://graph.microsoft.com/v1.0/groups/{group-id}/members/{directory-object-id}/$ref I need {directory-object-id} value how can I get the value {directory-object-id}
vb.net [not C#] - Taskbar Apps
I've been making my own Shell for Windows and I am trying to make the small little apps on the bottom of the taskbar, like this. I don't know how to make it though. Any suggestions for help? I will be using a PictureBox and a TextLabel on top. Also,…
How i can use Azure Active Directory Authentication in .NET 8 blazor web app (Auto)
I have created an application using Blazor Web app template and choose Auto (Web assembly and Server). Now I want to use Azure Active Directory (AAD) login for Authentication, How I can do this in my application and what packages I need to install and…
Can't use Microsoft.Maui.Storage.Preferences in unit testing
Hi, I am migrating one Xararin Forms project to MAUI. The application code works fine. On the unit testing side of it some of the places App.Properties was used which is now replaced with Microsoft.Maui.Storage.Preferences but this doesn't seem to be…
Blazor server application with SSO using Microsoft Entra ID. Getting "Need admin approval" screen on login.
Hello, We recently started developing a small web app using Blazor. We chose Blazor server app and want to have kind of an automatic log-in for users in the future, so for that purpose we chose to use Microsoft Entra ID as we already have it configured…