{"id":459,"date":"2019-10-15T03:58:45","date_gmt":"2019-10-14T20:58:45","guid":{"rendered":"http:\/\/ainoodle.tech\/?p=459"},"modified":"2019-10-15T03:58:45","modified_gmt":"2019-10-14T20:58:45","slug":"ket-noi-c-voi-python-flask-de-trien-khai-he-thong-ai-client-server-chuong-1","status":"publish","type":"post","link":"https:\/\/miai.vn\/?p=459","title":{"rendered":"K\u1ebft n\u1ed1i C# v\u1edbi Python Flask \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI Client-Server  &#8211; Ch\u01b0\u01a1ng 1"},"content":{"rendered":"\n<p>Ch\u00e0o m\u1eebng anh em quay tr\u1edf l\u1ea1i v\u1edbi Blog M\u00cc AI, h\u00f4m nay ch\u00fang ta s\u1ebd \u0111i t\u00ecm hi\u1ec3u c\u00e1ch tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi server Python b\u1eb1ng Flask \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server.<\/p>\n\n\n\n<p>Ch\u1eafc h\u1eb3n trong qu\u00e1 tr\u00ecnh t\u1eeb tr\u01b0\u1edbc \u0111\u1ebfn nay anh em \u0111\u1ecdc c\u00e1c b\u00e0i tr\u00ean blog c\u1ee7a m\u00ecnh th\u1ea5y h\u1ea7u h\u1ebft c\u00e1c ch\u01b0\u01a1ng tr\u00ecnh \u0111\u1ec1u th\u1ef1c thi tr\u1ef1c ti\u1ebfp tr\u00ean server \u0111\u00fang ko? Qu\u1ea3 l\u00e0 trong qu\u00e1 tr\u00ecnh vi\u1ebft blog, nhi\u1ec1u anh em c\u00f3 h\u1ecfi v\u1ec1 vi\u1ec7c n\u1ebfu mu\u1ed1n tri\u1ec3n khai m\u1ed9t h\u1ec7 th\u1ed1ng m\u00e0 Python l\u00e0m server, \u1ee9ng d\u1ee5ng C# ho\u1eb7c Mobile s\u1ebd g\u1ecdi l\u00ean server \u0111\u00f3 th\u00ec nh\u01b0 n\u00e0o? L\u00e0m ra sao?<\/p>\n\n\n\n<p>Do v\u1eady, h\u00f4m nay m\u00ecnh s\u1ebd guide c\u00e1c b\u1ea1n t\u1eebng b\u01b0\u1edbc c\u00e1ch tri\u1ec3n khai nh\u00e9. B\u00e0i to\u00e1n ch\u00fang ta s\u1ebd l\u00e0m \u1edf \u0111\u00e2y l\u00e0 nh\u01b0 sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u1ee8ng d\u1ee5ng C# (c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 ch\u1ebf ch\u00e1o th\u00e0nh \u1ee9ng d\u1ee5ng Android, iOS t\u00f9y \u00fd nh\u00e9) s\u1ebd g\u1eedi 1 \u1ea3nh collect t\u1eeb webcam l\u00ean server.<\/li><li>Server Python Flask s\u1ebd d\u00f9ng YOLO \u0111\u1ec3 detect xem v\u1eadt th\u1ec3 \u0111\u00f3 l\u00e0 v\u1eadt th\u1ec3 g\u00ec v\u00e0 tr\u1ea3 v\u1ec1 cho client.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/16560492\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png\" alt=\"flask server python\"\/><figcaption>Ngu\u1ed3n: https:\/\/github.com\/ahmedfgad<\/figcaption><\/figure>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p><strong>Tuy nhi\u00ean,<\/strong> trong Ch\u01b0\u01a1ng 1 n\u00e0y, m\u00ecnh s\u1ebd ch\u1ec9 h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n d\u1ef1ng m\u1ed9t server Flask v\u00e0 client c# g\u1ecdi \u0111\u01b0\u1ee3c l\u00ean server th\u00f4i nh\u00e9, trong Ph\u1ea7n 2 ti\u1ebfp theo m\u00ecnh s\u1ebd tri\u1ec3n khai chi ti\u1ebft h\u01a1n.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 1. Chu\u1ea9n b\u1ecb nguy\u00ean v\u1eadt li\u1ec7u<\/h2>\n\n\n\n<p>B\u00e0i n\u00e0y c\u00f3 ki\u1ebfn tr\u00fac client\/server n\u00ean c\u00e1c b\u1ea1n ph\u1ea3i chu\u1ea9n b\u1ecb cho m\u00ecnh 2 ph\u1ea7n l\u00e0 client v\u00e0 server. T\u1ea5t nhi\u00ean r\u1ed3i! \ud83d\ude00<\/p>\n\n\n\n<p>\u0110\u1ea7u ti\u00ean c\u00e1c b\u1ea1n t\u1ea1o th\u01b0 m\u1ee5c <strong>MiAI_Flask<\/strong> \u0111\u1ec3 l\u01b0u c\u00e1c th\u1ee9 c\u1ee7a b\u00e0i n\u00e0y. Ti\u1ebfp theo c\u00e1c b\u1ea1n g\u00f5 l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git clone https:\/\/github.com\/thangnch\/MiAI_Flask .<\/pre>\n\n\n\n<p>\u0110\u1ee3i m\u1ed9t ch\u00fat \u0111\u1ec3 source bay v\u1ec1, c\u00e1c b\u1ea1n s\u1ebd th\u1ea5y c\u00f3 2 folder l\u00e0 client v\u00e0 server. Trong \u0111\u00f3 server l\u00e0 python v\u00e0 client m\u00ecnh vi\u1ebft b\u1eb1ng C# nh\u00e9.<\/p>\n\n\n\n<p>Ti\u1ebfp theo \u0111\u1ec3 l\u00e0m b\u00e0i n\u00e0y, c\u00e1c b\u1ea1n ch\u1ea1y l\u1ec7nh c\u00e0i \u0111\u1eb7t c\u00e1c th\u01b0 vi\u1ec7n nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip install -r setup.txt<\/pre>\n\n\n\n<p>\u0110\u1ee3it m\u1ed9t ch\u00fat l\u00e0 done nh\u00e9! Sau \u0111\u00f3 c\u00e1c b\u1ea1n chuy\u1ec3n sang b\u01b0\u1edbc 2.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 2. Vi\u1ebft code ch\u01b0\u01a1ng tr\u00ecnh client c# v\u00e0 flask server python<\/h2>\n\n\n\n<p>Nh\u01b0 \u0111\u00e3 n\u00f3i \u1edf tr\u00ean, trong ch\u01b0\u01a1ng 1 n\u00e0y, ch\u00fang ta thi\u00ean v\u1ec1 d\u1ef1ng server Flask \u0111\u1ec3 c\u00e1c b\u1ea1n n\u1eafm \u0111\u01b0\u1ee3c c\u1ea5u tr\u00fac n\u00ean m\u00e3 ngu\u1ed3n python Flask kh\u00e1 \u0111\u01a1n gi\u1ea3n ch\u1ec9 l\u00e0 hi\u1ec3n th\u1ecb c\u00e2u Hello world v\u00e0 Hi\u1ec3n th\u1ecb l\u1eddi ch\u00e0o v\u1edbi t\u00ean ng\u01b0\u1eddi d\u00f9ng do Client g\u1eedi l\u00ean th\u00f4i nh\u00e9 (ch\u00fang ta s\u1ebd b\u1ed5 sung code v\u00e0o sau trong c\u00e1c Ch\u01b0\u01a1ng sau). <\/p>\n\n\n\n<p>M\u00e3 ngu\u1ed3n server c\u00e1c b\u1ea1n xem file httpsvr.py trong th\u01b0 m\u1ee5c server nh\u00e9. M\u00ecnh \u0111\u00e3 comment \u0111\u1ea7y \u0111\u1ee7 t\u1eebng d\u00f2ng l\u1ec7nh r\u1ed3i.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/GDo_3Pw8aZZLx7VMvWz59VvdtrgpXtYZ5lRh9lJPNDBFwfGIuPTh0THelwX6t8KJ5gYJhpKIdw7OxHeS7MvXL2A9WwHYMb_hy7eDdFhcbFtOOcOxfklWqQSaGdwQcKptVXYenWWPolK-fzpkrnKQT7ZQB-0HWhpYLOkq69OEchm52VTqflfz5oG-hEZn91-F8JIcN3SIlR1q534WAIs5OSPZlIT4O7XLte0CST9BcPauGNLe_FDseA9YtRZB3_sRmmwwDCSArb8fsRNqLtUAdEXwJGxV346KhbS8M4g9ujX7J9n29VK3mGGX6B0ibIXPmJwfMt9gXo4O-jQ6MxkNE7_o5E92ZJl7F2fXOJjuZ3AlRFWBTqrDgm9bFtbWrbFQli6EvqzyzDKsnXGhzwwx065N490_0vMKe3wQTMowHfCx9ThIXVfqoiec_L42SCTUP_iqPrhl9LhfqM739e12S8HL_HnW_xVnx7t1dIhp78gxq0g8fFj4lNVZ3HbpdgLGlUxofX-DTC3pLFrMKNHiwxPR23Xg1PqhuH7v4BDnFE_5fjNFNYj0TRDXDBwiiPBfd_sonRSf6ekTH9kT1Lj9Eup0Z5g0kyez_yba2pG1pGDyY91JlUov59YQ4x0WtoPiS2lqHr4ytWTvmmCtISUjjUea_er088nfAsngnPk9iZac5lBUT7-s0qlzziVmIdro6ZuzwhPzVAGZZLAtr76rHeO7dQjzv178-AYOQjsbP__4wMvr3Q=w1468-h1174-no\" alt=\"flask server python\"\/><figcaption>M\u00e3 ngu\u1ed3n server httpsvr.py<\/figcaption><\/figure>\n\n\n\n<p>C\u00f2n \u1ee9ng d\u1ee5ng client c\u0169ng s\u1ebd \u1edf d\u1ea1ng \u0111\u01a1n gi\u1ea3n, c\u00f3 m\u1ed9t textbox, sau \u0111\u00f3 ng\u01b0\u1eddi d\u00f9ng nh\u1eadp t\u00ean v\u00e0o v\u00e0 nh\u1ea5n Submit th\u00ec g\u1eedi t\u00ean l\u00ean server v\u00e0 server tr\u1ea3 v\u1ec1 k\u1ebft qu\u1ea3 l\u00e0 m\u1ed9t c\u00e2u ch\u00e0o Hello. M\u00e3 ngu\u1ed3n trong th\u01b0 m\u1ee5c client, c\u00e1c b\u1ea1n m\u1edf file solution .sln \u0111\u1ec3 xem nh\u00e9.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/o6F7ztmLGe5h_SdAGp7LAgi9YtYOPbvBSRIfbVL3CGXKO6po-GGc8SVCww11KqgBRZTh3LExCKYNlGxW7fJ6w0NYzk0UfW7q6OpaO_APmswqDNg6u1crUmwzoZE24YEbh9RU00mLHB4NB6YrINqjKAizDz9dEuDXMF4t9DNBNtwEFANpWTXCNbbXw0l_sDwu2sGHhgy_tz-7-gOp00gsy3cwXnMUBSTSUH-NlODyMFBha8Gvr3pgCCAEaa1pwQVMQEw59Lgi9RZ7wW3Pyf9roZUU8XCeNccPyobuSt920qv2QGTh-qNMQzk59DOn0gJRA-DlKL7nBJl0nGriVpOsA_Y7fnI6OELYGA9Pfne8vrwSlWjT4zQoISfpdVhSiXYGphma2RjCfqKRLiDkYBV8b1AVZS14NKPgdpWW3NptU-U085l4vLnYRST1zx6RPaJmxSNbSCDHA8_xJNzMrV21FkcR4CVcVLrb9T8NV2D2VbNLrp02TrEzNy_wjYu1txWim4Th3JKQ6PA8UGBoeA8UkiOF0gjd7nuG760o5LBfpSx2DqnoncO4G7ztsb2-CL4VXE4wOkD2I4skITN9f_fjNc0kRIRCOIUUgfmEysUiQbzih7d3jia3zDx8oScSc2OETMu-eGjLsaWTl8A8pEUl_9Ua5sZbtVOFwvFAnrdtZSebeqAKfC0mKLh_R4S8MKKRm0uYRZVTgI0IK0rzNzqZOhe12PLmUBWItT9c1iKhQ_ou6XdCYw=w827-h529-no\" alt=\"Client c#\"\/><figcaption>M\u00e3 ngu\u1ed3n c#<\/figcaption><\/figure>\n\n\n\n<p>Okie \u0111\u00f3 l\u00e0 to\u00e0n b\u1ed9 m\u00e3 ngu\u1ed3n, b\u00e2y gi\u1edd ch\u00fang ta sang ph\u1ea7n ti\u1ebfp \u0111\u1ec3 gh\u00e9p n\u1ed1i v\u00e0 th\u1eed ch\u1ea1y ch\u01b0\u01a1ng tr\u00ecnh nh\u00e9.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 3. Ti\u1ebfn h\u00e0nh b\u1eadt Flask server Python<\/h2>\n\n\n\n<p>B\u00e2y gi\u1edd ch\u00fang ta s\u1ebd ti\u1ebfn h\u00e0nh b\u1eadt server tr\u01b0\u1edbc nh\u00e9. C\u00e1c b\u1ea1n chuy\u1ec3n v\u00e0o th\u01b0 m\u1ee5c server v\u00e0 ch\u1ea1y l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python httpsvr.py<\/pre>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>\u0110\u1ee3i m\u1ed9t ch\u00fat cho ch\u01b0\u01a1ng tr\u00ecnh load, khi n\u00e0o m\u00e0n h\u00ecnh hi\u1ec7n ra ch\u1eef d\u1ea1ng nh\u01b0 sau l\u00e0 th\u00e0nh c\u00f4ng:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Running on http:\/\/0.0.0.0:8000\/ (Press CTRL+C to quit)<br>\nRestarting with stat<br>\nDebugger is active!<br>\nDebugger PIN: 116-214-938<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/sPzQQjSxhSVAJbelHs4BBYZM6MLRulONPz3rJ0CUd1SdgJQLEsCHehDBbBrvytVgWvak9UOkZgaXwfioiHEMCm6K6L1FYjsCDZEGqr-Lr1PNgj4_mpL40YMQ55xysg4LiDNeH-u6ivy33NPD4dEmcyBOZ4sRjPZDFKmeq5mb1GtkLVodUm4YE_N5OcN7y3jjdfXEBRzL8KnmEDzwUti7dz90eEnJX3ib97ZnifsVxt_K1eUDZt-KtWHF39E7Zpsh9HO-GO0lrS2QiBbfuazmTDW89DIqM3783eArGJpm13Pcd5o0Sa67Qu4WVrFFR2fYi8DopJ_0YybarQcQgp3ESxphJ_DtKzcHu6ioMktP7yUUvT5CqJQF_wqB2YG-EWMMyjxwNFLPZLqdfJK7XMjGbdsdFrOYtYz6UJD68ZotMpvdoBnyudgs3urxtW28Df42sD4-KmyuaA6WF5aZggBW8slC6hFrmHmj4prJAWK_6lWiQ5SBUkpre-jz4u9EBH7yDSaAwEn92NO-9Eud9cSSPu21a33fh6amApHTUvK9Ph-Hds7szzrTsKh1KOZ14Yh4khwvZ-Nbsl4lZPHwrHx3mqoF_zEnnH8U5q51iOYc9IRXwYQ9eJWmH1sga2H-5vXVEOMinnQfgG3Rvk7ba7n-5y8kkuiQnhPe3j2o7Ik5CZaxWvUYS4YBMQbUK85Eb3NhT1v7_ttJKmiezZgEFE7FVGIBTygWQokejVfeaKAnJ2r3juijvg=w1910-h432-no\" alt=\"flask server python\"\/><\/figure>\n\n\n\n<p>\u0110\u1ec3 \u00fd k\u1ef9 c\u00e1c b\u1ea1n s\u1ebd th\u1ea5y c\u1ed5ng c\u1ee7a server \u0111\u00e3 m\u1edf \u1edf 8000 nh\u01b0 ch\u00fang ta c\u1ea5u h\u00ecnh, c\u00e1c b\u1ea1n th\u00edch c\u1ed5ng kh\u00e1c c\u00f3 th\u1ec3 \u0111\u1ed5i tho\u1ea3i m\u00e1i nh\u00e9.<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n h\u00e3y m\u1edf tr\u00ecnh duy\u1ec7t tr\u00ean m\u00e1y server v\u00e0 g\u00f5 th\u1eed \u0111\u1ecba ch\u1ec9 <strong>http:\/\/localhost\/<\/strong> xem c\u00f3 g\u00ec hi\u1ec7n ra kh\u00f4ng nh\u00e9, n\u1ebfu c\u00f3 d\u00f2ng ch\u1eef nh\u01b0 b\u00ean d\u01b0\u1edbi l\u00e0 server \u0111\u00e3 start v\u00e0 tr\u1ea3 v\u1ec1 th\u00e0nh c\u00f4ng.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/hsr-ButsX7f7zdLmoD5PprgbWUgXOLYwPI_3rExawSFM8SwFmDVxKYKPn_82OoONpUD0GvdMmOgjCcOF0aIHUvmPcgAP5ZJnzhAiaSds3hFlXBwYHO5-4E5U6i3gFHwzJeKXiMDNXBxz5N33UytXJBATIS0CQ6PNSR_YlEo_SEVSBDWwJWOu_MjQtUV26PuzgfFGPUCkZb7ur9eMgjVW6-RSiqwr682uO9lssMj6adv5Hv10ueVENGfypTf-Ue_7fhZanqcYqBIeGgVs6rgP5H5B__FXV8IZvHYI4qH0_hNJMAug7qjVeGMOnBpnYqTAiUPFaolbeoVLKhWonAE7yiPiz3A3LTds1s8UprZ-9S-OiW6LJlQYC0BT7VYiyx02byNCRMgmwbv6yQm7h9jGF6bZ5c5nPiOXMPqqYwe_p8CWuq71Gr3OJix4uSr8fQf07qBipkRCE-jQfBqoWGoYEnAzqujvHufJNkPp0ZUqQSqz6y8ayrTdmj9guo1qav6yzmFB9enJQ9DufidJKaVmhGDPNEHlmYvwyIFdBDEscR_cNRNC0AP9Fhar1y1hmHy5S6kjBObIyKmlOcO6oG3VyhKhI6f-cvCMLbAiy6c99GI0fMJFiepLtRmnlabsj8YUoimzCP9D5z3NkXO6OSLVvXvSdoQGb52wgXxlohANHtUULwF45MudxFZT_itAWwlCAYugYop3aidbLXSLi6FS-BzE8ZxmIbHM8okKfbZtYWOzxe9Zeg=w954-h522-no\" alt=\"flask server python\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 4. Ti\u1ebfn h\u00e0nh ch\u1ea1y Client b\u1eb1ng c#<\/h2>\n\n\n\n<p>R\u1ed3i, b\u00e2y gi\u1edd \u0111\u1ebfn ph\u1ea7n client. Ph\u1ea7n n\u00e0y m\u00ecnh l\u1eadp tr\u00ecnh <strong>WinForm b\u1eb1ng Visual Studio 2017<\/strong> nh\u00e9. B\u1ea1n n\u00e0o ch\u01b0a c\u00e0i <strong>Visual Studio<\/strong> th\u00ec c\u00e0i \u0111\u1ec3 code client (\u0111o\u1ea1n n\u00e0y v\u1edbi c\u00e1c b\u1ea1n ch\u01b0a code C# bao gi\u1edd ch\u00fa \u00fd nh\u00e9 v\u00e0 kh\u00f4ng nh\u1ea7m v\u1edbi Visual Studio Code \u0111\u1ec3 code python t\u1eeb tr\u01b0\u1edbc \u0111\u1ebfn gi\u1edd.). <\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n \u0111\u00e3 m\u1edf file solution, t\u00ecm \u0111\u1ebfn Form1.cs v\u00e0 t\u00ecm ti\u1ebfp h\u00e0m button1_Click. C\u00e1c b\u1ea1n s\u1eeda bi\u1ebfn server_ip th\u00e0nh IP ch\u00ednh x\u00e1c c\u1ee7a server l\u00e0 okie. N\u1ebfu c\u00e1c b\u1ea1n ch\u1ea1y tr\u00ean c\u00f9ng 1 m\u00e1y th\u00ec c\u1ee9 s\u1eeda th\u00e0nh 0.0.0.0 l\u00e0 xong nh\u00e9.<\/p>\n\n\n\n<p>R\u1ed3i th\u00ec gi\u1edd ti\u1ebfn h\u00e0nh run Solution, m\u1ed9t m\u00e0n h\u00ecnh nh\u01b0 sau s\u1ebd hi\u1ec7n ra khi c\u00e1c b\u1ea1n ch\u1ea1y th\u00e0nh c\u00f4ng.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/0LljxZQVUgdhW7A6UzskreuYS2wTDimyRPvMmyvtsoKJfa3uBq-bg5A047g_7LMeKns3uvYVpTZEZmpcjMEX0uWxlhdMUrc6RR3miFGXfWYSzKGRPQErjcslY2V6eEOrZJcqKX42aNSHPgUXNH-p3Fl2lsz8Si9gTNpzGRJEi4qBoEBfGgA6SNz1tSzMJmgIBAsWjqXMfpwJucgIcBzsKll51QSGzkvPnlreSxD9sPuG6VP-kLAVkDpyXmA9_cxVD_Irybl7O5SeqQ9lwTRYwKAQQT6paZPMvMiC8y7wDLtQrn9l1eUT7RQIWQMHfvmHJXiSYf_P64iBtK8zEaWEv1vxnbLYnjhcdyFQ0lKIPZE-oeY-jZtWYe_F49qMUedC06SCxmXjLCTE0f5K_PPuOfEA8NVUvEbcugEOetEW3JCq4zmx_n-MfpDeY5nmgOGcjCK6bwrbiZl5-z730GSVJwqQYZcTdGnC45xx6zypbPsxoCX2_M1Uj8A4sfENTHnQcWUfL425wtqQEUwFTBcIAHzF0MYNyVYDGj4aVqLImJ1qBgMDQjYJfI5Qb3hZWnqSnUEUNvZ6pfYIbW7IqQO8NmYt7yDCdSOs_eEcZkS3ldCU14z5kQX722X6zf1Y0Hg5qvAGORWeVScTuY8W_hpudKJrfLFX1FuSSFoZf83h6moiTzxEbFF4CrNnl11ZZDcen2uWRuElVh5chKRaNsiPwoodMLa0iquXYcuXPqK6eDQHyqqeqg=w815-h497-no\" alt=\"client c#\"\/><\/figure>\n\n\n\n<p>C\u00e1c b\u1ea1n h\u00e3y nh\u1eadp t\u00ean v\u00e0 nh\u1ea5n button Send th\u1eed xem, n\u1ebfu c\u00f3 messagebox hi\u1ec3n th\u1ecb l\u00e0 bingo! Xong r\u1ed3i ah!<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/vFTA5yv0EuPjVf1g7WRAcvuKSMC4_N9gDp8f3id5bcsudUPRwR8zR69LXHz0yhErLXP7sMjYnr-4BgP3080Z1dFgl6B5JSd5krWSztRjLI7MZC1Yg7rynBcQjaCk_crK9ar2O9lIsxqbEZvEue9hPx925nJHXbof1sy_W-8Rar3rMar-tziQDvLQxG0n5LUYtL2IbdHY4-rHAjC9LA9rq4oIMT3sHYo9WcoD4gQkSM8sVUiE_F6jL28SV1gohnl3QqAcC05QO5km3uYC6D2cwN7wUlwHbd-Ahbw5HCtSEAKdtbyWgbFX0R_a391ls2CogHcwAvGorAO9UToh9Qg9jWsZrqThrHBlGaKJQrlNbhLD1W-R42ZIArbzBdTmf3p5rP7vOvU1vUbrGlvKJteJboLplKOlVHQQ1gAIItCojxX_2g2Sxvl5V8If7YlJl3jCL5xaOMLKh0NrflR_ar9HW82Gv4CDU-2aEVXQUcxPHHKOS800rofpMc1VjVWnQP9YhnkPZckFwrJmN69U5QVLBrfWVIea40aqi5-5C3X1Y-vf-6RFslWoqHYPc_cJSEkEVvOzoS5brYQyPS5fIMw3t-xrdQ5x0-H9YtYl2yN4SSuItqOZY_CGLfCl7ZEmU9yhEF-b3mXbTqDSQN9tHjSDYS-9noHGwV5ip8kKipj7I9pxFkBCesZPRLrOsOoLlYQr-UCNes2wPFYuPXbx-XuvI4o9dzcppNIzZLoi268eAxMxo-ZzvQ=w611-h257-no\" alt=\"client c#\"\/><\/figure>\n\n\n\n<p>Nh\u01b0 v\u1eady , trong Ch\u01b0\u01a1ng 1 n\u00e0y, ch\u00fang ta \u0111\u00e3 bi\u1ebft c\u00e1ch d\u1ef1ng m\u1ed9t server python b\u1eb1ng Flask v\u00e0 g\u1ecdi t\u1eeb c# l\u00ean th\u00e0nh c\u00f4ng. Trong c\u00e1c Ch\u01b0\u01a1ng ti\u1ebfp, ch\u00fang ta s\u1ebd \u0111\u1eafp th\u00eam code \u0111\u1ec3 l\u00e0m 1 h\u1ec7 th\u1ed1ng nh\u1eadn di\u1ec7n v\u1eadt th\u1ec3 theo h\u01b0\u1edbng client\/server nh\u00e9. <\/p>\n\n\n\n<p>M\u00ecnh xin nh\u1eafc l\u1ea1i, \u0111\u00e2y l\u00e0 b\u00e0i v\u00ed d\u1ee5 \u0111\u1ec3 c\u00e1c b\u1ea1n bi\u1ebft c\u00e1ch tri\u1ec3n khai theo m\u00f4 h\u00ecnh client\/server th\u00f4i. Sau khi th\u00e0nh th\u1ea1o, c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 l\u00e0m c\u00e1c h\u1ec7 th\u1ed1ng kh\u00e1c v\u00ed d\u1ee5 nh\u01b0 h\u1ec7 th\u1ed1ng tr\u00f4ng xe t\u1ea1i t\u1ea7ng h\u1ea7m, m\u00e1y c\u1ee7a b\u1ea3o v\u1ec7 s\u1ebd ch\u1ee5p \u1ea3nh bi\u1ec3n s\u1ed1 g\u1eedi v\u1ec1 server \u0111\u1ec3 xem x\u00e9t v\u00e0 cho ph\u00e9p ra v\u00e0o ch\u1ee9 kh\u00f4ng ai c\u00e0i model l\u00ean m\u00e1y b\u1ea3o v\u1ec7 c\u1ea3.<\/p>\n\n\n\n<p>H\u1eb9n g\u1eb7p l\u1ea1i c\u00e1c b\u1ea1n. N\u1ebfu c\u00f3 g\u00ec v\u01b0\u1edbng m\u1eafc trong qu\u00e1 tr\u00ecnh tri\u1ec3n khai c\u00e1c b\u1ea1n c\u1ee9 post l\u00ean group trao \u0111\u1ed5i, chia s\u1ebb: <strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><\/strong>&nbsp;\u0111\u1ec3 c\u00f9ng trao \u0111\u1ed5i, th\u1ea3o lu\u1eadn nh\u00e9.<\/p>\n\n\n\n<p><strong><em>H\u00e3y gia nh\u1eadp c\u1ed9ng \u0111\u1ed3ng M\u00ec AI nh\u00e9!<\/em><\/strong><\/p>\n\n\n\n<p>Fanpage: <strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"http:\/\/facebook.com\/miaiblog\" target=\"_blank\">http:\/\/facebook.com\/miaiblog<\/a><\/strong><br>Group trao \u0111\u1ed5i, chia s\u1ebb: <strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><\/strong><br>Website: <strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/miai.vn\/\" target=\"_blank\">https:\/\/miai.vn\/<\/a><\/strong><br>Youtube: <strong><a href=\"http:\/\/bit.ly\/miaiyoutube\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">http:\/\/bit.ly\/miaiyoutube<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ch\u00e0o m\u1eebng anh em quay tr\u1edf l\u1ea1i v\u1edbi Blog M\u00cc AI, h\u00f4m nay ch\u00fang ta s\u1ebd \u0111i t\u00ecm hi\u1ec3u c\u00e1ch tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi server Python b\u1eb1ng Flask \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server. Ch\u1eafc h\u1eb3n trong qu\u00e1 tr\u00ecnh t\u1eeb tr\u01b0\u1edbc \u0111\u1ebfn nay anh em \u0111\u1ecdc c\u00e1c b\u00e0i [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[109,110,111,32,112,113,29],"class_list":["post-459","post","type-post","status-publish","format-standard","hentry","category-basic","tag-c","tag-client-server","tag-flask","tag-python","tag-restful","tag-webservice","tag-yolo"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>K\u1ebft n\u1ed1i C# v\u1edbi Flask server python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI - M\u00ec AI<\/title>\n<meta name=\"description\" content=\"Ch\u00e0o m\u1eebng anh em, h\u00f4m nay ch\u00fang ta s\u1ebd tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi Flask server Python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/miai.vn\/?p=459\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"K\u1ebft n\u1ed1i C# v\u1edbi Flask server python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI - M\u00ec AI\" \/>\n<meta property=\"og:description\" content=\"Ch\u00e0o m\u1eebng anh em, h\u00f4m nay ch\u00fang ta s\u1ebd tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi Flask server Python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/miai.vn\/?p=459\" \/>\n<meta property=\"og:site_name\" content=\"M\u00ec AI\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-14T20:58:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/user-images.githubusercontent.com\/16560492\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png\" \/>\n<meta name=\"author\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459\"},\"author\":{\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\"},\"headline\":\"K\u1ebft n\u1ed1i C# v\u1edbi Python Flask \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI Client-Server &#8211; Ch\u01b0\u01a1ng 1\",\"datePublished\":\"2019-10-14T20:58:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459\"},\"wordCount\":1412,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/user-images.githubusercontent.com\\\/16560492\\\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png\",\"keywords\":[\"c#\",\"client-server\",\"flask\",\"python\",\"restful\",\"webservice\",\"Yolo\"],\"articleSection\":[\"Basic\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=459#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459\",\"url\":\"https:\\\/\\\/miai.vn\\\/?p=459\",\"name\":\"K\u1ebft n\u1ed1i C# v\u1edbi Flask server python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI - M\u00ec AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/user-images.githubusercontent.com\\\/16560492\\\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png\",\"datePublished\":\"2019-10-14T20:58:45+00:00\",\"description\":\"Ch\u00e0o m\u1eebng anh em, h\u00f4m nay ch\u00fang ta s\u1ebd tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi Flask server Python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=459\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459#primaryimage\",\"url\":\"https:\\\/\\\/user-images.githubusercontent.com\\\/16560492\\\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png\",\"contentUrl\":\"https:\\\/\\\/user-images.githubusercontent.com\\\/16560492\\\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=459#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/miai.vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"K\u1ebft n\u1ed1i C# v\u1edbi Python Flask \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI Client-Server &#8211; Ch\u01b0\u01a1ng 1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"name\":\"M\u00ec AI\",\"description\":\"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!\",\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/miai.vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\",\"name\":\"M\u00ec AI\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"contentUrl\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"width\":240,\"height\":193,\"caption\":\"M\u00ec AI\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\",\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"caption\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\"},\"sameAs\":[\"https:\\\/\\\/miai.vn\"],\"url\":\"https:\\\/\\\/miai.vn\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"K\u1ebft n\u1ed1i C# v\u1edbi Flask server python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI - M\u00ec AI","description":"Ch\u00e0o m\u1eebng anh em, h\u00f4m nay ch\u00fang ta s\u1ebd tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi Flask server Python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/miai.vn\/?p=459","og_locale":"en_US","og_type":"article","og_title":"K\u1ebft n\u1ed1i C# v\u1edbi Flask server python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI - M\u00ec AI","og_description":"Ch\u00e0o m\u1eebng anh em, h\u00f4m nay ch\u00fang ta s\u1ebd tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi Flask server Python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server.","og_url":"https:\/\/miai.vn\/?p=459","og_site_name":"M\u00ec AI","article_published_time":"2019-10-14T20:58:45+00:00","og_image":[{"url":"https:\/\/user-images.githubusercontent.com\/16560492\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png","type":"","width":"","height":""}],"author":"Ch\u1ee7 ti\u1ec7m M\u00ec","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ch\u1ee7 ti\u1ec7m M\u00ec","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/miai.vn\/?p=459#article","isPartOf":{"@id":"https:\/\/miai.vn\/?p=459"},"author":{"name":"Ch\u1ee7 ti\u1ec7m M\u00ec","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c"},"headline":"K\u1ebft n\u1ed1i C# v\u1edbi Python Flask \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI Client-Server &#8211; Ch\u01b0\u01a1ng 1","datePublished":"2019-10-14T20:58:45+00:00","mainEntityOfPage":{"@id":"https:\/\/miai.vn\/?p=459"},"wordCount":1412,"commentCount":1,"publisher":{"@id":"https:\/\/miai.vn\/#organization"},"image":{"@id":"https:\/\/miai.vn\/?p=459#primaryimage"},"thumbnailUrl":"https:\/\/user-images.githubusercontent.com\/16560492\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png","keywords":["c#","client-server","flask","python","restful","webservice","Yolo"],"articleSection":["Basic"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/miai.vn\/?p=459#respond"]}]},{"@type":"WebPage","@id":"https:\/\/miai.vn\/?p=459","url":"https:\/\/miai.vn\/?p=459","name":"K\u1ebft n\u1ed1i C# v\u1edbi Flask server python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI - M\u00ec AI","isPartOf":{"@id":"https:\/\/miai.vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/miai.vn\/?p=459#primaryimage"},"image":{"@id":"https:\/\/miai.vn\/?p=459#primaryimage"},"thumbnailUrl":"https:\/\/user-images.githubusercontent.com\/16560492\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png","datePublished":"2019-10-14T20:58:45+00:00","description":"Ch\u00e0o m\u1eebng anh em, h\u00f4m nay ch\u00fang ta s\u1ebd tri\u1ec3n khai k\u1ebft n\u1ed1i client C# v\u1edbi Flask server Python \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI c\u00f3 ki\u1ebfn tr\u00fac client-server.","breadcrumb":{"@id":"https:\/\/miai.vn\/?p=459#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/miai.vn\/?p=459"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/?p=459#primaryimage","url":"https:\/\/user-images.githubusercontent.com\/16560492\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png","contentUrl":"https:\/\/user-images.githubusercontent.com\/16560492\/39411182-56ae1492-4c05-11e8-99cd-3172698d97e3.png"},{"@type":"BreadcrumbList","@id":"https:\/\/miai.vn\/?p=459#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/miai.vn\/"},{"@type":"ListItem","position":2,"name":"K\u1ebft n\u1ed1i C# v\u1edbi Python Flask \u0111\u1ec3 tri\u1ec3n khai h\u1ec7 th\u1ed1ng AI Client-Server &#8211; Ch\u01b0\u01a1ng 1"}]},{"@type":"WebSite","@id":"https:\/\/miai.vn\/#website","url":"https:\/\/miai.vn\/","name":"M\u00ec AI","description":"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!","publisher":{"@id":"https:\/\/miai.vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/miai.vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/miai.vn\/#organization","name":"M\u00ec AI","url":"https:\/\/miai.vn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/","url":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","contentUrl":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","width":240,"height":193,"caption":"M\u00ec AI"},"image":{"@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c","name":"Ch\u1ee7 ti\u1ec7m M\u00ec","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","caption":"Ch\u1ee7 ti\u1ec7m M\u00ec"},"sameAs":["https:\/\/miai.vn"],"url":"https:\/\/miai.vn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=459"}],"version-history":[{"count":0,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/459\/revisions"}],"wp:attachment":[{"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}