Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4335348
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:39:26+00:00 2026-05-21T10:39:26+00:00

I am using the vs2010 to build a asp.net web application,sometime I want to

  • 0

I am using the vs2010 to build a asp.net web application,sometime I want to do some test,so I have to create a new .cs file,but when I click the debug button,the vs will start the whole web application rather than the standlone .cs file.

In java,I use eclipse as my IDE,if I want to do some test in my web applicatio,I just create a new .java which own the “main” method,then I can run this file by “run as java appliation”,so this .java will start.

I wonder if I can do the samething in vs2010?

BTW,how to do some output in the console within vs2010?

In java,within a servlet,I can use the System.out.println("xxx") within the method,when a request comes from the client,the “xxx” will be printed in the console of the eclipse,but in vs when I try "Console.WriteLine("xxx"),there is no output in the vs console, why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T10:39:27+00:00Added an answer on May 21, 2026 at 10:39 am

    You need to create a new C# project within your solution alongside your ASP.NET project, and if you want console-based output in that C# program, you need to make sure it’s a C# Console Application.

    To add a new project to your solution, right-click the solution header in the Solution View, and select “Add Project…”. You should definitely not just insert a .cs file into your ASP.NET project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I transformed my VS2008 ASP.NET Website to a Web Application today using VS2010. So
I have built a small web application in asp.net c# in VS 2010 using
I am using VS2010 C#.NET 3.5 and application settings (the Settings.settings file). What I
I am using VS2010 to create a new unit test project to test my
I'm using C# in VS2010 and I need some help with a web application.
I've got a simple web application using ASP.NET MVC3 and Ninject.Web.MVC (the MVC3 version).
I have created an asp.net MVC application in VS 2010, and am using TFS.
I have a multi-threaded application build in C# using VS2010 Professional. It's quite a
I am using VS2010,C# to develop a Silverlight web based game. I want to
I'm using VS2010, C#, ASP.NET, I've inserted Ajax Control Toolkit Tab Container which works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.