adding model based controller gives me an error in MVC 5
I am trying to add model based controller, according to a tutorial: https://learn.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/accessing-your-models-data-from-a-controller I tried reinstalling Visual studio, tried deleting…
Classic ASP support clarification
I am needing to get some verification for my job on whether classic asp is still being supported by Microsoft. Also, is their a way to find the end of life date for classic asp? I will need to provide some form of proof online. I am asking because when I…
Single File Deployment
We are producing single-file executables for our console app which is not working with the native dll methods at runtime. I’ve always tested it locally without the publish and it still works fine. “IncludeNativeLibrariesForSelfExtract” is set in the…
How to troubleshoot the exception, Could not create TLS secure channel?
Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…
Why is the blazor css isolation not working?
I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…
How to read pdf,jpeg,gif document using tesseract OCR with C# asp.net MVC
Currently we have one page and this page contains one file-upload and one submit button, then the user will select a file from file-upload and submit the pdf,jpeg,gif file. Now my requirement is the user will upload pdf,jpeg,gif read the content of the…
Call from one MVC5 project method to another MVC5 project method not loading aspx page
Hi, I have two projects, MVC5-1 and MVC5-2. Both are using .net 4.7.. I have installed MVC5 on both. I am trying to call a controller method from MVC5-2 (ShowMBStest())from MVC5-1. There is a method in MVC5-2 that calls an x.aspx page. I can see it…
When creating a project as an ASP. NET Web Application (. NET Framework) Empty, MVC in Visual Studio Community 2022 I get this error: Excepction from HRESULT: 0x80040402 I would like to know how to fix it please
When creating a project as an ASP. NET Web Application (. NET Framework) Empty, MVC in Visual Studio Community 2022 I get this error: Excepction from HRESULT: 0x80040402 I would like to know how to fix it please
Deployment issue
Hi, What is the reason below, when deploying the project? System.AggregateException: One or more errors occurred. ---> Microsoft.WebTools.Shared.Exceptions.WebToolsException: Build failed. Check the Output window for more details. ---…
How to authenticate my application (running as an Azure App Service) against another Azure App service using Managed Identites?
We have two applications that run in two different Azure App Services: A ASP.NET 4.6.2 application that Hosts a website and utilizes a web job that communicates with the other App Service over gRPC (using the older Grpc.Core package because App…
Is it true that .aspx (WebForms) is old technology and will be absent in all future asp.net versions?
I wonder that people say that WebForms is old/legacy/outdated technology, and that everyone should create MVC/.Core projects, which have no .aspx pages. Is it true that .aspx technology (WebForms) is not developed any more? I like visual design in…
Authorization - MSB4018 The "GenerateStaticWebAssetsPropsFile: task failed unexpectedly
Creating a project which has individual User Accounts Authorization... Steps. In the Authentication type input, select Individual User Accounts Update-Database Error... Severity Code Description Project File Line Suppression…
webservice service System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
I am currently encountering an issue with a web service. The server-side field MinimumOrderAmount is of type double, and in my receiving program, I have defined it as decimal. When the server sends a value of 9999999999 for MinimumOrderAmount, my program…
How to receive selected radio button values in the controller in ASP. Net Core 6 MVC
I am working on asp.net core 6.0 MVC. On the view, I have four radio buttons and would like to get the selected radio button value in the controller and process further based on the selected value. I have created a view model to pass data between the…
Why is the logon_user variable blank when a user has windows 11 PC ?
We have a asp.net application. This uses windows authentication and reads the LOGON_USER variable to check if the current user is allowed access etc. This all works from users using a windows 10 PC, but when the user has a windows 11 PC the LOGON_USER…
AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once
I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…
REGISTRATION AND LOGIN PAGE USING ASP.NET WITH C# LANGUAGE
Using an ASP web form, design a registration and login page that meets the following requirements; 1. Password is hashed/encrypted in the database 2. Include a notepad file of your database table.
Manage Bluetooth with an ASP.NET app
good evening, I find myself creating a web application with asp.net in windows 11 also targeting previous versions, for managing bluetooth. I tried to integrate Windows.Device.Bluetooth with the VS22 package, but I get error NETSDK1130. I would like to…
How to run a docker compose file from .Net Aspire?
I have multiple services that require a Docker Compose file to be run before starting. I have added a .NET Aspire application to manage all the services, but now I cannot run the Docker Compose file from the .NET Aspire application. Is there any way to…
carry forward total of each column
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="A.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <title>demo</title> …