How do I call an ASHX from inside an ASPX.VB function?
I need to get a value from an API I made with ASHX and normally it is called from javascript but I need to call it right in ASP.NET I figured this shouldn't be a problem but I'm not sure the syntax. Well you have a couple options You can refactor the code in your ASHX to be in a shared library so you can access the methods directly and so can the handler. You can instantiate the handler and invoke the members if they aren't private. You can create a webrequest to the handler and handle the response. These are just a few of the easy ways. I personally like the first method because it promotes