Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using ASP.NET resource files from HTTP handler [duplicate]

Is there any way how to get access to the resources stored in App_LoacalResource or App_GlobalResources? I familiar how to do that for web form page but can't figure out how to do that from .ashx files...

like image 255
Mr. Pumpkin Avatar asked Jun 20 '26 06:06

Mr. Pumpkin


1 Answers

Try this:

HttpContext.GetGlobalResourceObject

or

HttpContext.GetLocalResourceObject
like image 69
littleb Avatar answered Jun 23 '26 06:06

littleb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!