Click here to Skip to main content
15,880,905 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Enable/Disable div based on RadiobuttonList (SOLVED) Pin
samflex25-Jul-17 9:32
samflex25-Jul-17 9:32 
QuestionVisual Studio & Asp.Net in Web Forms Bad Design view Pin
zequion23-Jul-17 2:23
professionalzequion23-Jul-17 2:23 
QuestionTable resizing in MVC bootstrap Pin
Member 1075459521-Jul-17 7:31
Member 1075459521-Jul-17 7:31 
AnswerRe: Table resizing in MVC Pin
Member 1075459527-Jul-17 10:44
Member 1075459527-Jul-17 10:44 
QuestionResponse.Cache, Code Location Pin
jkirkerx17-Jul-17 9:24
professionaljkirkerx17-Jul-17 9:24 
AnswerRe: Response.Cache, Code Location Pin
Richard Deeming17-Jul-17 10:09
mveRichard Deeming17-Jul-17 10:09 
GeneralRe: Response.Cache, Code Location Pin
jkirkerx18-Jul-17 7:38
professionaljkirkerx18-Jul-17 7:38 
QuestionUsing Visual Studio to debug iHTTPHandler routines Pin
Member 839420716-Jul-17 21:26
Member 839420716-Jul-17 21:26 
I m trying to make use of the code provided in:

Walkthrough: Creating a Synchronous HTTP Handler[^]

I am fine with the concepts of the code, but I cannot understand how to implement such a project in Visual Studio Community 2015. I want to understand how (if it is possible) to debug the code in Visual Studio and then how to deploy it. The article mentions IIS 6 and IIS 7 whereas on my Windows 10 environment I think I get an Express version of IIE (that came with VS) and the Windows 10 version of IIS, which says in its IIS about box, that it is version 10.0.15063.0.

I have read a lot of material on the topic and often people talk about using VS to Open a Web site from the file menu, but I am not really quite sure what that does or how it helps in this situation. The following article provides a solution close to what I want to achieve, though in my final solution the image will be pulled from a VARBINARY SQL Server database column.

Generic Image Handler Using IHttpHandler[^]

If you down load the source code for this project you get exactly what I would expect. A client web application that writes references to its web page at run time AND a separate iHTTPHandler project that serves up the image requested in the calling parameter.

So I am expecting that there is a need to install the iHTTPHandler either in IIS Express or IIS, and that once installed you should be able to enter a URL that will cause the browser to refresh with the requested image? Visual studio provides no deployment / publishing options for the iHTTPHandler project (that I can see). I presume I just need to copy the BIN DLL into the required folder over seen by IIS? Do I need additional IIS settings for the handler to be recognised?

Finally, there is the part which allows the client application to recognise the fact the handler exists, which I believe is a line in web.config.

<add type="ImageHandlerLib.ImageHandler, ImageHandlerLib" path="ImageHandler.aspx" verb="*" />


There is not much explanation as to the "why" this is needed (i.e. its purpose).

An ideal answer would "in the context of visual studio" provide a step by step explanation of how to get this working in the IDE as a simple handler that returns "hello world" in text. It should describe any limitations in terms of debugging. I am not sure how, for example, I can set a break point and see the return string assigned in the handler. Then any notes regarding deployment for production.

Many thanks.
Questionwhat is default concurrent requests settings in IIS 8.5 Pin
bhavin chheda16-Jul-17 2:02
bhavin chheda16-Jul-17 2:02 
AnswerRe: what is default concurrent requests settings in IIS 8.5 Pin
Richard MacCutchan16-Jul-17 2:42
mveRichard MacCutchan16-Jul-17 2:42 
QuestionPassword Field Padding with Question Marks (?s) Pin
ftbadolato7615-Jul-17 15:05
ftbadolato7615-Jul-17 15:05 
AnswerRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan15-Jul-17 20:52
mveRichard MacCutchan15-Jul-17 20:52 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
ftbadolato7616-Jul-17 3:36
ftbadolato7616-Jul-17 3:36 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan16-Jul-17 5:43
mveRichard MacCutchan16-Jul-17 5:43 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
Nathan Minier17-Jul-17 1:15
professionalNathan Minier17-Jul-17 1:15 
AnswerRe: Password Field Padding with Question Marks (?s) Pin
Richard Deeming17-Jul-17 1:40
mveRichard Deeming17-Jul-17 1:40 
Questionmanual session id assignment Pin
jkirkerx14-Jul-17 6:25
professionaljkirkerx14-Jul-17 6:25 
AnswerRe: manual session id assignment Pin
jkirkerx14-Jul-17 8:26
professionaljkirkerx14-Jul-17 8:26 
AnswerRe: manual session id assignment Pin
F-ES Sitecore17-Jul-17 5:13
professionalF-ES Sitecore17-Jul-17 5:13 
QuestionQuery regarding IIS Thread Pool Settings in Machine.config Pin
bhavin chheda13-Jul-17 6:51
bhavin chheda13-Jul-17 6:51 
QuestionSide bar Pin
sunsher11-Jul-17 2:19
sunsher11-Jul-17 2:19 
AnswerRe: Side bar Pin
ZurdoDev11-Jul-17 2:54
professionalZurdoDev11-Jul-17 2:54 
QuestionFTP user and user wise folder Pin
sanket1649-Jul-17 18:14
sanket1649-Jul-17 18:14 
QuestionEntity Framework 500 Error Pin
sanforjackass9-Jul-17 4:43
sanforjackass9-Jul-17 4:43 
AnswerRe: Entity Framework 500 Error Pin
Richard MacCutchan9-Jul-17 20:59
mveRichard MacCutchan9-Jul-17 20:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.