Reputation: 151
I have a built a .net application using visual studio. This application is coded in C# and uses SQLSERVER for database purposes(storage,retrieval and manipulation of data).
Please tell me how to give this application to client?
Do I have to install .net framework on client's computer..? Do I need to install complete sqlserver on client's computer to access database? or giving the .exe file to client would be okay to solve the purpose..?
help please...
Upvotes: 1
Views: 2546
Reputation: 2860
the following steps might help:
Upvotes: 0
Reputation: 17119
You could use Visual Studio's ClickOnce deployment method, which comes pre-built into most every version of Visual Studio, not to mention it's free.
In Visual Studio, simply "Publish" your project. You'll be given options on how you'd like to deploy (via web, standalone, etc). The installer automatically makes sure the client has the correct version of the .NET Framework, as well, which is handy. I'm not sure about SQLServer, though, you'd have to test that theory out yourself.
Upvotes: 0
Reputation: 498904
Your application has several dependencies - the .net framework and it will need a SQL Server to access its data.
You will need to have both the framework setup on their computer, make sure they have a SQL server with the database and data you have setup on it (which is accessible to the application) and the exe you have created.
Look into setup projects - these will allow you to make sure that all prerequisites for you application (ddls and framework) are installed (and they may even install them). They will not help with the SQL Server side - you will still need to create scripts that generate you database and the initial data in it.
Upvotes: 0
Reputation: 741
client needs .Net, SQl-Server and the .exe and .dlls from \Source\bin\Release.
Upvotes: 1