<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kazuki Ota on Medium]]></title>
        <description><![CDATA[Stories by Kazuki Ota on Medium]]></description>
        <link>https://medium.com/@okazuki?source=rss-4168005d9507------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9iVrokssMnDiZ4XM.jpg</url>
            <title>Stories by Kazuki Ota on Medium</title>
            <link>https://medium.com/@okazuki?source=rss-4168005d9507------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 10:45:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@okazuki/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to use Microsoft Graph API in UWP]]></title>
            <link>https://medium.com/@okazuki/how-to-use-microsoft-graph-api-in-uwp-2904b7d4e734?source=rss-4168005d9507------2</link>
            <guid isPermaLink="false">https://medium.com/p/2904b7d4e734</guid>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Kazuki Ota]]></dc:creator>
            <pubDate>Thu, 20 Dec 2018 07:37:21 GMT</pubDate>
            <atom:updated>2018-12-20T07:40:10.732Z</atom:updated>
            <content:encoded><![CDATA[<p>Microsoft Graph APIs has very powerful feature sets. My favorite is findMeetingTimes API.</p><p><a href="https://docs.microsoft.com/en-us/graph/api/user-findmeetingtimes?view=graph-rest-1.0">user: findMeetingTimes - Microsoft Graph v1.0</a></p><p>There are a lot of APIs outside of this.</p><p>In this article, I explain how to use Microsoft Graph APIs in your UWP app.</p><p>Following list is steps to use Graph APIs in your app.</p><ol><li>Register app to Azure AD</li><li>Add permission to the app</li><li>Add authentication logic in your app</li><li>Call the APIs</li></ol><h3><strong>Register app to Azure AD</strong></h3><p>Sign in to <a href="https://portal.azure.com./">https://portal.azure.com.</a> Then click “New application registration (Preview)” button at “Azure Active Directory &gt; App registrations”. Fill the form below values:</p><ul><li>Name: Your app name</li><li>Support account types: Accounts in any organizational directory</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*COMGm2hSKJPGXVPEfG7SmQ.jpeg" /></figure><p>After created the app, you can see “Application ID” on Azure portal. Please store the value because to use after. And then, check “urn:ietf:wg:oauth:2.0:oob” on “Authentication”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*mmtr5oPFm_blMkdoqzJ0Ig.jpeg" /></figure><h3>Add permission to the app</h3><p>Next step is adding permission to the app. Select “API permissions”. Then select permissions to call API you want. The permission is defined on the document. In this sample app, I want to call “Get a user” api.</p><p><a href="https://docs.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0">Get a user - Microsoft Graph v1.0</a></p><p>“User.Read” permission is already added.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*8WAZyvzOfT9V5mDfuay3dQ.jpeg" /></figure><h3>Add authentication logic in your app</h3><p>In Azure AD v2, we can use MSAL.NET library.</p><p><a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-v2-libraries">Azure Active Directory v2.0 authentication libraries</a></p><p>Add “Microsoft.Identity.Client” to UWP project using NuGet package manager. Next, add “Const.cs” to the project, and then add “ClientId” property and “Scopes” property to the file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/05ccb36547313b11e3bf4b75558d40d6/href">https://medium.com/media/05ccb36547313b11e3bf4b75558d40d6/href</a></iframe><p>Edit MainPage.xaml like below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/95646254f35eb9b69e0a563fe828ffb4/href">https://medium.com/media/95646254f35eb9b69e0a563fe828ffb4/href</a></iframe><p>Then add SignInButton_Click method to MainPage.xaml.cs.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9de8a92661f380175d96aca7e5f39c8a/href">https://medium.com/media/9de8a92661f380175d96aca7e5f39c8a/href</a></iframe><p>OK, launch the app ,then click sign in button ,and then Sign In dialog is appeared.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*I78P9MIPMXIbc1_j-6YIUA.jpeg" /></figure><p>After sign in, access token is shown on “Output Window”.</p><h3>Call the APIs</h3><p>You can call APIs using the access token. In UWP, you can use “Microsoft.Graph” package.</p><p><a href="https://www.nuget.org/packages/Microsoft.Graph">Microsoft.Graph 1.12.0</a></p><p>Add the package, then edit the files like below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/574d824b7952a897f84aa68363cc4cf6/href">https://medium.com/media/574d824b7952a897f84aa68363cc4cf6/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1e0c2312f5fa202bedd024201776089a/href">https://medium.com/media/1e0c2312f5fa202bedd024201776089a/href</a></iframe><p>After launch the app and sign in, user profile is displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oKqIYzjLhbXpG2Gzg5Cstg.jpeg" /></figure><h3>Conclusion</h3><p>Microsoft Graph APIs is powerful API set. You can use the APIs in your apps.</p><p>Have a fun programming.</p><h3>Source code</h3><p><a href="https://github.com/runceel/MSGraphAPISampleApp">runceel/MSGraphAPISampleApp</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2904b7d4e734" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to convert your library that is targeted WPF to .NET Core 3.0 from .NET Framework]]></title>
            <link>https://medium.com/@okazuki/how-to-convert-your-library-that-is-targeted-wpf-to-net-core-3-0-from-net-framework-93713e2ed31e?source=rss-4168005d9507------2</link>
            <guid isPermaLink="false">https://medium.com/p/93713e2ed31e</guid>
            <category><![CDATA[net-core]]></category>
            <category><![CDATA[wpf]]></category>
            <category><![CDATA[livet]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Kazuki Ota]]></dc:creator>
            <pubDate>Thu, 06 Dec 2018 08:26:23 GMT</pubDate>
            <atom:updated>2018-12-06T08:34:10.947Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to convert class library that is targeted WPF to .NET Core 3.0 from .NET Framework</h3><p>At Connect(); 2018, .NET Core 3.0 Preview 1 was released and to support WPF/WinForms announced.<br>I’ve been owned two libraries that are <a href="https://github.com/runceel/ReactiveProperty">ReactiveProperty </a>and <a href="https://github.com/ugaya40/Livet">Livet</a>. ReactiveProperty is targeted .NET Standard 2.0. .NET Standard 2.0 is available for .NET Core. However, Livet is targeted .NET Framework 4.5.2 or later. So, I have to convert it when I’ll use it on .NET Core 3.0. This article is working logs that I did.</p><p>Create a .NET Core 3.0 class library project that name is Livet.NetCore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sa2RuW0G2N3O03GBNR5Rxg.jpeg" /><figcaption>Create a .NET Core class library project</figcaption></figure><p>The project file that is generated is as below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f48d083c45a37cf3016e2f21304928cf/href">https://medium.com/media/f48d083c45a37cf3016e2f21304928cf/href</a></iframe><p>I changed the project file in order to support WPF. Changed the “Sdk” attribute at Project tag to Microsoft.NET.Sdk.WindowsDesktop, and then added “&lt;UseWPF&gt;true&lt;/UseWPF&gt;” to under the PropertyGroup tag.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/252a3055ddc7af146bc0fa2fdff56e3c/href">https://medium.com/media/252a3055ddc7af146bc0fa2fdff56e3c/href</a></iframe><p>After that, under the dependencies node of the project would change like below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*Hq24966gMaqqLRHc5CpleA.jpeg" /><figcaption>Added some dependencies in order to support WindowsDesktop</figcaption></figure><p>At Livet project, all of codes are in Shared project. So, I added reference to it on the Livet.NetCore project. If in your product there is no shared project, then at first you create a shared project, and then copy all code to there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*F-JGB_TMVt3qAd6YeAhg7Q.jpeg" /><figcaption>Select “Add Reference…”</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dFyyUzV8UFKjanMbq0M0lQ.jpeg" /><figcaption>Select the shred projects</figcaption></figure><p>After that, a lot of errors occurred.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*6XtPR2C3DYk2VdYorNsdaQ.jpeg" /><figcaption>Over 7,000 errors!?</figcaption></figure><p>The errors were by to depend the behavior feature. I had to add a reference that is “System.Windows.Interactivity.WPF” manually, using NuGet package manager.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4nC-XxvgkxRPUS34K8CHSg.jpeg" /><figcaption>Added the System.Windows.Interactivity.WPF package</figcaption></figure><p>All compile errors was fixed! However, the package is targeted .NET Framework 4.6.1. Below warning occurred.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H-RZT7oayqXavxC0FcQAoQ.jpeg" /><figcaption>New warning message</figcaption></figure><p>At “C:\Users\&lt;user name&gt;\.nuget\packages\system.windows.interactivity.wpf\2.0.20525\lib\net40”, I checked compatibility using Microsoft API Portability Analyzer with below command:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fe5e77fd9ba495f5e7d8fc0f7a6b89e4/href">https://medium.com/media/fe5e77fd9ba495f5e7d8fc0f7a6b89e4/href</a></iframe><p>On the report that is result of the command, there is green at .NET Core column.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nx36lxpxPvH7DC7xzRbK3g.jpeg" /></figure><p>I decided ignoring the warning. I added “NU1701” to NoWarn item of Properties window of System.Windows.Interactivity.WPF in order to ignore the warning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*jPd6M5Y5TQ3kTXbl5FX-pw.jpeg" /></figure><h3>Publish to NuGet</h3><p>Final step is that publish to NuGet. It is very easy. Fill information to Package tab of project properties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8j4SShelvSIlN0c-UJ7-g.jpeg" /></figure><p>And then, select publish menu of project’s context menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*1jobnnVWBc7pzraZpjkeSw.jpeg" /></figure><p>After completed the wizard, would be generated a nupkg file. then upload to nuget.org.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*keGOtbRPWebHNKWXBjHE-w.jpeg" /></figure><h3>Conclusion</h3><p>I converted the class library that is targeted .NET Framework to .NET Core 3.0. In this class library, it was very easy, however if your product depends Windows specific features(ex: XBAP, Windows service, COM, etc…), then I think you will have to need additional steps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93713e2ed31e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Desktop development for .NET Core 3.0 Preview 1]]></title>
            <link>https://medium.com/@okazuki/desktop-development-for-net-core-3-0-preview-1-10fa4d039378?source=rss-4168005d9507------2</link>
            <guid isPermaLink="false">https://medium.com/p/10fa4d039378</guid>
            <category><![CDATA[windows-forms]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[wpf]]></category>
            <category><![CDATA[net-core]]></category>
            <dc:creator><![CDATA[Kazuki Ota]]></dc:creator>
            <pubDate>Wed, 05 Dec 2018 05:52:45 GMT</pubDate>
            <atom:updated>2018-12-05T07:46:18.559Z</atom:updated>
            <content:encoded><![CDATA[<h3>Desktop development features of .NET Core 3.0 Preview 1</h3><p>At Connect(); 2018, Announced releasing .NET Core 3.0 Preview 1. In this release, it has very interesting features for Windows Desktop app developers.</p><h3>WPF and Windows Forms support</h3><p>In .NET Core 3.0 Preview 1, We can use WPF and Windows Forms. It is very easy. You just type below commands.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b2f7528f9dc0ee68d689c363f40b37df/href">https://medium.com/media/b2f7528f9dc0ee68d689c363f40b37df/href</a></iframe><p>or</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9aeba44154877a3eeb3de3f7fbb1a4b3/href">https://medium.com/media/9aeba44154877a3eeb3de3f7fbb1a4b3/href</a></iframe><p>The commands generate the project files. The below screenshots are opening the projects on Visual Studio 2019 Preview.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oy8lsGj3BJKqRTos7R0jfg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G9IIUpiQtFfLvqkW_M9yqQ.jpeg" /></figure><p>Designer feature isn’t yet. However, you can launch the apps and debug on VS 2019 Preview.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s9yeUiEwIFQS4D2t7j15kA.jpeg" /></figure><h3>Can use .NET Framework libraries?</h3><p>.NET Core 3.0 supports .NET Standard libraries. However, almost all WPF/WinForms apps depends libraries that are targeted .NET Framework, for example: Prism.</p><p>We can add the packages using NuGet package manager, however the below warning is occurred.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f0ltJCrBaBP0yvfG8AgIog.jpeg" /></figure><p>You can check the compatibility using .NET Portability Analyzer.</p><p><a href="https://docs.microsoft.com/en-us/dotnet/standard/analyzers/portability-analyzer">The .NET Portability Analyzer - .NET</a></p><p>You can download the CLI tools from below link(VS2019 doesn’t support the extension yet):</p><p><a href="https://github.com/Microsoft/dotnet-apiport/releases?id=42678">Microsoft/dotnet-apiport</a></p><p>And you can analyze compatibility by below command.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/467168046a0d0e355c6594a18c4a3d95/href">https://medium.com/media/467168046a0d0e355c6594a18c4a3d95/href</a></iframe><p>The report is as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Jwa1_zo4Vm3FlWt6jxuoQ.jpeg" /></figure><p>You can check compatibility, and then you can ignore the warnings on the properties window of Visual Studio 2019 as your discretion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*V5L-0rjSlcezwKeWvs2zSA.jpeg" /></figure><h3>Conclusion</h3><p>.NET Core 3.0 is preview status yet. However, you can try it now. You can evaluate your WPF/WinForms apps on .NET Core 3.0.</p><p>.NET Core 3.0 is high performance than .NET Framework. And you can use self-contained deployment feature that is include runtime to your deployment package.(It means that .NET Core 3.0 doesn’t need on deployment target machine.)</p><p><a href="https://docs.microsoft.com/en-us/dotnet/core/deploying/">Application publishing - .NET</a></p><p>Have a fun programming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10fa4d039378" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implement an input form which has validation feature using ReactiveProperty]]></title>
            <link>https://medium.com/@okazuki/implement-an-input-form-which-has-validation-feature-using-reactiveproperty-4710b4e17943?source=rss-4168005d9507------2</link>
            <guid isPermaLink="false">https://medium.com/p/4710b4e17943</guid>
            <category><![CDATA[reactive-programming]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[reactiveproperty]]></category>
            <category><![CDATA[wpf]]></category>
            <dc:creator><![CDATA[Kazuki Ota]]></dc:creator>
            <pubDate>Fri, 22 Jun 2018 01:55:41 GMT</pubDate>
            <atom:updated>2018-06-22T01:58:05.370Z</atom:updated>
            <content:encoded><![CDATA[<p>We have often created an input form which has validation feature. In general case, it has below features. If values which are inputted have something errors, then feedback to user.</p><ul><li>Aggregate error messages then display to user as list.</li><li>In the initial state, even if there is an error in the input, feedback will not be display to user. But when a submit button clicked, then feedback to user.</li></ul><h3>Create a project</h3><p>Create a WPF project, then add ReactiveProperty to the project from NuGet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*v_GY6mWVzjJDQPyZEV9pCg.png" /></figure><h3>Implement a ViewModel class</h3><p>Implement a ViewModel class using <a href="https://runceel.github.io/ReactiveProperty/features/ReactiveProperty/#validation">ReactiveProperty validation feature</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6724a2cad8375651e7b5efb3b324c7ed/href">https://medium.com/media/6724a2cad8375651e7b5efb3b324c7ed/href</a></iframe><p>Important point is mode argument of ReactiveProperty constructor. When this flag was set, ReactiveProperty class would ignore an initial validation error.</p><p>Then bind to MainWindow.xaml.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c7f65c363458e6cea86a8274c89281c9/href">https://medium.com/media/c7f65c363458e6cea86a8274c89281c9/href</a></iframe><p>The result of executing is as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*sRWtKsTJ5Eb98M__Qo0c9g.gif" /></figure><h3>Add display error list feature.</h3><p>How to collect error information from all ReactiveProperty? It is very simple powered by Reactive Extensions. We can define following extension method.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d9b81ec02b66c92f1991a681438578ad/href">https://medium.com/media/d9b81ec02b66c92f1991a681438578ad/href</a></iframe><p>In this extension method, collect all error information using Rx. We can add error list feature like as below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c256bc91a3be326f84af242005ca93be/href">https://medium.com/media/c256bc91a3be326f84af242005ca93be/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/30591974bd53aec5a8abb82febb1ac5e/href">https://medium.com/media/30591974bd53aec5a8abb82febb1ac5e/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*EEy-ic8BdDANk3rUJIDpxw.gif" /></figure><h3>When lost focus or the submit button is clicked How to call ForceValidate</h3><p>It doesn’t depends ReactiveProperty. It is very simple! You just call ForceValidate method of ReactiveProperty when you need. In WPF, you can use behaviors which are EventTrigger and CallMethodAction.(When use those behaviors you have to add two reference that name is System.Windows.Interactiviety and Micrsoft.Expression.Interaction.)</p><p>Of course you can call those methods in C# code. You can choice the best way depends your situation.</p><p>In XAML case, the code is as below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a7325843522997cccf60e55b14e2198/href">https://medium.com/media/2a7325843522997cccf60e55b14e2198/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*ugtjalBL2ZXbaAhA3LbVWg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*YvD-k8guFXgdfBD3Ru_B-A.gif" /></figure><h3>Conclusion</h3><p>ReactiveProperty is very powerful library for combination between MVVM and Reactive Programming. If you feel interesting this library, please access to <a href="https://github.com/runceel/ReactiveProperty">this project site</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4710b4e17943" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[技術 blog を書きためるためのサービスまとめ]]></title>
            <link>https://medium.com/@okazuki/%E6%8A%80%E8%A1%93-blog-%E3%82%92%E6%9B%B8%E3%81%8D%E3%81%9F%E3%82%81%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E3%82%B5%E3%83%BC%E3%83%92%E3%82%99%E3%82%B9%E3%81%BE%E3%81%A8%E3%82%81-aa35be94e0c2?source=rss-4168005d9507------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa35be94e0c2</guid>
            <category><![CDATA[blog]]></category>
            <dc:creator><![CDATA[Kazuki Ota]]></dc:creator>
            <pubDate>Mon, 11 Sep 2017 05:33:49 GMT</pubDate>
            <atom:updated>2017-09-11T05:33:49.331Z</atom:updated>
            <content:encoded><![CDATA[<h3>blog の引っ越しを考えてるのだけど何処がいいんだろう？</h3><p>さて、私が blog を書き始めた頃はどの blog サービスがデファクトだ！！というのは意識していませんでした。</p><p>わんくま同盟というコミュニティで blog を作ってもらえるということで申し込んで作ってもらったのが私の blog 人生のはじまりになります。その後、hatena ダイアリーに移動して、hatena blog といった感じで流れて来ました。ということで基本的に世間一般で言われる blog サービスというものは hatena さんが運営するもの以外触ったことのがありません。</p><h4>Hatena blog（現在の巣）</h4><p>可もなく不可もなく。触っていて不満を感じることはありません。 最近のアップデートで何故か自分の記事に対して bookmark をはるためのショートカットが blog 記事投稿後に表示されたりと謎の進化を遂げている点と、https 対応がまだいつリリースされるのかわからないという点が気になります。</p><p>個人的に以下の点が気に入っています。</p><ul><li>markdown が使える</li><li>なんだかんだいって規模はあるよね</li><li>プログラムのコードのシンタックスハイライトもあるので good</li><li>pro になると（課金すると）独自ドメインを割り当てたりできる</li><li>blog 書きに専念できる（プラットフォームのアップデートとか気にしなくてもいい）</li></ul><p>気になってる点は以下です</p><ul><li>引っ越しって簡単にできないんじゃなかろうか</li><li>画像まで含めて綺麗に引っ越しできるの？</li><li>https …</li><li>最近のイケてるプラットフォームだという認識はない</li><li>日本に閉じてる</li><li>あっ、私英語できないので別に困ってはないんですけどね</li></ul><p>最近、使用者目線から見てイケイケな雰囲気を感じないのが気になってます。世間的にはそういうことはないのかな？気になる。</p><h4>Qiita</h4><p>コンセプトがそもそもプログラマのための技術情報共有サービスという点という時点で心強いです。個人的な印象でしかないですが、最近の若い人は、だいたい Qiita なのでは？と思ってしまうくらい色々なところで見かけます。</p><p><a href="http://qiita.com/">Qiita</a></p><p>記事の記述も markdown でいけるのでとてもいい感じだと思います。個人的に今プログラミング関連の blog をはじめるのだったらここなのだろうか？という雰囲気を感じてます。</p><p>シンタックスハイライトもあっていい感じですね。</p><h4>medium</h4><p>Qiita の他にもう1つ気になってるのが medium です。</p><p><a href="https://medium.com/">medium</a></p><p>最近、ちらほら medium で blog 書いてる人を見かけます。なので気になったから調べて見たら、こういう記事も見つけてしまって「ん？」となっているところではあります。</p><p><a href="http://jp.techcrunch.com/2017/02/21/medium-japan-stops-operation/">Mediumがビジネス立て直しのため、日本でのオペレーションを終了</a></p><p>ただ、最近 Windows 10 Mobile を個人的にメイン機として使うのをやめようと思って iOS, Android に引っ越ししつつ iPad Pro(第1世代の小さいほう）を手に入れて何を思ったか<strong>開発環境</strong>を構築しようとして、色々頑張った(諦めました)ときにテキストエディタを探し回ったのですが Qiita や hatena は対応してるようなエディタは有名どころであまり見ない気がしたのですが medium はチラホラ見かけたような気がします。結局最終的に iA Writer を買ったのですが、こちらは medium への投稿機能があるんですよね。</p><p>ワールドワイドというか英語圏のサービスは、こういう世界的に有名なアプリでサポートされてたりするあたりが強いなぁと思いました。</p><p>ただ、組み込みでのシンタックスハイライトは対応していないみたいなので、そこらへんちょっとがっかりしました。gist とかの URL 貼ればいい感じにしてくれるみたいですが、餅は餅屋という発想なんですかね。</p><p><a href="https://medium.freecodecamp.org/how-to-add-code-to-medium-and-get-syntax-highlighting-d699761a5883">How to display code blocks in Medium</a></p><h4>自前の wordpress</h4><p>個人的には一番無いなと思ってる選択肢です。 ただ、ガチでセルフブランディングを考えてて他の人と差別化した blog サイトを作ることが目的の人には合致するんだろうなと思います。</p><p>私が blog を書く目的は</p><ul><li>自分用の備忘録</li><li>他の人が同じことで困ってたときの助けになればいいな</li></ul><p>というくらいなので、あまり blog のメンテナンス作業に時間を割かれるのは好きじゃ無いとうことなので wordpress を自分で建てたときに発生する wordpress のバージョンアップだとかサーバーのお守りだとか（Microsoft Azure App Serviceに立てればサーバーのお守りはしなくていいけど）そういう類のものに時間を割きたく無い！！</p><h4>まとめ</h4><p>結局どこに行くのがいいんだろうか？？ という記事を試しに hatena blog, qiita, medium に投稿して使い勝手を試してみようと思ったのですが qiita はポエムを置く場所ではないということを思い出したので hatena blog と medium に書いて置くのでした。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa35be94e0c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>