0
I developed an application in Visual Studio using C# Windows Forms and SQL Server 2017 database. I need to put in the client’s machine only the application executable and the extension file. mdf, which is the file generated by SQL Server and contains the database information. I mean, I don’t want to have to install SQL Server on the client’s machine, because it’s a bit of a boring job to do. Would there be any way to do this ? Use only . mdf file, without having to install SQL Server ?
Just connect to the server machine where SQL Server is installed. In the client machine is only the application, see the client-server model.
– anonimo
Bruno, the installation of SQL server will always be mandatory on the client. If your application is to generate few data recommit an SDF.
– Sérgio Sereno
There is way yes! But you would have to redo the whole project on top of this component. I would lose all the architecture scalability provided by SQL Server.
– Augusto Vasques