*I cannot call an aspx file from within an MVC5 web app controller method
Hi, I have two MVC5 webapp projects. Proja references projb. When proja instantiates a new projb object called projbObj. I call a method from projbObj called DisplayLoggingMaint(). But when I debug this, the debug stops at the call…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
403 Forbidden - Links in ASP.NET code behind
I am building my website in ASP.NET Web Forms with User Accounts. I have just the example template that comes with the ASP.NET webforms and I'm going through trying to connect all the 2FA ans SendGrid peripherals. I would really like to read the…
DataTable values are getting the default values(Initially loaded values) when we click on the dropdown icon of DataTable in asp.net C# using jQuery
I'm very new to this DataTable logic implementation concept and I have append the data to the DataTable and append successfully and in that DataTable controls I have written some event logic (ex:- dropdown onchange and textbox oninput events) and those…
How to invalidate ".AspNet.Cookies" cookie on logout?
I have a .net application deployed to Azure. A penetration test finding called "Session Not Invalidated After Logout" is found. When an API Get request is sent along with .AspNet.Cookies while user is logged in, a successful response is…
Dynamic Folder Names with AjaxFileUpload
I'm attempting to replace the upload /download pages of our very old ASP classic web site with a web forms app. Keeping as much of the back end stuff the same is important as there is code (mostly VBA in Word, Excel and Outlook) in our daily operation…
how to pass C# DataTable to JQuery DataTable
I am trying to send data from a C# DataTable to a Jquery DataTable, but I am not sure how. Here's my code, but it is not working. public ActionResult StudentList() { TestViewModel tvm = new TestViewModel(); List<Student> students =…
About MVC support please
<div class="row" id="education-seminar-forms-BilgisayarBilgi"> @for (int i = 0; i < Model.tBL_BilgisayarBilgisis.Count; i++) …
MVC excel to pdf
public ActionResult Excel2(int? id) { List<TBL_Table1> FileData = db.TBL_Table1.Where(x => x.Tableid == id).ToList(); string DosyaAdi = ""; try { ExcelPackage.LicenseContext =…
validate item in entire gridview to check excess Quantity
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="yyy.aspx.cs" Inherits="yyy" %> <html> <head runat="server"> <title>Untitled…
![](https://techprofile.blob.core.windows.net/images/ZXe74VOTGUC0onT7eaZQmg.png?8D9259)
get user ip address not deployment system ip address
Hello I want to get and show in Label1 user system name and ip address not deployment machine ip address how to get that i tried this but its taking depoyment ip address i want user machine ip string hostName = Dns.GetHostName(); …
![](https://techprofile.blob.core.windows.net/images/ZXe74VOTGUC0onT7eaZQmg.png?8D9259)
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.
SSO OAuth with Username And Password
I have a Web Application whose Admin portal developed in Asp.net Webforms with some domain and the Public portal of the same is in Asp.NET 8 (.NET CORE) with some other domain. The database is same for both and currently I do login with Username and…
Mysterious Error log from IdentityClient when using DefaultAzureCredential
2024-02-27 23:08:54.995 ERROR 54214 --- [ main] c.a.i.implementation.IdentityClient : Could not invoke the MSAL Broker. Ensure that the azure-identity-broker library is on the classpath. java.lang.IllegalStateException: Could not invoke…
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…
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)