Can we use Handler (.ashx) files in Silverlight??
-
Is it possible to use handler files in Silverlight. If yes, please suggest how.
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter. Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder. Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.
-
Is it possible to use handler files in Silverlight. If yes, please suggest how.
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter. Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder. Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.
I honestly don't know but googling for ashx files silverlight[^] I found this[^] which might be useful for you. Since it's in codeplex you can download the code and look at how they implemented it. From the homepage:
Codeplex:
HSS Interlink™, a File Upload and Download management and control suite for ASP.NET, HTML/JS, MVC 3/4, Silveright 5, .NET 4.0 and Windows Azure Blob Storage
If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez
-
I honestly don't know but googling for ashx files silverlight[^] I found this[^] which might be useful for you. Since it's in codeplex you can download the code and look at how they implemented it. From the homepage:
Codeplex:
HSS Interlink™, a File Upload and Download management and control suite for ASP.NET, HTML/JS, MVC 3/4, Silveright 5, .NET 4.0 and Windows Azure Blob Storage
If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez
That's not what he asked
Beauty cannot be defined by abscissas and ordinates; neither are circles and ellipses created by their geometrical formulas.
-
Is it possible to use handler files in Silverlight. If yes, please suggest how.
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter. Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder. Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.
We use handler files for handling HTTP requests in ASP.NET. Silverlight is a RIA framework, it's completely unrelated to APS.NET and thus no ASP.NET technology is present in it. If you're asking about posting to a handler (.ashx address) you can do that with a HttpRequest, the same way as you would do with any other server. Good Luck!
Beauty cannot be defined by abscissas and ordinates; neither are circles and ellipses created by their geometrical formulas.
-
I honestly don't know but googling for ashx files silverlight[^] I found this[^] which might be useful for you. Since it's in codeplex you can download the code and look at how they implemented it. From the homepage:
Codeplex:
HSS Interlink™, a File Upload and Download management and control suite for ASP.NET, HTML/JS, MVC 3/4, Silveright 5, .NET 4.0 and Windows Azure Blob Storage
If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez
Thanks Emmanuel. I will check it because it is also using some handler.
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter. Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder. Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.
-
We use handler files for handling HTTP requests in ASP.NET. Silverlight is a RIA framework, it's completely unrelated to APS.NET and thus no ASP.NET technology is present in it. If you're asking about posting to a handler (.ashx address) you can do that with a HttpRequest, the same way as you would do with any other server. Good Luck!
Beauty cannot be defined by abscissas and ordinates; neither are circles and ellipses created by their geometrical formulas.
Thanks Amitosh. Yes, agreed. But the launching page and request/response processing is through Asp.Net only for Silverlight apps. Therefore only at client side SL comes into picture but for server side it is Asp.Net, which takes for all the processing. So, my question is can I call a handler file from a SL screen (Xaml.cs or viewModel)?
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter. Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder. Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.
-
Thanks Amitosh. Yes, agreed. But the launching page and request/response processing is through Asp.Net only for Silverlight apps. Therefore only at client side SL comes into picture but for server side it is Asp.Net, which takes for all the processing. So, my question is can I call a handler file from a SL screen (Xaml.cs or viewModel)?
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter. Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder. Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.
You do it by sending a request through the HttpRequest class to the handler url and passing url parameters and/or custom HTTP headers. This MSDN Page explains a lot.[^]
Beauty cannot be defined by abscissas and ordinates; neither are circles and ellipses created by their geometrical formulas.
-
You do it by sending a request through the HttpRequest class to the handler url and passing url parameters and/or custom HTTP headers. This MSDN Page explains a lot.[^]
Beauty cannot be defined by abscissas and ordinates; neither are circles and ellipses created by their geometrical formulas.
Thanks Amitosh.
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter. Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder. Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.