473,396 Members | 2,140 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to deploy ASP.Net application with MySql Database?

Hello people, I have developed a web application with ASP.Net 2.0 (VB Code Behind) and I am using My SQL as database. I have an issue I need your help with:

I wish to sell the web application from my other website to multiple users. What would you suggest to be the best way to deliver this application? Fact is I can compile the front end script and provide the compiled version but I am not sure how to provide the associated MySQL database to them. I need to make sure that the buyers are not able to alter any code in the application or modify the preset data in the MySQL database. I do not wish to use the Setup Based deployment method as it will require the buyers to have administrative rights on the server, which may not be available on shared hosting.

But at the same time they must be able to get the web application up and running with minimal effort.
I must be honest with you that I have developed only HTML based static websites till now and this would the first time I am launching an ASP.Net application so your suggestions are highly applauded.

Thank you for your help.

- David
Jul 31 '10 #1
4 2963
PsychoCoder
465 Expert Mod 256MB
Well for starters there's really no way to prevent someone from modifying the code, even if you were to compile it into a DLL .Net is easily decompiled then they would have access to the code.

As far as the MySql database, you can create a script that when ran creates all the database objects needed for the application (Like Wordpress and others have done). You could package the installer with the application or require that it be downloaded when they purchase the application and then the run the page that contains the code for creating the database and all objects/users needed for the application.
Aug 1 '10 #2
@Richard McCutchen
Hello Richard,

Thank you for your reply.

Could you please tell me a little more about the SQL part. I am confused about it because earlier when I enquired with my hosting provider they told that normally a person won't have Administrative rights on shared hosting. This will prevent them from runing any setup on the server.

Fact is I do not believe any of my buyers would have a local server or a dedicated web server to have instal rights. So would that mean I am out of option? Please reply.

Thank you.
Aug 2 '10 #3
PsychoCoder
465 Expert Mod 256MB
I never thought about that. They would need a host that offered MySql as an option (Most do that I've ever used or seen), then have your install script create the needed database and all objects needed (tables, procedures, etc)
Aug 3 '10 #4
Frinavale
9,735 Expert Mod 8TB
Interesting issue...how do other people host applications if they cannot run a script to create their databases?

Have you considered using an embedded database like VistaDB?

-Frinny
Aug 3 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Dave Moore | last post by:
Hi All, I'm looking at using PHP and MySQL for a particular website application. However, I was a bit concerned that if a PHP script went wrong then it would be possible to accidentally delete or...
0
by: mdh | last post by:
I am trying to learn the basics of MVC applications using a Tomcat infrastructure. I'm starting by building a simple application with: * a login.jsp page for a basic login form with a action...
4
by: Ewok | last post by:
let me just say. it's not by choice but im dealing with a .net web app (top down approach with VB and a MySQL database) sigh..... Anyhow, I've just about got all the kinks worked out but I am...
2
by: GS | last post by:
Implemented web application using MySQL to maintain inventory of the office PC's/laptops/Routers/hubs and other stuff, here we are using MySQL as back-end Database on Linux Operating system. I need...
0
by: Hans | last post by:
Hi, That's my first time to send mail to this address for asking help. Sorry for my poor english firstly. My case is like this: Many guys are using a mysql database, each guy has a database...
2
blossam
by: blossam | last post by:
Hi frnd, I have created an application in vb.net for which i have create database in mysql 4.1 I want to secure all tables of mysql database in such way that no one can see structure or data of any...
5
by: Marijn | last post by:
Hello everybody, I am new to PHP and working on extending my knowledge of OOP. The posts in this group concerned with whether or not to use an OO approach when programming in PHP is not what I...
3
xtianixm
by: xtianixm | last post by:
i have a vb front end application and im using mysql as my database. i would like my vb application to connect in database through internet. so i setup my other computer ( windows 2000 ) as a server,...
7
by: coolsti | last post by:
I have the task to set up an application at work,using MS Access as a front end to a MySQL database. This will be done using an appropriate ODBC driver, and linking the MySQL database to Access. ...
11
by: rajatagl | last post by:
Hi I have created my web pages in asp.net I have a registered domain name and space please tell me how to upload my website i my website database is not attached so tell me how first ready my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.