By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,770 Members | 1,833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,770 IT Pros & Developers. It's quick & easy.

.net objects to javascript?

P: n/a
is there any way to automatically convert .net objects to javascripts
objects? for example to send the bussiness logic to the browser and this way
reduce the postbacks to the server? I think it would be nice to have the
ability in Visual Studio to switch a class or object between server-side and
client-side...something to think about?

alex.
Dec 23 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
If you aren't familiar with AJAX and JSON, I think you should read up on
those. It's as close as you are going to get.

Here's an article on Ajax:
http://msdn.microsoft.com/library/de...SpicedAjax.asp

You can google json :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Alex D." <al********@hotmail.com> wrote in message
news:O6**************@TK2MSFTNGP11.phx.gbl...
is there any way to automatically convert .net objects to javascripts
objects? for example to send the bussiness logic to the browser and this
way reduce the postbacks to the server? I think it would be nice to have
the ability in Visual Studio to switch a class or object between
server-side and client-side...something to think about?

alex.

Dec 23 '05 #2

P: n/a
yes I already knew about ajax, but didnt know about json so I am going to
google it. ajax is still too complex and its going to take me too much time
to do it that way. what I really need is somebody to do it for me :-) but is
not a bad idea to have that ability in VS in the future, dont you agree?

alex.
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:eN***************@TK2MSFTNGP09.phx.gbl...
If you aren't familiar with AJAX and JSON, I think you should read up on
those. It's as close as you are going to get.

Here's an article on Ajax:
http://msdn.microsoft.com/library/de...SpicedAjax.asp

You can google json :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Alex D." <al********@hotmail.com> wrote in message
news:O6**************@TK2MSFTNGP11.phx.gbl...
is there any way to automatically convert .net objects to javascripts
objects? for example to send the bussiness logic to the browser and this
way reduce the postbacks to the server? I think it would be nice to have
the ability in Visual Studio to switch a class or object between
server-side and client-side...something to think about?

alex.


Dec 23 '05 #3

P: n/a
It's most unlikely MS will follow your suggestion.
Imo it will continue the AJAX/ATLAS stuff and will most likely force every
user to run some activex (xmlhttprequest stuff).
Currently IE6 will popup an AX warning, for security reasons i have AX
turned off.
Bad approach to wait so long with this special object (being circumvented as
ordinary AX object).

ActiveX is bad, internally handled AX objects would do fine.
Opera does that, no support for AX, but supports a few ax components.

"Alex D." <al********@hotmail.com> schreef in bericht
news:uF****************@TK2MSFTNGP09.phx.gbl...
yes I already knew about ajax, but didnt know about json so I am going to
google it. ajax is still too complex and its going to take me too much
time to do it that way. what I really need is somebody to do it for me :-)
but is not a bad idea to have that ability in VS in the future, dont you
agree?

alex.
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:eN***************@TK2MSFTNGP09.phx.gbl...
If you aren't familiar with AJAX and JSON, I think you should read up on
those. It's as close as you are going to get.

Here's an article on Ajax:
http://msdn.microsoft.com/library/de...SpicedAjax.asp

You can google json :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Alex D." <al********@hotmail.com> wrote in message
news:O6**************@TK2MSFTNGP11.phx.gbl...
is there any way to automatically convert .net objects to javascripts
objects? for example to send the bussiness logic to the browser and this
way reduce the postbacks to the server? I think it would be nice to have
the ability in Visual Studio to switch a class or object between
server-side and client-side...something to think about?

alex.



Dec 23 '05 #4

P: n/a
I think it might not be so hard to do that or something similar..perhaps
providing the IE of some comunication with the .net framework so it can
handle .net objects...security would still be an issue if not done properly
like ActiveX I guess..

alex.

"Edwin Knoppert" <in**@pbsoft.speedlinq.nl> wrote in message
news:do**********@azure.qinip.net...
It's most unlikely MS will follow your suggestion.
Imo it will continue the AJAX/ATLAS stuff and will most likely force every
user to run some activex (xmlhttprequest stuff).
Currently IE6 will popup an AX warning, for security reasons i have AX
turned off.
Bad approach to wait so long with this special object (being circumvented
as ordinary AX object).

ActiveX is bad, internally handled AX objects would do fine.
Opera does that, no support for AX, but supports a few ax components.

"Alex D." <al********@hotmail.com> schreef in bericht
news:uF****************@TK2MSFTNGP09.phx.gbl...
yes I already knew about ajax, but didnt know about json so I am going to
google it. ajax is still too complex and its going to take me too much
time to do it that way. what I really need is somebody to do it for me
:-) but is not a bad idea to have that ability in VS in the future, dont
you agree?

alex.
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:eN***************@TK2MSFTNGP09.phx.gbl...
If you aren't familiar with AJAX and JSON, I think you should read up on
those. It's as close as you are going to get.

Here's an article on Ajax:
http://msdn.microsoft.com/library/de...SpicedAjax.asp

You can google json :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Alex D." <al********@hotmail.com> wrote in message
news:O6**************@TK2MSFTNGP11.phx.gbl...
is there any way to automatically convert .net objects to javascripts
objects? for example to send the bussiness logic to the browser and
this way reduce the postbacks to the server? I think it would be nice
to have the ability in Visual Studio to switch a class or object
between server-side and client-side...something to think about?

alex.



Dec 23 '05 #5

P: n/a
The idea is that a few objects should be handled internally.
Like the xmlhttprequest object.
In current MS explorer's it's not embedded.
So to being protected by excluding AX *but* have access to a few (protected)
AX objects is most likely in MSIE 7.0
MS does not care to embed such stuff in earlier versions, this way MS keeps
forcing users to download the latest.
Users are not always happy to install new stuff.
More and more apps are dumped on the market with hidden connectionstuff, i
mean, what will be the next negative side-effect of this browser?
Another security breach?
Companies having software with connections without asking should be sued to
the bottom .
Or like MSIE, having a startpage you can almost not avoid on first run, that
sort of things.
GET LOST!

Oh well, not related to this topic.

"Alex D." <al********@hotmail.com> schreef in bericht
news:Oq**************@TK2MSFTNGP14.phx.gbl...
I think it might not be so hard to do that or something similar..perhaps
providing the IE of some comunication with the .net framework so it can
handle .net objects...security would still be an issue if not done properly
like ActiveX I guess..

alex.

"Edwin Knoppert" <in**@pbsoft.speedlinq.nl> wrote in message
news:do**********@azure.qinip.net...
It's most unlikely MS will follow your suggestion.
Imo it will continue the AJAX/ATLAS stuff and will most likely force
every user to run some activex (xmlhttprequest stuff).
Currently IE6 will popup an AX warning, for security reasons i have AX
turned off.
Bad approach to wait so long with this special object (being circumvented
as ordinary AX object).

ActiveX is bad, internally handled AX objects would do fine.
Opera does that, no support for AX, but supports a few ax components.

"Alex D." <al********@hotmail.com> schreef in bericht
news:uF****************@TK2MSFTNGP09.phx.gbl...
yes I already knew about ajax, but didnt know about json so I am going
to google it. ajax is still too complex and its going to take me too
much time to do it that way. what I really need is somebody to do it for
me :-) but is not a bad idea to have that ability in VS in the future,
dont you agree?

alex.
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:eN***************@TK2MSFTNGP09.phx.gbl...
If you aren't familiar with AJAX and JSON, I think you should read up
on those. It's as close as you are going to get.

Here's an article on Ajax:
http://msdn.microsoft.com/library/de...SpicedAjax.asp

You can google json :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Alex D." <al********@hotmail.com> wrote in message
news:O6**************@TK2MSFTNGP11.phx.gbl...
> is there any way to automatically convert .net objects to javascripts
> objects? for example to send the bussiness logic to the browser and
> this way reduce the postbacks to the server? I think it would be nice
> to have the ability in Visual Studio to switch a class or object
> between server-side and client-side...something to think about?
>
> alex.
>



Dec 27 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.