| | |
Is it possible to execute the ASP.NET code in command prompt..?
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
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.
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.
Alex Cavnar, aka alc6379
![]() |
Similar Threads
- ASP .NET hit counter? (ASP.NET)
- Using Hidden Variables in ASP.NET (ASP.NET)
- Moving VB.NET Code to ASP.NET Code? (ASP.NET)
- Free ASP.NET Application with code to practice (ASP.NET)
- I Need Sample ASP.NET Code (ASP.NET)
- Need Help! Novice of ASP.NET (ASP.NET)
Other Threads in the C# Forum
- Previous Thread: Newbie in C# ...
- Next Thread: Datagrid to draw a table
| Thread Tools | Search this Thread |
.net access algorithm alignment app array barchart bitmap box broadcast c# c#gridviewcolumn check checkbox client combobox communication control conversion csharp custom database datagrid datagridview dataset datatable datetime degrees development draganddrop drawing elevated encryption enum event excel file focus form format forms function gdi+ hospitalmanagementsystem httpwebrequest image index input install java label list listbox localization login mandelbrot math messagebox mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox server sleep socket sql statistics stream string stringformatting sun table text textbox thread time timer update usercontrol validation visualstudio webbrowser whileloop windows winforms wpf xml






