Javascript vs C# for Web Apps
Javascript vs C# for Web Apps
am 14.11.2007 07:57:28 von hassan
We have IIS 6.0 and I know our web devs talk about writing in C# and
Javascript. So my question is why do they write in both languages ? Do they
complement one another and if so on what areas ? I am new to Web apps but
want to learn how to administer web servers
Thanks
Re: Javascript vs C# for Web Apps
am 14.11.2007 10:59:51 von Chris M
Hassan wrote:
> We have IIS 6.0 and I know our web devs talk about writing in C# and
> Javascript. So my question is why do they write in both languages ? Do they
> complement one another and if so on what areas ? I am new to Web apps but
> want to learn how to administer web servers
In terms of an ASP.NET application, JavaScript runs on the browser, C#
runs on the web server.
--
Chris M.
Remove pants to email me.
Re: Javascript vs C# for Web Apps
am 14.11.2007 19:30:41 von Kristofer Gafvert
Hi,
JavaScript runs on the client, and C# code (ASP.NET) runs on the server.
It is very common to use both server-side code and client-side code when
developing web applications.
So yes, they complement each other.
As for administrating web servers, there is nothing to administrate when
it comes to the JavaScript code. That is executed on the client, and an
error in that code is not the fault of the web server.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Hassan wrote:
>We have IIS 6.0 and I know our web devs talk about writing in C# and
>Javascript. So my question is why do they write in both languages ? Do
>they complement one another and if so on what areas ? I am new to Web apps
>but want to learn how to administer web servers
>
>Thanks
Re: Javascript vs C# for Web Apps
am 23.11.2007 15:16:29 von Rob Nicholson
> In terms of an ASP.NET application, JavaScript runs on the browser, C#
> runs on the web server.
But that *may* all change with Silverlight v1.1 whereby you can write in C#
(or VB or any other 100+ CLR languages) both for the server and client. Hey,
we may get web app writing back to where it was (in terms of neat dev tools)
with Windows client applications ten years ago. That said, VS 2008 has
JavaScript intellisense which is a BIG step forwards.
Cheers, Rob.