ContosoPizza.http file not being created
When following the tutorial for creating a web API project, on page 3, part 4, i enter the following command: dotnet new webapi -controllers -f net8.0 however it does not create the ContosoPizza.http file as the guide states it should. Please advise…
Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio
I have my SharePoint 2010 application code in Visual Studio. I did clean, rebuild and deploy solution. I have done "Attach to Process" w3wp.exe files in the debug, but debugger is not hitting breakpoint when trying to work on UI. IIS reset is…
how to return value from popup table to the C# asp.net code
Hi, On clicking a button on UI, we have to show a dialog or Popup Table on the center of the screen asking user to enter integer value of area(Mandatory) when one condition is met, then user clicks Ok(which has captureAreaVal() function in my script as…
Azure app service reverts to previous version
I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…
Migration from .NET 6.0 to .NET 8.0: Compatibility and Considerations
Hello everyone, We have a solution with a vast number of projects, and we are aiming to migrate some of the components to .NET 8.0. Before proceeding with the migration, we want to ensure that we will have full compatibility and support for it. Our App…
Performance issues in Session State
Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…
Replicating ASP.NET Request Validation Behavior in .NET 8 for Automatic Input Validation ?
In our current ASP.NET Framework 4.7.2 application, we utilize request validation to automatically check for potentially malicious input by setting requestValidationMode to 4.0 in the web.config file. This ensures that requests are validated for…
Issue with an earlier well functioning AppService
Hello Team, I would like to ask your help in a technical issue. I am creating an AI chatbot flaskbased application , where using mostly open source libraries. For semantic search and ranking I am using FlashRank library…
when get data from procedure exist on PostgreSQL it show not exist although it exist?
I create stored procedure on PostgreSQL as below CREATE OR REPLACE PROCEDURE app_sec."app_perm_sp_pkg$get_all_tenants"( IN p_tenant_cur refcursor, OUT p_status integer, OUT p_status_desc text) I try to get data by call sp from PostgreSQL…
DriveItem AdditionalData Patch method with error in Graph Api
I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…
Calling a Web Api from a WCF client
Yes , I know its kind of weird . I have a web app running with 4.5 Framework. It has some Wcf clients configured in web.config to access the usual soap services. Now I am in a situation where I need to call some Web Api ( whose implementation I don't…
Use Enter key press for focus change and check input before submit form
I have a asp.net form content dropdownlist, textbox and button. I want to implement Enter key press to change focus and check input before submit form. I use onkeyup="EnterPressFocusChange(this, event)" for change focus and…
How to invalidate .AspNet.ApplicationCookie Cookie in ASP.NET MVC 4.6.2
Hi Sir/Madam I have web application using ASP.NET MVC 4.6 version. In Startup, I am creating ApplicaitonCookie like below app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType = "ApplicationCookie", ExpireTimeSpan =…
Parallel request handling in .NET Framework v.4.7.2 and .NET 8 Issue ?
Following is the controller method for uploading product images. We are using Dropzone jquery for uploading products from client side. It sends 2 parallel requests to server at once if uploaded multiple images simultaneously. In .NET Framework public…
how to code classic asp.net to open multiple browser instances (pages)
I am working with .Net 4.0, where a user can see records in a GridView. What Im after is this: User has access to the Gridview on the main page. He clicks on a linkbutton from the gridview that launchers another browser instance (page 2). He clicks…
How to check asp.net core hash password in stored procedure
Hi there; There are countless of SQL stored procedures examples that check plain text passwords which is a bad security practice. I initially used ASP.NET Core Identity so the password were hashed and saved in the datatabase, but not I want to use…
Migrate from Blazor Web Assembly to Blazor Server
I'm building a website with Blazor Web Assembly hosted in ASP.NET Core (NET7). The website is a project for the university that is basically an online magazine. There will be new content and I want to use SEO in order to have visibility in the search…
The process was terminated due to an internal error in the .NET Runtime
Hi everyone, We have a windows 2019 server that hosts an IIS website. Since today, when trying to sign in to the site, it gives 503 error. I figured out that if I'm looking at Application Pools in IIS manager, it shows that the status is Stopped. If I…
There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'TenDonVi'.
At the first time, I used like this and it worked well, there is no error about this: (Controller) public ActionResult EditNV(int? id) { var nhanVien = db.NhanViens.Include(nv => nv.LichSus).FirstOrDefault(nv => nv.MSNV…
I am trying to integrate .NET WEB API in .NET 4.7 Framework (acts as backend server) & WEB APP(act as frontend). But not able to connect WEB API to Azure SignalR
SignalR Connection Error: Error: Server returned handshake error: SignalR Service is now in 'Default' service mode. Current mode works as a proxy that routes client traffic to the connected app servers. However app servers are not connected. this…