Content
Secured controller action shows 401 error instead of redirecting to login page in .NET 7
I am developing a .NET 7 Web application that has secured areas. This is a monolith application, so that it is separated in different assemblies. I have one host assembly (the entry assembly), called EntryPortal.Core. On the other hand, I have other…


What is the meaning of this part of code
Hello, Can you please tell me what is the meaning of this code: return responseString!.choices[0].text;


Conditional Format expiration dates
Hello, I am trying to conditional format my excel worksheet to highlight a colour when the certification is expired. The expiry dates in this case would be 3 years or 1095 days from date of certification. For example if I received a certification on…


How to make login details after login success with form below
I work on razor page on asp.net core 7 I need to make form or box with details of users success as below but I don't know what is name of box have user details I pass data after login success by following…


How to check the record exist with same value in all the column before insert
Hi, I am inserting data into a database as follows; public async Task AddStockAsync(List<GameBank> gameBank) { await _oyunPalasContext.GameBanks.AddRangeAsync(gameBank); await _oyunPalasContext.SaveChangesAsync(); } I wonder if I can check…
Xamarin.UITest Cross Platform test project template is missing in VS 2019 16.9.2 Community edition
There is no "Xamarin.UITest Cross Platform test project" template on the "Add new project" window albeit all Xamarin components are installed. Any advice on what might be missing?


Quartz -Scheduler - how I edit configuration in MAUI while scheduler is running?
Hi, I have GUI client app in maui that insert configuration as seen in screencast in my DB. The service (worker service) read this configuration from DB and run the jobs using scheduler. Here part of screens in client: I want to add/edit/remove…
Button selection like in menu
Hi, Please see https://app.screencast.com/Lgk50on26Xky6 When I select on my left menu side that consist of buttons i want that the buttons will be selected like in web screencast. All others buttons in app not influence from the selection in the my…
How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."
Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…


Is there Visual Studio project PropertyGroup condition that can be applied to only Emulators (or Devices)?
I like the Fast Deployment feature for debugging Visual Studio projects but I cams across an Android Emulator that doesn't as yet support Fast Deployment. I was wondering if there is a PropertyGroup condition that can be applied only to Emulators as…
Net maui carouselview current item s index show problem ?
I have carouselview and you add timer (autoplay) that is working... I added totalCounter is total amount of images which is showing fine currentCounter is current index of images which starts fine (shown 1) but and of images loop=true it…
What is causing long running HTTPS requests to be executed twice in ASP .NET Core application on IIS 8.5
Hello, We are hosting an ASP .NET Core 6 application on IIS 8.5 Windows Server 2012 R2. This application provides Microsoft.AspNetCore.Mvc.Controllers to an Angular application. One of the supported calls can take quite a long time (10-15 minutes). Now…


Understanding the right DateTime Parameter to use when inserting Data into LIVE database
I have two issues that have been giving me headache in solving. The first is: Upon successful login by a user, an update is done in the Logindate column of the database table. But before the update is done, the value of the Logindate column is fetched…


Local IIS without local admin privileges
Is it possible to run local IIS (on the developer's machine) without being a local admin? when the latest security measures were applied we all lost local admin privileges.


Serilog - email sink multiple recipients?
Hi guys, I am trying to send emails to multiple recipients with Serilog but couldn't figure it out. Any help, please? { "Name": "CustomEmail", "Args": { "ConnectionInfo": { …
Can I do a swap on a Blazor Server App service without disconnecting users?
I run an App Service hosting a Blazor Server Application. The App service has a staging and production slot. When I do a swap from staging to production I would like users to remain connected and have 0 downtime. Is this possible? The application also…


Maui navigation and TitleView is very confusing
I am trying to customize the TitleView in a Maui app. 1st - I am trying to get the page title but this is not happening. The property CurrentPage does not seem to get updated and this means that the Title prop of the CurrentPage is not accessable. 2nd…


Net maui runtime loading problem ?
I have created languageconverter as above binding from C# listing...Firstly binding values by Text="{DynamicResource Key=welcome}" like that.. it is working as expected but when loaded page with custom collectionview is not changing language…
Query on Net & ASP
Hi All i have outdated versions of .Net and ASP.Net. i have installed .dotnet core removal tool for the url https://github.com/dotnet/cli-lab/releases . What syntax should i use if i need to remove the below .Net Cre SDK 3.1.413, .NET Core Runtimes…


Calling webapi from another webapi both protected by b2c
I have 2 webapis and an angular application. All protected by azure b2c. Angular application calls a web api that then calls the other web api. What are my options for webapi webapi call. how can i access the token for scopes?

