Home All Groups Group Topic Archive Search About

.net objects to javascript?

Author
23 Dec 2005 3:52 PM
Alex D.
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.

Author
23 Dec 2005 4:47 PM
Karl Seguin
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/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp

You can google json :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/


Show quote
"Alex D." <alexwar***@hotmail.com> wrote in message
news:O6PRuj9BGHA.3584@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.
>
Author
23 Dec 2005 5:52 PM
Alex D.
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.


Show quote
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:eN1OBD%23BGHA.312@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/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp
>
> You can google json :)
>
> Karl
>
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/
>
>
> "Alex D." <alexwar***@hotmail.com> wrote in message
> news:O6PRuj9BGHA.3584@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.
>>
>
>
Author
23 Dec 2005 7:02 PM
Edwin Knoppert
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.



Show quote
"Alex D." <alexwar***@hotmail.com> schreef in bericht
news:uFT30m%23BGHA.1288@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:eN1OBD%23BGHA.312@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/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp
>>
>> You can google json :)
>>
>> Karl
>>
>> --
>> MY ASP.Net tutorials
>> http://www.openmymind.net/
>>
>>
>> "Alex D." <alexwar***@hotmail.com> wrote in message
>> news:O6PRuj9BGHA.3584@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.
>>>
>>
>>
>
>
Author
23 Dec 2005 7:58 PM
Alex D.
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.



Show quote
"Edwin Knoppert" <i***@pbsoft.speedlinq.nl> wrote in message
news:dohhkm$bvl$1@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." <alexwar***@hotmail.com> schreef in bericht
> news:uFT30m%23BGHA.1288@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:eN1OBD%23BGHA.312@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/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp
>>>
>>> You can google json :)
>>>
>>> Karl
>>>
>>> --
>>> MY ASP.Net tutorials
>>> http://www.openmymind.net/
>>>
>>>
>>> "Alex D." <alexwar***@hotmail.com> wrote in message
>>> news:O6PRuj9BGHA.3584@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.
>>>>
>>>
>>>
>>
>>
>
>
Author
27 Dec 2005 11:18 AM
Edwin Knoppert
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.



Show quote
"Alex D." <alexwar***@hotmail.com> schreef in bericht
news:OqlR8s$BGHA.4076@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" <i***@pbsoft.speedlinq.nl> wrote in message
> news:dohhkm$bvl$1@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." <alexwar***@hotmail.com> schreef in bericht
>> news:uFT30m%23BGHA.1288@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:eN1OBD%23BGHA.312@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/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp
>>>>
>>>> You can google json :)
>>>>
>>>> Karl
>>>>
>>>> --
>>>> MY ASP.Net tutorials
>>>> http://www.openmymind.net/
>>>>
>>>>
>>>> "Alex D." <alexwar***@hotmail.com> wrote in message
>>>> news:O6PRuj9BGHA.3584@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.
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

AddThis Social Bookmark Button