Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does client machine need .NET installed to run ASP.NET web application [duplicate]

I'm currently developing an asp.net web application using .NET framework 4.5, and I wanted to know if a user also needs the .NET framework installed on their machine simply to use the ASP.NET web app. I know the server itself needs the framework installed but I am curious if the client machine also needs the framework installed.

My intuition is telling me that the framework is not needed to use the web app, as that would limit the amount of users that could access the site. That also wouldn't make too much sense too me either since the server is already handling the backed c# code.

like image 247
Marquis Blount Avatar asked Jan 17 '26 14:01

Marquis Blount


2 Answers

Does client machine need .NET installed to run ASP.NET web application

No.

.Net framework is required for machines hosting ASP.Net application. Client only gets HTML/Javascript/CSS, Stuff which client's browser can handle. No server side code is executed on client.

The same is true for other Server-side scripting technologies like (PHP, JSP).

You may also see: How ASP.NET Web Pages are Processed on the Web Server

like image 91
Habib Avatar answered Jan 20 '26 06:01

Habib


No the code is written with C# and ASP.NET but the server translates this into HTML, CSS and javascript etc and sends to the client.

like image 38
Simon McLoughlin Avatar answered Jan 20 '26 04:01

Simon McLoughlin