web services - Host web UI with executable application? -


this may stupid question have spent 5 hours doing research on web , found nothing clarify doubts.

in few words have been asked possible employer develop executable application part of "technical test". supposedly they're measuring expertise working wcf. given 2 days develop such app , information following:

deliverable:

                - executable that

                                * when app ran, should host wcf service (service)

web ui (ui) accessible web browsers.

                                * through ui, user should able add or delete messages stored in

database (db).

                                * ui should display current list of messages stored in db.

                                * if changes made db, changes should show in ui

without need reload page.

                - of project source code.

               

additional notes:

  • use of existing libraries allowed long referenced

now, understand can host wcf web service using console application (among other options) , service alive long application running. know web application can access service adding service reference, creating client of type , calling methods. confusion begins when ask me put in 1 executable application:

when app ran, should host wcf service (service) web ui (ui) accessible web browsers.

what supposed mean?? how can host web ui using executable?? supposed develop iis , @ same time somehow define html , server side code on app?

i did research , found class(httplistener) allows open http port, listen , send html thru it. simple class. if solution can't see how implement it. other couldn't find else on web.

i appreciate opinion on matter, if i'm not able develop solution in time know how it. , if i'm missing important basic concept regarding wcf or web hosting please appreciate clarification. in advance.

you can use owin "self host" web apps.

an overview , further information can found here - http://codeopinion.com/self-host-asp-net-web-api/


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -