Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 15th, 2008, 08:20 PM
Registered User
 
Join Date: Jul 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to lok_tan
Default Remote-obj under IIS and Web.Config + Global.asax

Hi all,

I'm hosting remote-object inside IIS

Two question:

1. How to get Web.Config contents (eg. the datasource configuration) from inside my remote-object?

2. If I'm initialize some object inside Global.asax.cs, How can I refer to that instance from inside my remote-object?

Please advise, thanks.

regards,

Lok
 
Old March 17th, 2008, 01:21 AM
Registered User
 
Join Date: Jul 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to lok_tan
Default

Already found the solution by using HttpContext :D

Topic closed.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to declare the global variable in global.asax? calyn_gately ASP.NET 3.5 Basics 0 August 6th, 2008 08:06 PM
Web.config or IIS Custom Error Need to Reset vinod_yadav1919 ASP.NET 1.0 and 1.1 Basics 2 April 25th, 2008 07:45 AM
Calling web page from Global.asax nitinp ASP.NET 1.0 and 1.1 Professional 3 August 27th, 2007 08:25 PM
Config of default smtp web server on IIS 5.0 kumarop Classic ASP Components 0 February 20th, 2005 04:22 AM
Session States, Global. asax and web.config ohmbhu General .NET 2 July 1st, 2004 09:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.