.NET Framework - please any one clarify
Asked By tyaga
24-Jan-07 01:47 AM
can we write connection string in Machine.config .if yes whats the
procedure.
as of now im using to write connection strings in Web.Config which one
is efficient either Machine.Config or Web.config
ConfigHi
(1)
UK
(1)
Machine
(1)
Config
(1)
Connection
(1)
Production
(1)
Generation
(1)
Procedure
(1)
Gerry Hickman replied...
Hi,
In general you should NOT use machine.config for this because those
settings are ONLY for that machine, whereas web.config (or dynamic
generation in code) will allow you to move the app all over the place
and publish it to production servers.
--
Gerry Hickman (London UK)

DateTime.ToString() outputting dates in US format on UK machine .NET Framework Hi, One of our servers is behaving differently to all the others when They seem to be outputting in American format (12 hour) when the default for a UK machine should be UK format (dd / mm / yyyy). The following code: DateTime.Now.ToString() DateTime.Now.ToString("dd / MM NET using the settings of the console user by default. How can I force the machine default to be UK settings? Thanks, Nick. . . ASP.NET Discussions ASP.NET (1) IIS (1) DateTime (1) Control (1 point, but this would mean making extensive changes to all affected websites hosted on this machine which could take days. I would rather find out why this machine is defaulting to
Observer in a distributed environment .NET Framework Machine A needs to send a message to machine B. Machine A has a static IP but machine B does not. One option I could think of to solve this problem is that machine B opens a TCP connection to machine A and then machine A sends the data / message to machine B. However, this solution has the following limitations: a) It is not scalable if there
Accessing com+ object in a different machine from IIS .NET Framework Hi Guys, I need some help on the topic. I am trying to access a com+ object located in a physical machine (let's say machine A). In another physical machine (machine B), I have a web application running on IIS that will access the com+ object in machine A. CreateObject() procedure is called from machine B to create com+ object in the machine A. I have registered the assembly using regsvr32 <dll file in machine A> from machine