Showing posts with label run. Show all posts
Showing posts with label run. Show all posts

Monday, March 26, 2012

Proxy Class generated at run time

Greetings,

as i know that the proxy class for the webservice is generated at run time ,but i am not understanding this concept because before i run my application i can access all the members(as methods) of this generated proxy class.

so i need to understand this topic?

your help is highly appreciated

best regards



Hi Wissam,

The proxy class indeed is created at runtime. When i look at my proxy this isn't possible. Are we talking about a javascript proxy?

Regards


Greetings,

i mean the proxy class when you add a web reference to the webservice.


Hi Wissam,

Yep when you create a webreference then you will be able to see the methods. The proxy isn't generated at runtime. The proxy is generated at design time. Hope this helps!

Regards,

Saturday, March 24, 2012

Question about atlas and web interface update

Is the following scenario possible with atlas:

A web based application is run on a server, so clients use web browser to access it. The application uses inforamation from a database to populate the UI with the information. The information is stored in a database and can be changed either from the application or some other source (lets say another server). Is is possible to update the UI on a user's computer when the database is updated from the other server (the user doesn't need to refresh the screen manualy)?

Thanks in advance,
Marko Vuksanovic.

hello.

well, it's possible, though probably not as you wanted. what you must do is poll the server from the client from x to x seconds and if there's new info, then refresh the client. the most common approach is:

1- wrap the contents that need to be refreshed with an updatepanel

2- call the web service from x to x seconds; if there's new info, then refresh the panel.