2018-11-11から1日間の記事一覧
アナリティクスでいろいろ分析するにはExcelとかに落として作業 したいところですが手間がかかる。Googleスプレッドシートでアナリティクスのアドインいれると 簡単にデータを展開できるようになる。 ネタ元 https://tonari-it.com/google-analytics-spreads…
string filename = Path.GetFileName(sourceFilePath); ネタ元 http://www.atmarkit.co.jp/ait/articles/0405/28/news083.html
ログ出し用に使えますね。.Net4.5から用っぽい public void Debug(string mess, [System.Runtime.CompilerServices.CallerMemberName] string memberName = "", [System.Runtime.CompilerServices.CallerFilePath] string sourceFilePath = "", [System.Runt…
設定ファイルを別途置かないやり方。AssemblyInfo.cs に追記 // read Log4Net Configuration file [assembly: log4net.Config.XmlConfigurator(Watch = true)]App.Configに以下追記 <configuration> ... <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> ... </configuration>