Hi Manish,
Thanks for the tips. I think Max is using the "web Application Project"
which should allow codebehind to reside with aspx/ashx template and will be
precompiled into a main assembly in "bin" folder.
Hi Max,
You're using the "Web Application Project" right? If so, I've try
performing some test on my side as below:
**use an ASP.NET 2.0 web application project which contains some aspx
pages and ashx simple handler
**publish it to a local disk folder through "right click project node and
select "publish" menu item ....". Also, I choose "only files needed to run
this application" when publishing it.
After that I saw the ashx handler file be correctly copied to the target
publish folder. Is this the behavior you expect? I think ashx files should
be certainly considered as necessary stuffs for publishing. You can also
try a simpler project to verify this.
Please feel free to post here if you have any other findings or anything
we've missed here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------