<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Frank Sun Blog</title>
    <description>Hello, I&apos;m Frank. Welcome to my website. There mainly record my encountered problems and study things. If you have any problems or question, you can discuss under the article. 你好，我是 Frank Sun 孫景承 歡迎來到我的網站。 這裡主要是記錄我遇到的問題和我學習過的東西。 如果您有任何問題或疑問，可以在文章下方留言討論。</description>
    <link>https://frank198978104.github.io/</link>
    <atom:link href="https://frank198978104.github.io/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Mon, 17 Feb 2025 20:47:06 +0000</pubDate>
    <lastBuildDate>Mon, 17 Feb 2025 20:47:06 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title>Asp.Net MVC anti-forgery token problem：nameidentifier or identityprovider not present</title>
        <description>　　　　當使用ClaimsIdentity的時候，Asp.Net MVC在生成AntiForgeryToken的時候會默認使用User.Identity中兩種ClaimsType的值：NameIdentifier (http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier)和IdentityProvider (http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider)。如果我們使用的STS（[Security Token Service](https://en.wikipedia.org/wiki/Security_token_service)）沒有提供兩種ClaimsType的值，那麼MVC就會報AntiForgeryToken生成失敗的錯誤。</description>
        <pubDate>Wed, 21 Mar 2018 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2018/03/21/asp-dotnet-mvc-anti-forgery-token-problem/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2018/03/21/asp-dotnet-mvc-anti-forgery-token-problem/</guid>
        
        <category>Csharp</category>
        
        <category>MVC</category>
        
        <category>Code</category>
        
        <category>筆記</category>
        
        
        <category>Code</category>
        
      </item>
    
      <item>
        <title>ASP.Net 線上人數</title>
        <description>　　即時統計在線人數。</description>
        <pubDate>Tue, 20 Mar 2018 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2018/03/20/asp-dotnet-mvc-online-users/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2018/03/20/asp-dotnet-mvc-online-users/</guid>
        
        <category>Csharp</category>
        
        <category>MVC</category>
        
        <category>Code</category>
        
        <category>筆記</category>
        
        
        <category>Code</category>
        
      </item>
    
      <item>
        <title>Get Display Name</title>
        <description>　　提供兩種需要取得 Display Name 情況的方式。</description>
        <pubDate>Fri, 23 Feb 2018 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2018/02/23/get-display-name/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2018/02/23/get-display-name/</guid>
        
        <category>Csharp</category>
        
        <category>MVC</category>
        
        <category>Code</category>
        
        <category>筆記</category>
        
        
        <category>Code</category>
        
      </item>
    
      <item>
        <title>Google Map 定位</title>
        <description>　　這個很單純就是可以利用 Google Map 去定位出你當前的位置，但前題是你的網站要是安全的瀏覽環境，所以你的協定必須為 &lt;b&gt;HTTPS&lt;/b&gt;，如果迫切很需要可以到 SSL For Free 去申請免費憑證，一次可以使用 3 個月。</description>
        <pubDate>Fri, 01 Dec 2017 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2017/12/01/google-map-geolocation/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2017/12/01/google-map-geolocation/</guid>
        
        <category>JavaScript</category>
        
        <category>Code</category>
        
        <category>GoogleMap</category>
        
        <category>筆記</category>
        
        
        <category>Code</category>
        
      </item>
    
      <item>
        <title>JavaScript 判斷瀏覽器本及作業系統</title>
        <description>　　判斷瀏覽器和作業系統也是很常碰到的問題，以下的 Code 可以直接打包成 .js 檔做使用。</description>
        <pubDate>Thu, 30 Nov 2017 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2017/11/30/browser-and-os-detect/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2017/11/30/browser-and-os-detect/</guid>
        
        <category>JavaScript</category>
        
        <category>Code</category>
        
        <category>筆記</category>
        
        
        <category>Code</category>
        
      </item>
    
      <item>
        <title>身分證字號及統一編號驗證</title>
        <description>　　中華民國身分證字號及統一編號驗證，常常用到，規則不會變，所以可以直接當工具使用了，提供 C# 及 JavaScript 作法。</description>
        <pubDate>Fri, 22 Sep 2017 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2017/09/22/idcard-and-tax-id-number-rules-for-taiwan/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2017/09/22/idcard-and-tax-id-number-rules-for-taiwan/</guid>
        
        <category>Csharp</category>
        
        <category>JavaScript</category>
        
        <category>Code</category>
        
        <category>筆記</category>
        
        
        <category>Code</category>
        
      </item>
    
      <item>
        <title>SQL Server Express 自動備份</title>
        <description>&lt;center itemprop=&quot;image&quot; itemscope itemtype=&quot;http://schema.org/ImageObject&quot;&gt;&lt;img itemprop=&quot;image url height width&quot; src=&quot;\images\2017-09-21-sql-server-express-back-up\2017-09-21-sql-server-express-back-up-image1.jpg&quot; alt=&quot;URL Rewrite&quot; title=&quot;URL Rewrite&quot;/&gt;&lt;/center&gt;&lt;br/&gt;　　最近碰到設定 SQL Server 排程備份的問題，我們一般知道在「管理」下的「維護計畫」使用維護計畫精靈去設定，但如果很可惜的你是 Express 那就需要其他的方法來輔助備份了。</description>
        <pubDate>Thu, 21 Sep 2017 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2017/09/21/sql-server-express-back-up/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2017/09/21/sql-server-express-back-up/</guid>
        
        <category>SQL</category>
        
        <category>SQL_Server</category>
        
        <category>Windows</category>
        
        <category>筆記</category>
        
        
        <category>SQL_Server</category>
        
      </item>
    
      <item>
        <title>Bash on Windows</title>
        <description>&lt;center itemprop=&quot;image&quot; itemscope itemtype=&quot;http://schema.org/ImageObject&quot;&gt;&lt;img itemprop=&quot;image url height width&quot; width=&quot;500&quot; src=&quot;\images\2017-09-09-bash-in-windows\2017-09-09-bash-in-windows-image1.jpg&quot; alt=&quot;Bash coming to Windows&quot; title=&quot;Bash coming to Windows&quot;/&gt;&lt;/center&gt;&lt;br/&gt;　　在第一篇文章中，我們有提到 Bash 下安裝 jekyll ，那我在這裡把這部分再詳細的介紹一次。</description>
        <pubDate>Sat, 09 Sep 2017 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2017/09/09/bash-in-windows/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2017/09/09/bash-in-windows/</guid>
        
        <category>Windows</category>
        
        <category>Jekyll</category>
        
        <category>教學</category>
        
        
        <category>Windows</category>
        
      </item>
    
      <item>
        <title>將 Jekyll 部屬到 Azure</title>
        <description>&lt;center itemprop=&quot;image&quot; itemscope itemtype=&quot;http://schema.org/ImageObject&quot;&gt;&lt;img itemprop=&quot;image url height width&quot; src=&quot;\images\2017-08-25-jekyll-on-azure\2017-08-25-jekyll-on-azure-image0.jpg&quot; alt=&quot;Jekyll And Azure Logo&quot; title=&quot;Jekyll And Azure Logo&quot;/&gt;&lt;/center&gt;&lt;br/&gt;　　在第一篇我們提到如何在 GitHub 上使用 jekyll 架部落格：在 GitHub 上使用 Jekyll 建立自己的部落格&lt;br/&gt;這一次有朋友提議說要不要架在 Azure 看看呢? 因為 Azure 上也可以免費架設，經過小小的了解之後我來教大家怎麼在 Azure 上架設 jekyll 吧。</description>
        <pubDate>Fri, 25 Aug 2017 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2017/08/25/jekyll-on-azure/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2017/08/25/jekyll-on-azure/</guid>
        
        <category>Jekyll</category>
        
        <category>網站</category>
        
        <category>部落格</category>
        
        <category>教學</category>
        
        <category>Azure</category>
        
        
        <category>Jekyll</category>
        
      </item>
    
      <item>
        <title>IIS 8 - HTTP to HTTPS</title>
        <description>&lt;center itemprop=&quot;image&quot; itemscope itemtype=&quot;http://schema.org/ImageObject&quot;&gt;&lt;img itemprop=&quot;image url height width&quot; width=&quot;200&quot; src=&quot;\images\2017-08-23-URL-Rewrite\2017-08-23-URL-Rewrite-image1.jpg&quot; alt=&quot;URL Rewrite&quot; title=&quot;URL Rewrite&quot;/&gt;&lt;/center&gt;&lt;br/&gt;　　在做重新導向之前必須先安裝 URL Rewrite，安裝好後 rewrite 標籤才會有作用，完整的安裝的方式在 IIS 內操作 URL Rewrite 影片前段可以參考。</description>
        <pubDate>Wed, 23 Aug 2017 00:00:00 +0000</pubDate>
        <link>https://frank198978104.github.io/2017/08/23/url-rewrite/</link>
        <guid isPermaLink="true">https://frank198978104.github.io/2017/08/23/url-rewrite/</guid>
        
        <category>IIS</category>
        
        <category>網站</category>
        
        <category>http</category>
        
        <category>https</category>
        
        <category>Windows</category>
        
        <category>URL_Rewrite</category>
        
        <category>筆記</category>
        
        
        <category>IIS</category>
        
      </item>
    
  </channel>
</rss>
