From 4b0ae8b80876e094d3ef4eea045066d2f199a750 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 30 Jan 2023 20:01:46 +0200 Subject: [all] Converted all images to webp format --- .../img/about-workbench.png | Bin 24274 -> 0 bytes .../img/about-workbench.webp | Bin 0 -> 8588 bytes .../connect-to-mysql-in-dotnet-ef/img/connections.png | Bin 10067 -> 0 bytes .../connect-to-mysql-in-dotnet-ef/img/connections.webp | Bin 0 -> 6322 bytes .../img/workbench-version.png | Bin 33595 -> 0 bytes .../img/workbench-version.webp | Bin 0 -> 8836 bytes src/tutorials/connect-to-mysql-in-dotnet-ef/index.md | 6 +++--- 7 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.png create mode 100644 src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.webp delete mode 100644 src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.png create mode 100644 src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.webp delete mode 100644 src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.png create mode 100644 src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.webp (limited to 'src/tutorials/connect-to-mysql-in-dotnet-ef') diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.png b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.png deleted file mode 100644 index 067d8ce..0000000 Binary files a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.png and /dev/null differ diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.webp b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.webp new file mode 100644 index 0000000..eb27e5d Binary files /dev/null and b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.webp differ diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.png b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.png deleted file mode 100644 index aa7b408..0000000 Binary files a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.png and /dev/null differ diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.webp b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.webp new file mode 100644 index 0000000..a504d6d Binary files /dev/null and b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.webp differ diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.png b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.png deleted file mode 100644 index bf5081d..0000000 Binary files a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.png and /dev/null differ diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.webp b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.webp new file mode 100644 index 0000000..9f1fe03 Binary files /dev/null and b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.webp differ diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md b/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md index d6bde42..f6d2c40 100644 --- a/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md +++ b/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md @@ -26,7 +26,7 @@ There are [a lot](https://www.connectionstrings.com/mysql/) of ways to setup the If you are using `MySQL Workbench` and you don't know your port and id, you can look at the server information from the `MySQL Connections` page. -![MyServer root 127.0.0.1:3306](./img/connections.png) In this example, the user id is _root_ and the port is _3306_. +![MyServer root 127.0.0.1:3306](./img/connections.webp) In this example, the user id is _root_ and the port is _3306_. ## Connecting @@ -34,8 +34,8 @@ To connect, you'll need to call the `UseMySql` method, either in [ASP.NET Startu The method requires at least two arguments: connection string and `MySql` server version. The latter you can find, by going to the `Help/About Workbench` window inside `MySQL Workbench`. -![](./img/about-workbench.png) -![](./img/workbench-version.png) +![](./img/about-workbench.webp) +![](./img/workbench-version.webp) For the server version argument, create a new object of type `MySqlServerVersion` and give it's constructor a new object of type `Version`, to which you give the version numbers. The result should look something like this: -- cgit v1.3.1-26-gb76a