Paging Issue in asp.net MVC
I am trying to add paging but get the error: CS1061: 'IEnumerable<Subject>' does not contain a definition for 'PageCount' and no accessible extension method 'PageCount' accepting a first argument of type 'IEnumerable<Subject>' could be…
How to fix Signature validation failed when trying to validate an access token of Microsoft Entra ID
Hi, I'm trying to validate my access token signature from Microsoft Entra ID, as you can see in the below image, the "kid" attribute is different from the keys retrieved in the second image below that were retrieved from…
how to download net framework 3.5 and 4.8 files when we have error code:0x8007000B?
how to download net framework 3.5 and 4.8 files when we have error code:0x8007000B?
Why does the emulator indicate that it has run out of storage?
So I doing a depoy and get the following: Error ADB0060: Mono.AndroidTools.InsufficientSpaceException: There is not enough storage space on the device to store package: /data/local/tmp/com.companyname.NHLMauiApp-Signed.apk. Free up some space and try…
How to make .aar workable in maui project ?
Hi all, I am trying integrate a android native sdk into maui, Made a project with Android Java Library Binding, By looking into the docs. But after that total of 3 error are occuring. 1. The type or namespace name 'ProgressStateEventArgs' does not…
MAUI: What is the difference between GoToAsync() and PushAsync() to navigate between pages?
What is the difference exactly between using await Shell.Current.GoToAsync Route Relative/GoBack with (..) Single instance?? await Shell.Current.Navigation.PushAsync(Use NavigationPage) - similar to prism or Xamarin Forms…
CarouselView CurrentItemChanged is called as many times as there are item on load
As in the title the event is called multiple times and make the event pretty much useless to use. I have just a simple example with just an array of strings. The event is called the number of times corresponding to the number of strings. XAML:…
Controls projecting shadow out of form bounds
Problem2.pngProblem.pngHello, I woriking in windows 8.1 os for alot of years with visual studio. I have the latest version of visual studio 2019. Im working with c# winforms.The problem that i found is that whenever i drag and drop a control onto form…
When running the webserver, "System.Net.Sockets.SocketException (97): Address family not supported by protocol" message is displayed.
Hi experts: I use asp.net core 8 write a web server app in visual studio 2022, when running on some embedded Linux system, will report the error "System.Net.Sockets.SocketException (97) : Address family not supported by protocol.". The whole…
How to hide the modal popup if another modal popup is open in ASP.NET
I am using multiple modal popup window (bootstrap) in the gridview. one is for onclick (link button) second one is for onclick (image button) i have used two different design popup model (dialog). i am facing the issue, when i click linkbutton, it is…
How to get a particular column from table and display in in label and not in the list in sqlite database in mvvm model
In MVVM model using async connection, I want to retrieve just one column from my async table to a label not to list. all sample I am seeing put all column in the list . I want only one mesa1 column to be displayed in a label.text. public async…
How to activate front camera in MAUI using Media Picker?
Hello... I need to allow my MAUI app users to take a selfie, so that, I need to activate front camera. When using MediaPicker.Default.CapturePhotoAsync rear camera is used. Any help, please? Thanks.
Confused about how to use Microsoft.AspNetCore.SystemWebAdapters while trying to port from old ASP.NET website to new ASP.NET Core web app
https://stackoverflow.com/questions/78589165/confused-about-how-to-use-microsoft-aspnetcore-systemwebadapters-while-trying-to Can some one tell me how to approach this?
Unable to get access token for microsoft store service
Hi, I am building an app for the Microsoft Store. I require the app's server to connect to the microsoft store to validate purchases. I'm using the Microsoft.StoreServices API provided at: https://github.com/microsoft/Microsoft-Store-Services Basically…
Unable to connect to server in Visual Studio 2022
Description of the problem: When trying to connect to a remote server using Visual Studio 2022, I receive the following error: System Information X A service error occurred. I have already searched for help online, but I have not…
URL Rewrite rule not working Http to Https Redirect IIS 10 - Asp.Net Framework 4.8 - aspx - Web Forms
Using URL rewrite module 2.1 in IIS 10 is not working as expected. Here is my requirement I have several web applications running under "Default Web Site". One of them is "WebAppDemo" The Default Web Site has bindings as in the…
Service Monitor
Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,
How to restart the service when time is reach only once a day
Hi, in continue to https://learn.microsoft.com/en-us/answers/questions/1663229/service-monitor how to restart the service when time is reach only once a day ? protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while…
Enabling Winforms Application Windows authentication service
Hi, I want to add windows authentication to my Winforms Application. I have gone to properties and enabled this as shown in the screenshot. Want to test if its working or not. How do i proceed?
ASP.NET MVC - Implementing Search Functionality
I've implemented a search to filter out records by LastName but it doesn't work; basically it does nothing. I have Googled and tried using several code sample but not been able to use them since I get syntax errors. How do I get the search to…