Content
Every time I try to access the API token it throws an error.
Hi, it's like that every time I try to post something to the API from Nextjs over to the API with Token (Auth) on it. then it makes an error. If I use swagger or postman and take the same token as I use in nextjs. Then it also makes errors. Errors can be…


What is the limit of int?
Hi all. Looks like there's something I don't know... Net SDK 6.0.405, ASP Net Core 6.0.13. But what is the real limit? https://learn.microsoft.com/ru-ru/dotnet/csharp/language-reference/builtin-types/integral-numeric-types I use: int sqr = number *…


How to set up 2-factor authentication if you don’t have a code or QR Code? And how to get it restored if it won’t restore?
Hey, for anyone who knows what to do here, I really need help. Since I had gotten a new phone 2 days ago, and everything, such as my apps, as well as my Microsoft Authenticator app, and when I tried signing in to my Work or School account, it kept…


How to fix Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine In accessdatabaseengine 2016
Team, Kindly please help me to figure out issue regarding Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine I just updated ACCESS DATABASE ENGINE 2010 to ACCESS DATABASE ENGINE 2016 version in my system. so please help…


EF Core query for a specific condition in related entities and update parent entity
Hello there, In my Blazor Server application, I have Order and Order Details entities which are related as you can imagine. They both have their own repositories. public class Order { public int Id { get; set; } [Required] …
how to use blazor webassembly in razor pages?
how to use blazor webassembly component in razor pages? if I create Count in webassembly how to use it in razor pages? if I do not open that page do not load dll If I open that page then load it. /Pages/Count.cshtml with component Count If I do not open…
C# UWP Printing "Keine installierten Komponenten gefunden. (Exception from HRESULT: 0x800F1000)" (No installed components found.)
I want to print in my UWP App. I create a SortedList of RelativePanels which i fill with controls. The PrintPreview appears correct with the first RelativePanel of the SortedList. But when i want to switch to next PrintPage, this means the next…


How to save login state when close browser?
when signed HttpContext.SignInAsync(claimsPrinciple); when I close the browser the cookie is not valid and I need login again. builder.Services.AddAuthentication("Cookie").AddCookie("Cookie", options => { options.Cookie.Name =…
Button click event is not firing
Greetings again dear experts. I have an .aspx page with two sections One section allows our users to enter records displays existing records for update. The second allows users to preview the records, whether insert or update before submitting to the…


Azure B2C AD with thousand subdomains
I have MS Azure B2C AD login setup in Blazor Server. The shared URL is https://login.subone.dev.mymaindomain.com. The redirect URL is https://login.subone.dev.mymaindomain.com/signin-oidc. It works perfectly. I have added another site:…


Copying code from documentation and license
When copying the code from the documentation (e.g. https://learn.microsoft.com/en-us/aspnet/core/web-api/handle-errors?view=aspnetcore-6.0) do you have to specify in your code where the given code came from and refer to the appropriate license?


Using transparent PNG for game development?
I'm thinking of developing a game using transparent PNGs but I have a couple issues: I can only get things to animate while they are moving. The images cut into each other leaving empty spots.


RemoteCertificateNameMismatch, RemoteCertificateChainErrors with HttpClient
Hello everyone and thanks for the help in advance. I am refactoring code that previously used WebClient (now deprecated) to HttpClient. The page connects with to a device using a self-signed certificate with an internal IP address for the Uri. …
How would I assign the members of one instance of a class to another instance of the same class in VB.NET?
How would I assign the members of one instance of a class to another instance of the same class in VB.NET? Both EETSettings and EETLightColors are istances of the same class in a VB.NET Windows Forms (.NET Framework) Application. EETSettings = New…


Installing components for developing ASP.NET Pages with VB.NET
Hi there can someone tell me which individual components I need to install for asp.net page for vb.net. I have forgot which component I Need. Thank you Mathew


How to set width of a FlyoutPage.Flyout?
In Shell we have the FlyoutWidth property but in FlyoutPage I cannot find anything similar. I tried WidthRequest on the FlyoutPage.Flyout page and some other fields but none of them worked.
running application from linux arm using httpclient I have exception calling an api http with self signed certificate
Using dotnet 7 my application calls a https api service in my local network with self signed certificate. I run it from a Windows client and I have no problems. I run it from a linux arm raspberry device and I have the following exception: "One or…
Error at Add-Migration CreateIdentitySchema
Error: ...The type or namespace name 'Areas' does not exist in the namespace 'Authentication' (are you missing an assembly…


Creating similar screen in ASP.NET (Web forms)
Hi, I would like to create something similar to this in ASP.NET: Which is the best way to do it? Thanks


The Active Directory App created using visual studio does not have any "Certificate & Secrets".. is this fine?
I created a new ASP.NET Core MVC 6.0 web application >> and i define it to use Azure AD for authentication, as follow:- then i were asked to create owned application, so i created one named "ad" as follow:- and inside my application's…