How to write mongodump using TLS settings in C# - c#

How to write mongodump using TLS settings in C#... Below is the server configuration.

Related

Connecting to SQL Server in Windows using Mono

I have never worked with Mono before.
I have written a sample project and I try to connect to a SQL Server but I am getting an error that says "TLS Support is not available".
I am running the program on Windows. When I run the same program on Linux it is working fine beucase ca-certificates-mono is intalled.
here's the connectionstring that I am using to connect to database :
var connectionString="Server=192.10.10.211,1433;Initial Catalog=mobile;user=usr;pwd=pwd";
I couldn't find any information on Mono documentation to show how I should set TLS support for mono on Windows.

How to change SQL Server start up parameters using C#

I am trying to change the SQL Server startup parameters using SMO.wmi.Service class.
My code is working fine on SQL Server 2014 by using SDK DLL. But when I run the same code with same SDK assemblies on a machine which has SQL Server 2012, then I am getting an error that "WMI is not available this machine".
It looks like the SDK DLLs are not backward compatible, especially for smo.wmi.
Please help any other way to change the start up parameters programatically.
Looks like we can configure the service startup parameters using registry settings. Below mention article on MSDN nicely explain this process..
[https://msdn.microsoft.com/en-us/library/ms190737.aspx][1]

Deploying .net Informix application

I have a .NET client application which communicates with Informix database.
Now the application is simply not working. To resolve the application I have to install the Informix SDK on each client(which is 250mb file).....then configure ODBC driver manually….
This is completely insane to install 250 MB sdk on each system to install my application which Is in kb’s….is it necessary to install SDK on each system?
I also want to remove the manual step of configuring ODBC driver on each system.
Can someone please point me to the tutorial which describes the deployment of Informix application?
You don't need the whole informix SDK, but you need "Informix Connect" which includes the informix database drivers. Informix connect is 12MB.
I think you can script the ODBC Driver configuration, but you have also to set the informix SETNET configuration for your Informix database. This parameters are stored in the registry.
The keyword for deploying Setnet on the Clients is "Silent Installation", you can install Informix Connect in Silent Mode.
See: Performing a silent installation of Informix and client products
For setnet32 it is possible to save your configuration in a *.nfx file and restore it with "setnet32 -l filename.nfx".

Connect Unix/Solaris with .NET using SSH

For my project I need to connect with remote Unix server from my local machine. I want to connect the machine using Visual Studio in the same manner as we can connect Java using SSHXCute JAR and be able to execute Unix command, upload file etc.
Please suggest a way to do the task in dot net c#
A Secure Shell (SSH) library for .NET

Connecting to a linux server running MySQL from a windows .NET server, ADO.NET?

Can I connect to a Ubuntu server, that is running MySQL using ADO.NET or do I need a special driver?
You'll need the MySQL Connector/NET ADO.NET driver.
Once installed, it behaves almost identically to Microsoft's native System.Data.SqlClient. Instead of importing that namespace, use MySQL's:
using MySql.Data.MySqlClient;
...
MySqlConnection DB = new MySqlConnection("SERVER=...");
Basically, just prepend My where you'd use any of the MS SqlClient classes.
You use Connector/NET.

Categories