Javascript vs C# for Web Apps

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
hassan [ Mi, 14 November 2007 07:57 ] [ ID #1870489 ]

Re: Javascript vs C# for Web Apps

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.
Chris M [ Mi, 14 November 2007 10:59 ] [ ID #1870495 ]

Re: Javascript vs C# for Web Apps

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
Kristofer Gafvert [ Mi, 14 November 2007 19:30 ] [ ID #1870505 ]

Re: Javascript vs C# for Web Apps

> 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.
Rob Nicholson [ Fr, 23 November 2007 15:16 ] [ ID #1877362 ]
Webserver » microsoft.public.inetserver.iis » Javascript vs C# for Web Apps

Vorheriges Thema: IIS 6.0 and Sub Domains on different IP address'
Nächstes Thema: ASp in IIs 6