This is a quick tip for getting System.Data.Sqlclient for .NET Core console app.
When you look for EntityFramework in Nuget
then you will get the error “Package restore failed. Rolling back package changes for ‘ConAppNetCore’”.
Get the Microsoft.EntityFrameworkCore.
This one works for me.
The short blogs shows you one of the ways to upgrade from Visual Studio 2017 15.0 to 15.2.
Click on the small flag at your right top corner then you will see “Visual Studio Update” is available. Click on it.
When you see another dialog pop-up then click Update.
Then it will ask you to close your Visual Studio if you have not.
Once you close your Visual Studio 2017 then you can click Retry and your upgrade will start. It took me around 1 hour.
You can then launch your Visual Studio 2017 15.2.
It is Version 15.2 now.
Finally you can shut down your Windows 10 without Update.
But you need to have Windows 10 1703.
Java is an object-oriented programming language that was first released by Sun Microsystems in 1995. Back in the 90s all the programming languages were not GUI friendly. The only GUI friendly programming language was Visual Basic. Again, back in the 90s Visual Basic did not have the capability to support full object-oriented feature such as Inheritance.
Java is a portable language that can be executed through multiple platform compatible Java Virtual Machine (JVM). Furthermore, you can write code in Windows Operating System environment then deploy it onto the Linux Operating System environment.
In Mobile space
Java is also the native language used to develop the phone applications for Android Operating System. Android Operating System itself is also running on Java Runtime environment. For example, the Pokémon app that people are playing using Android mobile was developed using Java.
Easier to Maintain
Java is a statically-typed language. This means your code will have to be checked for errors before it can be compiled to become an application. In this way the syntax errors will be easier to identify. Since statically-typed languages such as Java are also more strict with the definitions of data members and member functions, you will have fewer surprises and unexpected errors, which means your codebase will be easier to maintain as it grows in size and complexity.
Java may not be the best language, depending on how you applied your programming language. With all the valid reasons mentioned above Java is going to stay for a decade or two. Oracle acquired Sun Microsystems in 2009. Java then became the primary language to build the Oracle stack, such as Oracle Fusion Middleware. As long as Oracle is doing well then Java will be useful.
This blog shows you why the Query Designer is disable or grey out in Visual Studio.
When you get the View menu to open the Query Designer then you might realize all the buttons in Query Designer is grey out like the one below.
Go to the Data Connection. Right click on the connection then choose “Delete” to delete the database connection.
Right click on Data Connection then choose “Add Connection…”
Click on “Change… (button)” in Add Connection dialog.
Choose on “.NET Framework Data Provider for OLE DB (list item)”.
Click on “OK (button)” in “Change Data Source”
Select northwind database then click OK.
Expand the database till you can see the tables. Choose Products table then right click on “New Query (menu item)”.
You can see the Query Designer is working now.