944,028 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4105
  • C# RSS
Jul 17th, 2006
0

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

Expand Post »
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...
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Gowrishankar is offline Offline
13 posts
since Jun 2006
Jul 20th, 2006
0

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

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.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Newbie in C# ...
Next Thread in C# Forum Timeline: Datagrid to draw a table





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC