Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is connecting to a remote MySql database through WinForms as simple as changing the connection string, or are there more steps required?
Is connecting to a remote MySql database through WinForms as simple as changing the connection string
Yes, It is.
or are there more steps required
And more steps are required such as allowing remote connections, getting through firewall if any. Proxy settings etc.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need to create a method to create a databaserecord. I have no idea how to work on javascript that's why I'am looking for someone who can help me out. Thank you.
values are Thank you.
(layerNo, tableID, itemID, type, keyValue)
The database will be updated from your C# code. Javascript might communicate the data to the web application (written in C#). The web app would typically perform the actual update. For a C# / ASP.NET web application, this could be done using ADO.NET or by using Entity Framework.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to add integrated windows authentication feature to my asp.net app. I dont know how to add it. I am developing it with C#. Please help me out.
Inside a default project's web.config file, there should be an <authentication mode="x"> element. Change the mode to "Windows" and you should be all set -- but this just allows users from your network to access the app. You'd still have to create roles and/or groups to prevent access to certain features or areas.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have two application on different computers than connect to each other by Remoting Channel.
I want to control server from client on different network (over Internet).
How i can do that?
Is it possible to configure Remoting to bypass/punch holes in NAT?
In general, I would recommend using WCF instead of Remoting, especially if you're going to try to work over the internet.
Neither technology will bypass your firewalls, though WCF does provide far more options for configuring the channel which is used for the communication. This often makes it simpler to provide an endpoint that will work for internet connections and communication.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm writing a c# app (.Net 4.5) to download files from an ftp server.
I would like, now, to be able to set a maximum download speed.
I can't configure the server, so I will have to do it in the client.
Could anyone explain me how to do so ?
Thanks !
Assuming you have the source code for the ftp client, you do this by transfer chunks of data, comparing the transfer rate compared to your desired limit rate and inserting delays if the transfer is going too fast. See How can I rate limit an upload using TcpClient? for proof of concept code
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm beginner to windows service. I want to build a windows service that insert data to sql server scheduled. Anyone could help me how to program this task.
Here is a:
step-by-step procedure for creating a Windows service in C#
Accessing SQL Database from windows service has the same code that is used for normal applications.
You may also want to think about a sql agent job. SQL Agent is a service that comes bundled with MS SQL server and allows you to perform a mirad of tasks on a scheduled basis. It is much easier than crafting your own windows service and it doesn't require a formal installer to get it going.