How to enable CSP in asp:UpdatePanel without having to write 'unsafe-inline'
I have an asp:UpdatePanel and asp:ScriptManager in my web form. When I enable CSP in the web.config as below, the functionality of the pages are not working like 'OnSelectedIndexChanged' event of asp:DropDownList and many more. <add…
How to configure ASP.NET Single Sign On instead of Windows Authentication using open source
I developed many applications using windows authentication and same has to be configured in the Company Windows Server IIS. Application is working fine now. I am getting new requirement, we want to migrate/implement all the server hosting application…
ASP .NET 9 API Error (Multiple constructors accepting all given argument types have been found)
I got the error below after upgrading from .NET 8 to .NET 9. I checked in the NuGet Package Manager, but my solution does not contain Microsoft.AspNetCore.Cors package. InvalidOperationException: Multiple constructors accepting all given argument types…

Rendering the SSRS Report in the asp.net MVC Application
I want the Source code to render the Hosted SSRS report in the asp.net MVC Application.
Why ModelState.IsValid doesn't check the Remote Validation?
Hi, Why ModelState.IsValid only checks the required but neither check the Remote Validation? [Required] [EmailAddress] [Display(Name = "Agent Email Address")] [Remote(action: "IsEmailRegistered", controller: "Agent")] public…
how to implement JWT token using .net core 8 web api
I am new to jwt token generation and as well as .NET core 8 web Api, so now i am building nurse recruitment portal backend implementation from scratch so below I have written code for jwt token generation and i want to check its correct way of implement…

How to hold both an internal and an external web app on the same server
We use IIS 10. We have multiple webservers each having the same websites, and have a ___ to route traffic to one or another of the webservers. Right now they are all public but https. We want to make 1/2 the websites internal, only accessible within…
Scaffolding Identity does not create Required Pages for Login and Register
I am trying to Scaffold Identity UI containing Login.cshtml and Register.cshtml for my ASP.NET Core application. The code in my Program.cs file is: using ObjectCrudApp.Data; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Identity; using…

new baby for asp.net core mvc
Hi all my all previous experience is using asp.net MVC, asp.net web, API and angular but recently I have install .NET 8 SDK and created asp.net core MVC empty project and i have following doubts. how to make authentication and authorization using…
new baby for asp.net core mvc
Hi all my all previous experience is using asp.net MVC, asp.net web, API and angular but recently I have install .NET 8 SDK and created asp.net core MVC empty project and i have following doubts. how to make authentication and authorization using…
How to achieve Named Entity Recognition (NER) using C# asp.net
When we read a text, we naturally recognize named entities like people, values, locations, and so on. For example, in the sentence “Mark Zuckerberg is one of the founders of Facebook, a company from the United States” we can identify three types of…
Operation Not Supported on This Platform When Consuming WCF Service in .NET 8
untering the error "Operation not supported on this platform" while attempting to consume a WCF service from .NET 8. The service is built in .NET Framework with wsHttp security. The implementation involves passing a username, password, and a…
How to display GridView from behind an Ajax ModalPopupExtender
Not sure how to ask this: I use a gridView inside an AjaxControlkit modalpopupextender. When a row is clicked, I close the popup by calling Hide(), and then execute a method to load data into a different GridView that was behind the popup on the parent…

When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.
Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak
When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.
Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak
SelectList Data Annotation claimed as empty or not selected?
Hi All, I don't understand why my SelectList Data Annotation claimed as empty or not selected? **my.cls** public class Data { [Required] [Display(Name = "Contact Group")] public SelectList contactGroupsList { get; set; } …
If I upload image to my web App with ASP.NET CORE and Blazor Assembly StandAlone App to the folder Uploads My question is How to show all images to the new page using coding above
@page "/view-page" <h3>Blank View Page</h3> @for (int i = 0; i < tshirtItems.Count; i++) { var index = i; <div class="tshirt-section"> <img src="@tshirtItems[i].ImagePath" alt="T-Shirt…

anti-forgery tokens implementation in asp.net web api
Can any one help me with anti-forgery tokens implementation in asp.net web api and AngularJS. how do we maintain the forgery key in web api to validate the key for every request. Please provide the full example.
Address Autocomplete
Hello everyone and thanks for the help in advance. I need to develop a page for address input that will be entered by an end user. Obviously, user input is prone to error so I am looking for solutions to validate the input. I know the US Postal…
Web App Builds But Only Shows Default ASP.NET Page – Why?
Hi everyone, I’m currently working with an existing on-premise ASP.NET Web API application. I opened the solution in Visual Studio, and it builds and runs without errors. However, when I run the application, it shows the default ASP.NET landing page…