I have been using Microsoft Visual Web Developer 2008 Express Edition. Originally, I made a website with a MySQL back-end. Then I discovered the .Net web authentication, and moved to MS Access as I could, with some modification, make the web authentication work (but not all the features). For a future release of my site, I moved to MS SQL as it supported all of the features of the .Net web authentication. However, my host does not support MS SQL, my host supports MS Access and MySQL.
If I get Visual Studio 2008 Standard, with it have better integration with MySQL, to the point that all features of web authentication and using the development environment to make changes to the database are supported? Are there thrid-party tools or modifications that I can make to get things to that level of integration?
Or, do I have to move to a host that supports MS SQL?
We run a .NET environment here but using MySQL as our backend (though our software is applications, not web apps).
The MySql Net Connector is basically the MySQL version of the System.Data namespace in .NET (with nearly identical functionality/naming except for the MySql prefixes). So, as far as I have seen while working with it, anything that you can do via those namespaces, you can do via the connector.
As for IDE integration, I don't know. I use MySql Administrator and SQLYog to manage/work with the db.
You could try MySQL's .NET connector, though it's only a development version
Related
I already install this two requirement:
1-Connector/Net 6.8.1 beta or higher version to check the Connector/Net & Entity Framework features. (download at: http://dev.mysql.com/downloads/connector/net/ on the development releases).
2-https://cdn.mysql.com/Downloads/MySQLInstaller/mysql-visualstudio-plugin-1.1.1.msi
But still not sure why the data source still not appear in the option. Anyone have idea why? Please advise.
BTW I'm using Visual Studio Express 2013.
That's because Visual Studio Express does not allow you to install extensions. This is one of the limitations of the Express edition. You need to add everything MySQL related manually.
This is also stated here:
MySQL for Visual Studio does not support Express versions of Microsoft development products, including the Visual Studio and the Microsoft Visual Web Developer.
To use MySQL Connector/Net with an Express versions of Microsoft development products, use MySQL Connector/Net 6.7.4 or later, without installing the MySQL for Visual Studio.
That does not mean that you cannot use MySQL in the Express Edition. It just means that you don't get to use the nifty design-time tools ;-)
what you can do if you have access , create an access DB that use ODBC to link to the MySQL Server , and then import the access DB as a data source in VS Express.
That way you are Using Access as a middle man to handle the connection :
VS Express <--> Access DB <--> Mysql
Does the Visual Studio 2012 Tiered Interaction Profiler (TIP) work with the MySQL connector?
I'm trying to profile a C# applications use of a MySQL Database. Unfortunately attempts to use the built in Tier Interaction Profiler haven't worked. The "Tier Interaction" isn't included in the analysis report drop down.
My understanding of the profiler is that the connection uses an ADO.NET connector. Currently, I've tried:
Using the MySQL connector v6.8.0 as a direct download.
Using community installed which adds the Visual Studio components missing since v6.7
To ensure it wasn't an issue with Visual Studio I've tried it with an another application that uses an SQL Server database and it works correctly.
If it's of any relevance I'm using Windows 8.1.
What is the most secure and effecient method of connecting a Delphi program to a MySQL database hosted on an Apache server from my web hosting provider.
Ideas, hints or any information regarding the above, preferably using dbExpress with Delphi 2010 will be highly appreciated.
Thanks
Well you cant connect directly because of the security issues but there are a couple,
Write a web-service that catches the request and send back you the
response.
write a php script that gets the requests and gives back responses.
if you are hosting on a windows server you can connect via VPN that
will give you a direct sql connection and still be secure.
You can connect directly MySQL Database. I recommend using FireDAC component.
About FireDAC :
FireDAC Multi-Device Data Access Library
Universal Enterprise Data Connectivity
FireDAC is a Universal Data Access library for developing applications for multiple devices, connected to enterprise databases. With its powerful universal architecture, FireDAC enables native high-speed direct access from Delphi and C++Builder to InterBase, SQLite, MySQL, SQL Server, Oracle, PostgreSQL, DB2, SQL Anywhere, Advantage DB, Firebird, Access, Informix, DataSnap and more.
FireDAC Data Access Components
Also you can use MySQL Data Access Components (MyDAC or UniDAC) :
About MyDAC Component:
MySQL Data Access Components (MyDAC) is a library of components that provides direct access to MySQL from Delphi, C++Builder, Lazarus (and Free Pascal) on Windows, Mac OS X, iOS, Android, Linux, and FreeBSD for both 32-bit and 64-bit platforms. Applications based on MyDAC can connect directly to MySQL server or work through the MySQL client library. MyDAC is designed to help programmers develop faster and cleaner MySQL database applications.
MySQL Data Access Components
If you want connect MySQL with dbExpress (i don't recommend it)
You need dbexpress driver for MySQL dbxmys.dll and alos MySQL client library libmySQL.dll.
I use MySQL as a remotely accessed DBMS from Go Daddy web hosting. Unidac is used to connect to the remote data set no problem. I then use a signed VCL component based GUI on the client side.
The VCL based GUI blows the doors off all other web based applications (including .NET). All the functionality of the Delphi application works flawlessly but I perform all DBMS functions to a remotely hosted MySQL database. I really appreciate this combination of technologies that allows me to produce the most robust applications possible.
I have downloaded the free Microsoft visual web developer 2010 express which comes also with MS sql server express database to build an MVC 3 web application.
I can build the real web application with a database for free; but i have the following questions:-
can i build a real commercial web application using these free tools?
what are the limitations of using Microsoft sql server express database comparing to using Microsoft sql server enterprise edition?
BR
Yes, you can build a fully functional application with the express tool suite, however your productivity won't be as great as that of a full visual studio environment.
For example you can't use add in's like resharper and your debugging abilities are limited. With sql express you are again limited with the toolset you have available to you, not to mention a maximum database size restriction.
We are developing an occasionally connected application that uses SQL Compact on the client machines and SQL Server 2008 (with change tracking) on the server. The application is being developed using Entity Framework’s code first model, which requires that the local SQL Compact database be 4.0. We would like to use Microsoft Sync Framework to handle synchronizing data from the central server to the occasionally connected clients but recently discovered that while SQL Compact 3.5 SP2 is compatible with Sync Framework, 4.0 is not (http://blogs.msdn.com/b/sqlservercompact/archive/2011/01/12/microsoft-sql-server-compact-4-0-is-available-for-download.aspx).
We wanted to use SQL Compact for this application to leverage the SQLCEClientSyncProvider provided by Microsoft and were unable to find a SQL Express equivalent. It seems we are left with a couple options:
1) Write a custom sync provider to leverage SQL Express on the client end. From what I have seen, this is not a trivial task and a tight deadline makes this quite risky.
2) Use SQL Compact 3.5 SP2 and convert the Entity Framework code from a “code first” model to a “model first” one. I am not sure what all would be involved in this approach or how much rework would be required.
And my question:
Is there a better solution for using all of these technologies together that we are not considering? Which method would be the path of least resistance? I was surprised to find in my research that using Sync Framework with SQL Express on the client side is not more fully supported. Is Sync Framework compatibility something on the horizon for SQL CE 4.0?
there are two types of database providers for Sync Framework: the offline provider and the collaboration/peer-to-peer provider.
the offline providers are the SqlCeClientSyncProvider/DbServerSyncProvider which is used by the Local Database Cache project item in Visual Studio which only supports SqlCe on the client.
the collaboration providers SqlCeSyncProvider/SqlSyncProvider supports SqlCe, Sql Express, Sql Server and Sql Azure on both client and server.
afaik, there is no Sql Ce 4.0 support in the near future and there is no Sync Framework 4.0, just 2.1. MS has recently released a Sync Framework Toolkit based on the V4 CTP but its more to expand the client support to non-MS platform.
having said that, i suggest you go with the SqlCeSyncProvider/SqlSyncProvider combo as they probably require the least amount of customization.
see: Tutorial: Synchronizing SQL Server and SQL Server Compact