|
Use the Publish option in the Build menu. You can publish directly to a server (i.e. FTP) or a local folder on your computer which you can copy to the server. Publishing this way creates a compiled site with only the files needed.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hy!
I want to make a application to monitor what sites are loaded by the browsers(IE, Firefox) used on a computer.
can anybody help me how can I start?
thanks
|
|
|
|
|
One way of doing this would be to create an HTTP proxy server that logs whatever you want and have the browsers use that proxy. You could run the proxy locally or on another machine. A more reliable way of doing this is to monitor it on a router.
|
|
|
|
|
Hello, I want to send bytes to a device attached to USB port in C#.
but i can not know about how to communicate with USB.
So Please help me to do it.
Thanks A lot.
|
|
|
|
|
Use SerialPort, set its parameters according your usb port (baud rate etc).
hope it helps.
dhaim
programming is a hobby that make some money as side effect
|
|
|
|
|
If the connected device uses serial port you can use SerialPort class from .Net Framework. You can also use this library for communicating with the device: LibUsbDotNet[^]
|
|
|
|
|
|
Neo Andreson wrote: Class object can be Sterilized in C#?
Do you mean serialized?
|
|
|
|
|
yes i mean serialized.Sorry for wrong post.
I got it.Cause i was searching with wrong keyword.
Thank you.
Truth Is The Simplest !!!!
|
|
|
|
|
I thought there was a Chapter i missed in C# Sterilized
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Neo Andreson wrote: Class object can be Sterilized in C#?
could anybody help me to do it??
Well... I do have these pliers...
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Neo Andreson wrote: Class object can be Sterilized in C#?
Start off by boiling it.
|
|
|
|
|
|
Don't waste good alcohol.
|
|
|
|
|
I'd suggest Miller or Red stripe then
Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer.
-Fred Brooks
|
|
|
|
|
With a little pain killer they go in and remove all your header files.
Blog link to be reinstated at a later date.
|
|
|
|
|
I assume this is what a snippet is for.
|
|
|
|
|
*rim shot*
Blog link to be reinstated at a later date.
|
|
|
|
|
There was such class but it was sterilized
|
|
|
|
|
You make it sealed, so that noone can create child classes from it.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
.net 2 vs2005
My application is using a web service which uses a dal to interact with a database.
The application connects to the web service when it loads (the database is connected in the constructor of the web service)
So my application has a web reference to the web service, on loading it instantiates the web service object then calls web methods as and when.
Whilst debugging and stepping through code in the web service, whenever i call a web method the web service constructor is always called - so is it correct that the web service reconnects to the database whenever any web method is called? My application will run on 50+ clients all calling 100s of web methods/ day. So im thinking there will be a lot of database connections would this be a significant performance hit? What I would like is for the web service to connect once and then keep using that connection. Is it common practice to allow the web service to reconnect to the database whenever a web method is called?
Thanks,
Chas
|
|
|
|
|
Chazzysb wrote: Whilst debugging and stepping through code in the web service, whenever i call a web method the web service constructor is always called - so is it correct that the web service reconnects to the database whenever any web method is called?
Yes. I think you have to change the DB connection opening from construtor to each method. Good way is to open DB connection, execute queries and close the connection inside the method. Don't do it in the constructor.
To avoid each time DB connection, you can cache the result either in webservice or in your application. To enable caching in a webservice use [WebMethod(CacheDuration=60)] for method. Cache duration specified is in seconds.
|
|
|
|
|
hi every one
i want to use the LPT PORT as i2c protocol
do you have any exmple?
|
|
|
|
|
Hello everyone,
Supposing I am writng a web services client using managed code. My question is what is the differences between passing by value and passing by reference, when we pass parameter to a web services web method call?
My confusion is, in traditional senses, passing by reference means passing only a pointer, and modification is impacted on the original object. Passing by value means passing a new copy of original object, and modification is not impacted on the original object. -- But for web services, no matter pass by value or pass by reference of an object, I think it is always made a new copy and not pointer across the network to web services server (since pointer address is only meaningful for local process on local machine)?
What is the actual differnces between passing by reference and passing by value when making a web services call?
thanks in advance,
George
|
|
|
|