Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

c#

ASP.NET: get external IP address

August 29, 2022 by Magenaut

I developed site. I need to get IP of site visitors.
I try to use Request, but it have only internal IP:

Categories ASP.NET, Q&A Tags asp.net, c#, ip Leave a comment

How to find datakey value of gridview on selected index changed property?

August 29, 2022 by Magenaut

My gridview is like this but I am getting error when I select view button to find primary key value column on selected index changed. Please help me to solve the issue.

Categories ASP.NET, Q&A Tags asp.net, c# Leave a comment

how does Request.QueryString work?

August 29, 2022 by Magenaut

I have a code example like this :

Categories ASP.NET, Q&A Tags asp.net, c#, request.querystring Leave a comment

get values from dynamically added textboxes asp.net c#

August 29, 2022 by Magenaut

as suggested in the title i have in which i can insert how many textboxes i want to add to a placeholder. i can add the textboxes just fine the problem is i cant get the values inserted on those dynamically added textboxes. here’s my code

Categories ASP.NET, Q&A Tags asp.net, c#, dynamically-generated, textbox Leave a comment

Test if a request’s URL is in the Route table

August 29, 2022 by Magenaut

I want to test if a URL is part of the routes defined in the Global.asax. This is what I have:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-routing, c#, url-routing Leave a comment

Revoke token generated by UserTokenProvider in ASP.NET Identity 2.0

August 29, 2022 by Magenaut

Is there a way to revoke for example an email conformation token generated by an usermanager in ASP NET Identity 2.0?

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, asp.net-mvc-5, c# Leave a comment

How to create a custom attribute that will redirect to Login if it returns false, similar to the Authorize attribute – ASP.NET MVC

August 29, 2022 by Magenaut

I tried Googling a few things about custom attributes but I’m still not sure how to go about it….

Categories ASP.NET, Q&A Tags .net, asp.net, asp.net-mvc, asp.net-mvc-4, c# Leave a comment

Microsoft ASP.NET Identity – Multiple Users with the same name

August 29, 2022 by Magenaut

I’m trying something quite exotic I believe and I’m facing a few problems, which I hope can be solved with the help of the users here on StackOverflow.

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, authentication, c#, forms-authentication Leave a comment

Query nearby locations in table in ASP.NET Core 2 and Entity Framework Core 2

August 29, 2022 by Magenaut

I’m trying to make a query where I can find all locations in my SQL database within (lets say 50 miles) of a given Longitude and Latitude points.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-2.0, c#, entity-framework, geocoding Leave a comment

Execute javascript function after asp.net postback without Ajax

August 29, 2022 by Magenaut

I wish to execute a javascript function after asp.net postback with out using ajax.

Categories ASP.NET, Q&A Tags .net-2.0, asp.net, c# Leave a comment
Older posts
Newer posts
← Previous Page1 … Page238 Page239 Page240 … Page451 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress