Click here to Skip to main content
11,705,098 members (46,776 online)

Web Development

 
AnswerMessage Removed Pin
Member 1015486914-Jul-13 3:14
memberMember 1015486914-Jul-13 3:14 
GeneralRe: Way to Configure Wordpress? Pin
Dave Kreskowiak14-Jul-13 3:26
mvpDave Kreskowiak14-Jul-13 3:26 
QuestionWhat really "python" is used for? Pin
Toywarrior30-Jun-13 1:23
memberToywarrior30-Jun-13 1:23 
AnswerRe: What really "python" is used for? Pin
Richard MacCutchan30-Jun-13 1:32
mvpRichard MacCutchan30-Jun-13 1:32 
Generalserver: connection vs request - help needed to understand programming theory Pin
Member 1004803228-Jun-13 14:14
memberMember 1004803228-Jun-13 14:14 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton28-Jun-13 14:35
protectorMarc Clifton28-Jun-13 14:35 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 4:50
memberMember 1004803229-Jun-13 4:50 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton29-Jun-13 5:43
protectorMarc Clifton29-Jun-13 5:43 
Are you writing your own web server, or an application living in a web server like IIS?

If you're writing your own web server (that is, implementing your own TCP/IP connection protocols) then usually you create a thread that then calls the "wait for connection" .NET framework API (or whatever framework you're using) which is blocking. You supply a callback method, which the API function will call asynchronously (so it lives in its own thread), and there you handle the request and exit the thread when done.

If you're writing an application using something like IIS, then you don't have to worry about all this - you just let the web application framework handle all this. You would then "simply" associate a route (a URL) to a specific function that handles the URL.

There's lots of examples here on CP, I would suggest poking around and getting familiar with both how to write a web server and also how to handle resource requests in a web application.

Marc

GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 6:33
memberMember 1004803229-Jun-13 6:33 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 9:44
memberMember 1004803229-Jun-13 9:44 
QuestionWCF Reporitng Service Pin
eddieangel28-Jun-13 6:44
membereddieangel28-Jun-13 6:44 
QuestionForm close code Pin
astrixtech28-Jun-13 3:39
memberastrixtech28-Jun-13 3:39 
SuggestionRe: Form close code Pin
David Mujica28-Jun-13 3:51
memberDavid Mujica28-Jun-13 3:51 
GeneralRe: Form close code Pin
astrixtech30-Jun-13 19:27
memberastrixtech30-Jun-13 19:27 
QuestionRadio button default checked Pin
astrixtech28-Jun-13 3:33
memberastrixtech28-Jun-13 3:33 
QuestionRe: Radio button default checked Pin
astrixtech30-Jun-13 19:29
memberastrixtech30-Jun-13 19:29 
AnswerRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 20:37
professionalthanh_bkhn30-Jun-13 20:37 
QuestionRe: Radio button default checked Pin
astrixtech30-Jun-13 21:12
memberastrixtech30-Jun-13 21:12 
AnswerRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 21:25
professionalthanh_bkhn30-Jun-13 21:25 
GeneralRe: Radio button default checked Pin
astrixtech30-Jun-13 21:40
memberastrixtech30-Jun-13 21:40 
GeneralRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 21:55
professionalthanh_bkhn30-Jun-13 21:55 
GeneralRe: Radio button default checked Pin
astrixtech30-Jun-13 23:00
memberastrixtech30-Jun-13 23:00 
QuestionRegarding Wordpress Solution Pin
David Kroj26-Jun-13 22:57
memberDavid Kroj26-Jun-13 22:57 
GeneralHelp for a new and intersted to know about HTML Pin
BLue.iCe.BoX26-Jun-13 22:41
memberBLue.iCe.BoX26-Jun-13 22:41 
GeneralRe: Help for a new and intersted to know about HTML Pin
jaideepsinh27-Jun-13 0:45
memberjaideepsinh27-Jun-13 0:45 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 24 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid