HttpContext.Error vs HttpContext.Server.GetLastError()
Are there any practical differences between these two ways of getting an exception for the current asp.net request?
Are there any practical differences between these two ways of getting an exception for the current asp.net request?
I am trying to “behind the scenes” log myself into a website, from the VB code behind my ASP.NET website. But I am dumbfounded as to how to do this.
I cant get the full url of the page that I am working on. This is the url that I want to get http://localhost:54570/Shipment/ShipmentDetails.aspx?HawbBLNo=NEC00000004#BFTThe result is only http://local/Shipment/ShipmentDetails.aspx?HawbBLNo=NEC00000004 on this code
I’m writing a method which, let’s say, given 1 and hello should return http://something.com/?something=1&hello=en.
I have an ASP.NET website (in C#) that takes in user data and then attempts to create a windows scheduled task. Of course, this works great on the DEV machine, but fails to run on the server. I’m trying to figure out what permission(s) are required on the ASPNET user (or anonymous web user) to create tasks.
i have a registration page with a submit button.
I have a couple of legacy ASP.NET web apps that share a database for ASP.NET Membership. I want to move to a microservices architecture utilizing .NET Core and IdentityServer4 and have the identity server in the new microservices ecosystem to use the existing ASP.NET Membership user store, but .NET Core doesn’t appear to support ASP.NET Membership at all.
Update2
This post is getting old but still relevant.. Below is whe way I solved it. I marked the other guys answer because I think it answers the question better. I’m calling a similar method(I’am about to refactor:)) in accountcontroller. The string should be a list… I think you get it.
I need block a huge IP list via config file
Hello everyone,