---
title: "Can we call Server-Side code (C# or VB.NET code) from javascript?"  
description: "Can we call Server-Side code (C# or VB.NET code) from javascript?"  
author: "Amit Singh"  
published: 2011-03-29  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/712/can-we-call-server-side-code-c-sharp-or-vb-dot-net-code-from-javascript  
category: "ajax"  
tags: ["ajax"]  
reading_time: 1 minute  

---

# Can we call Server-Side code (C# or VB.NET code) from javascript?

Yes.

## Answers

### Answer by Madhusudhanreddy Thotli

we can make a call to the server side code using the asp.net ajax page methods and using the web services.

### Answer by Amit Singh

Yes.


---

Original Source: https://www.mindstick.com/interview/712/can-we-call-server-side-code-c-sharp-or-vb-dot-net-code-from-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
