asp.net mysql sql server 2008 installation - asp.net

i have a simple questions. I am programming in Visual studio using vb.net. As Database i am using mysql with the .Net connector and using the membership provider.
Do i need to install microsoft sql server 200X too ? (although i will not use it)
sincerly
Tasci

No, you don't need it. These are different programs. They do not require each other for work.

Related

ASP.NET vnext and open database

is there some possibility to work with an open database like mysql, mariadb or other and ASP.NET vNext?
Perhaps a beta driver or something like that?
For ASP.NET vNext you can choose to target the full .NET Framework or a slimmed down, bin-deployable, cross platform, Core framework.
If you target the full .NET Framework then you get all the data access options you had before. If you target the CoreCLR then you can use the new version of Entity Framework (EF7). Currently we have the following providers available on CoreCLR; SQL Server, SQLite, and an in memory provider for testing. Of course, more providers will become available as we work towards RTM.
In addition to EF7, there are also the corresponding provider specific SDKs that EF is building on top of, and these can be used in application code as well (e.g. there is an implementation of SqlClient that can be used to access a SQL Server database).
You can read more about our plans for EF7 here - http://blogs.msdn.com/b/adonet/archive/2014/05/19/ef7-new-platforms-new-data-stores.aspx.
It depends on if you are using the CoreCLR (the trimmed down version) or the Desktop profiles. In the Desktop profile you have everything you have in .NET available and you can add your own open source libraries (via Nuget).
Just open up your project.json and add the needed dependencies.
Anyway you should not be dealing with low level ADO.NET, you can use Entity Framework, or Massive or nHibernate, or whatever, to abstract away the specific database your project is using now, as it is bound to change or multiply during the project lifetime...
You should still be able to use anything ADO.Net related with ASP.Net vNext - it is, after all, still .Net!
Yes, it is possible, but only if you use full .net profile (on windows it will be .net framework and on linux - mono). NHibernate working well on mono, so you can eventually use mysql, postgresql and other databases in you APS.NET 5 vNext application. Here is complete example of application with NHibernate and PostgreSQL on Ubuntu server.

Entity Framework with My SQL inside asp.net mvc [duplicate]

This question already has answers here:
Using MySQL with Entity Framework [closed]
(10 answers)
Closed 8 years ago.
Iam developing an asp.net mvc web application, and I have a commercial system which i want to connect to its MySQL database. so i decide to use the entity framework inside an asp.net mvc web application.
but when i tired to create a new connection i can not find an option to connect to the MySQL server, as shown below:-
So is there an option to connect to MSQL server instead of SQL server?
Install MySQL Connector for .NET, restart your Visual Studio and try again.
UPDATE:
Sometimes installing the Connector is not enough for Visual Studio integration. see https://stackoverflow.com/a/4257203 for solution.
It better to user Nuget and install MySql.Data from there than install .NET connector. First of all use of connector will cause the situation that you need to install connector to your server environment. Also, if tomorrow you will install new version of connector locally you should reinstall it on server also (you cannot have 2 versions of connector to be installed on same machine, so web applications that user older version will stop working).
All you need to do it's use Nuget Packet manager, search for MySQL.Data and install it. Also (i dont remember its by default done) you should go to property of this reference in solution and set it to always copy locally. That's it, all should work.
[Update]
Also, to navigate in mysql is better to use native mysql tools, like MySQL Workbench. It has much more possebility
You may need to use the MySQL Installer for Windows:
http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html
I read somewhere that it's the only way to get VS support now.

How to Use Oracle in Asp.net

I need to use Oracle with Asp.net. Kindly Suggest me for Which Components i need to download to Use Oracle with Asp.net
You could use ODP.net which is Oracle's solution to connect .net applications to the Oracle world.
It ships with a membership provider for ASP.net and an entity framework implementation for Oracle and is integrated in Visual Studio.
http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51odt-453447.html
This article will provide you with a couple of different ways to use Oracle with .net. Including utilizing Oracle with .net's own ORM Entity Framework.
http://nhforge.org/Default.aspx
NHibernate is another ORM that provides a provider for connecting to Oracle.

Oracle 10: how to link for using Oracle 10 with ASP.NET MVC 2, VS 2010, and Microsoft IIS 7?

We have a wonderful ASP.NET MVC 2 web application using MS SQL 2008 and VS 2010. The customer wants to use Oracle 10g as a back end database. I want to point our MVC2 app to it and run our tests. I have no clue where to start with Oracle 10g.
Anyone have a how-to link on how to setup an Oracle 10g database and use it in place of SQL 2008 above for testing? I assume Oracle has some sort of Developer edition like Microsoft has SQL Express. Any ideas?
Oracle's equivalent to Microsoft SQL Express is Oracle XE. But I don't think it will be easy for you to migrate your application to use OracleXE instead of MSSQLServer Express.
If you are using LinQ to SQL, you don't have Oracle support. If you are using Entity Framework, you have Oracle third party support (although an official support for Oracle is supposed to be on its way).
ADO.NET provider will be different.
And of course, you won't have 100% data type equivalence.
So I wish you good luck, and if you have the possibility, convince your client to use SQLServer Express or be prepared to migrate a lot of your app.

Dataset Designer and Postgresql?

I have used Dataset Designer in built in Visual Studio 2008 for my asp.net application to interact with my Sql Server database.
Now i want to port my application to postgresql database.
Can i use Dataset Designer similarly with Postgres?
Or otherwise i am looking for an alternative tool that works similarly like Dataset Designer and help my application interact with Postgres.
Or is there anything that is as easy and quick to learn as Dataset Designer to help me use Postgres.
I am relatively new to asp.net programming.
npgsql (the .NET drivers for PostgreSQL) doesn't yet support visual studio design time features. There's a commercial driver available from Devart that does though.
I use pgadmin to manage and design databases, though it might not be what you want if you want graphically design.

Resources