Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / November 2003

Tip: Looking for answers? Try searching our database.

Difference between Default Domain and current domain

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ravichandra - 19 Nov 2003 08:53 GMT
Hi,

For an application whose Thread state is
ApartmentState.STA, is there any difference between
current domain and default domain. If so how can i get the
reference to Default Domain ?

TIA,
Ravichandra
Ben Rush - 21 Nov 2003 19:04 GMT
I noticed nobody has responded yet, so I'll try to help.

The default domain should be the domain your .entrypoint functions exists
within, as the default domain is generated automatically to host it, I
believe. I guess if you're in your .entrypoint function, it's possible to
make a request for the current domain, and then that should be the default
domain.

I could be wrong as I've never tried this myself. I hope I've helped.

> Hi,
>
[quoted text clipped - 5 lines]
> TIA,
> Ravichandra
Peter Koen - 21 Nov 2003 23:09 GMT
> I noticed nobody has responded yet, so I'll try to help.
>
[quoted text clipped - 5 lines]
>
> I could be wrong as I've never tried this myself. I hope I've helped.

The default domain is the domain in which the Application starts. You can
create your own app domains then but the one that hosts the StartupAssembly
is still the default domain.

Greets
Peter

Signature

------ooo---OOO---ooo------

Peter Koen - www.kema.at
MCAD CAI/RS CASE/RS IAT

------ooo---OOO---ooo------


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.