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

  • SEARCH
  • Home
  • 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 508447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:54:30+00:00 2026-05-13T06:54:30+00:00

My console .NET application has several app domains. My wish is simple – console

  • 0

My console .NET application has several app domains. My wish is simple – console window per app domain.

Motivation:

The application is actually an MbUnit test assembly and the various app domains are the server hosts all packed in one process, though in different app domains to decrease execution time. Each server outputs to console, so when the console is shared with MbUnit test assembly one gets a salad. I wish to grant dedicated console window for each server app domain.

We use log4net for logging, so we can log to files and view files later, but at this stage it is much more convenient to log to console.

Thanks.

EDIT

I have solved my particular problem using TelnetAppender. I derived from it and from within ActivateOptions open a telnet client. To the user it looks like there are several console log windows.

  • 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-13T06:54:30+00:00Added an answer on May 13, 2026 at 6:54 am

    You can only have (technically) a single console per Application (not AppDomain).

    That being said, it is technically possible to simulate this behavior. It requires spawning a separate child application, and using Pipes to push the console output for each separate “console” to its own child application. Here is a CodeProject article demonstrating this approach (in C++).

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

Sidebar

Related Questions

i've got a pretty simple .NET console application. I wish to pass in some
I have a console application which has target .NET 2.0 It is very short
I have a simple .NET application which runs as Windows Service. Say it has
My .NET 4 console application has to execute a SQL Server 2005 stored procedure
We have a .NET console app that has many foreground threads. If we kill
I have a server application (singleton, simple .NET console application) that talks to a
My scenario is that I have a .net application (let's say a Console App)
I am using EmguCV 2.3.0.1416 from a simple console application (.net 4.0 and c#)
In my console application(.NET) i am executing WMI query as follows: ManagementObjectSearcher query; ObjectQuery
I am using .NET console application to gather performance data of the system. For

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.