954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Is it possible to execute the ASP.NET code in command prompt..?

Hi,Is it possible to execute the (ASP.NET using C#) code in a command prompt...?If it is possible means how ?and also can I execute the class files in command prompt...?Please give me some ideas...

Gowrishankar
Newbie Poster
13 posts since Jun 2006
Reputation Points: 10
Solved Threads: 1
 

You cannot execute a class file.
You cannot execute an ASP.NET page in command prompt.

The only way you could "execute" a class file in Command Prompt, you'd have to write a console application that includes your class file as a reference, and uses the class in the file.

Similarly, if you have a code-behind file with your ASP.NET page, you could copy the contents of that file into a class file, and with some minor modifications, you could probably perform the same technique.

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You