2015-01-01ãã1å¹´éã®è¨äºä¸è¦§
â ã·ã§ã«ã/ã¢ã³ã·ã§ã«ãã«ã¤ã㦠ã·ã§ã«ãï¼ä¸æå ±æï¼ * æ¥æ¬èªè¨³ã ã¨ãæ£ä¸ã * ãã¼ã«ã«ã®å¤æ´ããµã¼ãã«ä¿å => ãã ããææ°ã®ãã¼ã¸ã§ã³ãåå¾ãã¦ãåæ ããã¾ãã ãæé ã * å³ã¯ãªãã¯ãã[ã½ã¼ã¹ç®¡ç]-[ä¿çä¸ã®å¤æ´ãã·ã§ã«ã]ãé¸æ ã¢ã³ã·ã§â¦
â åºæ¬æ§æ [1-0] æ§æï¼åèç¨åº¦ã§ï¼ jQuery(ã»ã¬ã¯ã¿ã¼).ã¤ãã³ã(function () { // å¦çå 容 } * ã»ã¬ã¯ã¿ã¼ : æä½ããè¦ç´ ãæå®ãã(å¾è¿°ãâ ã»ã¬ã¯ã¿ã¼ã«ã¤ãã¦ãåç §) * ã¤ãã³ã : æä½ã¿ã¤ãã³ã°(clickãdblclickãmousedownãmouseupãmouseoverãmâ¦
â Htmlãã«ãã¼ ãã©ã¼ã çæ `#`ã¡ã½ããå説æ 1Html.BeginFormã¡ã½ãããã©ã¼ã ãçæãã 2Html.BeginRouteFormã¡ã½ããã«ã¼ãå®ç¾©ã«åºã¥ãã¦ãã©ã¼ã ãçæãã 表示系(Readonly) `#`ã¡ã½ããå説æ 1Html.LabelForã¡ã½ããã©ãã«ãçæãã 2Html.Dispâ¦
â ããã¹ãåã³è¡¨ç¾ `# `å±æ§ 説æ 01 visible è¦ç´ ã®è¡¨ç¤ºã¨é表示ãåãæ¿ãã 02 text è¦ç´ ã®å 容ãè¨å®ã§ãã 03 html è¨å®å¤ã«ãããè¦ç´ ã®åãè¨å®ã§ãã 04 css CSSãè¨å®ã§ãã 05 style styleå¤ã追å ã§ãã 06 attr å±æ§å¤ãè¨å®ã§ãã é¢é£è¨äº viâ¦
ã¯ããã« http://miso-soup3.hateblo.jp/entry/2013/07/18/141908 ãåèã«ãã»ã¬ã¯ãããã¯ã¹å士ãé£åãããµã¤ãããVB.NETã§ä½ã£ã¦ã¿ã ãµã³ãã« * å½ãé¸ãã ããä¼ç¤¾ãªã¹ããåºã¦ãããã®ãä½ã ã¢ãã« * CompanyModel.vb Namespace Models Public Claâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/35660898.html ã§ç°å¢æ§ç¯ãç°¡åãªãµã³ãã«ãä½æããã ä»åº¦ã¯ãModelãå ãã¦ä¸é£ã®åããããã·ã³ãã«ãªãµã³ãã«ãä½æãã¦ã¿ãã ãµã³ãã« * ã©ã¸ãªãã¿ã³ã«å¾ãããµã¼ããããã¼ã¿ãajaxã§åå¾ãã¦ããªã¹ãâ¦
ã¯ããã« * Web Storage ã使ç¨ãã¦ãï¼ä»ã®ã¨ããIEã®ã¿ã§ï¼ã¯ã¾ã£ãç¹ãã¡ã¢ã£ã¨ãã IEã§ã®æ³¨æç¹ â localStorageãªãã¸ã§ã¯ãã nullã«ãªãè¦å ä»ã«ããããããããªãã [1] Web Storageã®ãµãã¼ããã¼ã¸ã§ã³å¤ã§ãã [2] IEã®ã¤ã³ã¿ã¼ããããªãã·ã§â¦
ã¯ããã« * 以ä¸ã®é¢é£è¨äºã®ç¶ããä»åã¯ããã使ãåºæ¬çãªäºé ãã¾ã¨ããã http://blogs.yahoo.co.jp/dk521123/35664953.html â 表示/é表示 * visible (if) / checked ãä½¿ç¨ ãµã³ãã« http://kojs.sukobuto.com/docs/if-binding http://tech.aainc.co.jâ¦
Knockoutï¼ããã¯ã¢ã¦ãï¼ã¨ã¯ï¼ * Model-View-ViewModelï¼MVVMï¼ãã¿ã¼ã³ããµãã¼ãããã©ã¤ãã©ãª ä½ãã§ãã? * åæ¹åãã¤ã³ãã£ã³ã° ç°å¢æ§ç¯ [1] 以ä¸ã®ãµã¤ãããJSããã¦ã³ãã¼ããã or CDN(Content Delivery Networks)ç¨ã®URL(http://ajax.aspnetcâ¦
åæ * 以ä¸ã®Javascriptãå¿ è¦ã + knockout.-x.x.x.js => ãªãã£ããã以ä¸ã®ç°å¢è¨å®ãè¡ã â» knockout.jsã«ã¤ãã¦ã以ä¸ã®é¢é£è¨äºãåç §ã®ãã¨ã http://blogs.yahoo.co.jp/dk521123/35664953.html æºåï¼ç°å¢è¨å® http://blogs.yahoo.co.jp/dk521123/3â¦
â ã¯ããã« SQL ã® ãµãã¯ã¨ãª ã«ã¤ãã¦ãã¡ã¢ã ç®æ¬¡ ãï¼ãå¯ååãï¼ãµãã¯ã¨ãªï¼ã¨ã¯ï¼ ãï¼ã使ãã©ãã ãï¼ã使ç¨ä¾ ä¾ï¼ï¼ ãææ°æ¥ä»ãã¼ã¿ãã®åå¾ ãï¼ãå¯ååãï¼ãµãã¯ã¨ãªï¼ã¨ã¯ï¼ * SELECTæãå ¥ãåã«ãã¦è¨è¿°ããæ§æ => SELECTæä¸ã®SELEâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/35649554.html ã®ãµã³ãã«ã極åå ±éåããã ãµã³ãã« ãããã¹ãããã¯ã¹ããã©ã¸ãªãã¿ã³ããã»ã¬ã¯ãããã¯ã¹ããã»ã¬ã¯ãããã¯ã¹(è¤æ°)ãããã§ãã¯ããã¯ã¹ããä¿åãã <html> <head> <meta charset='UTF-8'> <script src="">http://code.jquery.com/jque</meta></head></html>â¦
â ã¯ããã« http://blogs.yahoo.co.jp/dk521123/22569878.html ã§æ±ã£ãæ¡å¼µã¡ã½ããã¯ãVB.NETã§ãæ¸ããã®ã§ã¡ã¢ã â 注æ http://www.atmarkit.co.jp/fdotnet/bookpreview/kisokaravb_1102/kisokaravb_1102_01.html ããæç² * æ¡å¼µã¡ã½ããã¯ã¢ã¸ã¥ã¼ã«â¦
â ã¯ããã« ã¯ã©ã¤ã¢ã³ãå´ã«ãã¼ã¿ãä¿åãããå ´åãã¯ããã¼ããã ãããã以ä¸ã®é¢é£è¨äº http://blogs.yahoo.co.jp/dk521123/28437833.html ã§æ¸ããããã«ã容éãå°ãªãã ï½ï½ï½ï½ * Cookie ã®æå¹ã»ç¡å¹ã®è¨å®ã¯ãã©ã¦ã¶ã§è¡ããã¨ãã§ãã * ãã©â¦
ã¯ããã« http://dobon.net/vb/dotnet/vb2cs/vb2cstable.html ãå©ããã¾ãã â abstract * "MustInherit" "Overrides" ã§å®è£ ãµã³ãã« Public MustInherit Class BaseChartModel Public Overrides Sub Xxxx() â interface * "Implements" ã§å®è£ ãµã³ãã« â¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/35626537.html ã§ã¯ãAjaxã§ãã£ãããã³ã³ããã¼ã©å´ã§ããæ¹æ³ãè¨è¼ãã http://note.chiebukuro.yahoo.co.jp/detail/n159238 ãåèã«ãªã£ãã ãµã³ãã« http://blogs.yahoo.co.jp/dk521123/35514061.html â¦
â ç®ç * CSRFï¼Cross-Site Request Forgeriesï¼ã¯ãã¹ãµã¤ãã»ãªã¯ã¨ã¹ãã»ãã©ã¼ã¸ã§ãª;ãªã¯ã¨ã¹ãå¼·è¦ï¼æ»æã é²ãããã«ä½¿ç¨ CSRFã®è©³ç´°ã«ã¤ãã¦ã以ä¸ã®é¢é£è¨äºãåç §ã®ãã¨ã http://blogs.yahoo.co.jp/dk521123/35715431.html â 使ç¨æ¹æ³ [1] 対象ã¨â¦
ãµã³ãã« Public Class SampleTuple Shared Sub Main() Dim tuple1 = Tuple.Create("Mike", 42, Date.Now) Console.WriteLine(tuple1.Item1) Console.WriteLine(tuple1.Item2) Console.WriteLine(tuple1.Item3) Dim tuple2 As Tuple(Of String, Integer, Datâ¦
â ã¯ããã« * ASP.NET MVC ã§ãã©ã¦ã¶è¡¨ç¤ºãããã¨ãããã以ä¸ã®ã¨ã©ã¼å 容ã表示ããã¦ãã¾ã£ã ã¨ã©ã¼å 容 '/' ã¢ããªã±ã¼ã·ã§ã³ã§ãµã¼ãã¼ ã¨ã©ã¼ãçºçãã¾ããã å 'ASP._Page__ViewStart_vbhtml' 㯠'System.Web.WebPages.StartPage' ããç¶æ¿ãã¾ãâ¦
â ã¯ããã« JavaScriptã®ã¯ã©ã¹ã«ã¤ãã¦ãã¡ã¢ã â JavaScriptã®ã¯ã©ã¹å®ç¾©ã®æ¹æ³ * 以ä¸ã®2éã ~~~~~~ å®è£ æ¹æ³ï¼ï¼ class ã§ã¯ã©ã¹å®ç¾©ãå®ç¾ãã å®è£ æ¹æ³ï¼ï¼function ã§ã¯ã©ã¹å®ç¾©ãå®ç¾ãã ~~~~~~ å®è£ æ¹æ³ï¼ï¼ class ã§ã¯ã©ã¹å®ç¾©ãå®ç¾ãã * ES20â¦
ãï¼ãæ§æ var Xxxx = { Aaaa: 0, Bbbb: 1, Cccc: 2, // ... }; ãï¼ããµã³ãã« <html> <head> <meta charset="UTF-8"> <title>Sample</title> </head> <body> <div id="result"></div> </body> <script type="text/javascript" charset="UTF-8"> var ControlType = { None: 0, Textbox: 1, RadioButton: 2, Selectboxâ¦</html>
Razor / VB.NET ã§ã JavaScriptã®æç» ããµã¼ãå´ã§åãæ¿ããã«ã¯... * Razor / VB.NET ã§ã ãã¥ã¼ã«è¨è¼ãã¦ããJavaScriptããµã¼ãå´ã§åçã«åãæ¿ããæ¹æ³ãè¨è¼ããã 解決ç * æ¹æ³ã¯2ã¤ãããï¼å人çã«ã¯ãã解決ç2ï¼@<text>ãã§ããã¨æãï¼ * 解決ç</text>â¦
ãµã³ãã« * Ajaxéä¿¡ã使ã ã¢ãã« * ChartModel.vb Public Class ChartModel Public Property XValues As Object() Public Property YValues As Object() End Class ã³ã³ããã¼ã© * ChartController.vb Imports System.Web.Mvc Namespace Controllers Publiâ¦
ãµã³ãã« <html> <body> <div id="resultMessage"></div> <script type="text/javascript"> var sayHello = function(id, message){ document.getElementById(id).innerText = message; }; function callingMethod(callbackMethod, id, message){ callbackMethod(id, message); }; callingMethod(sayHello, 'reâ¦</body></html>
ã¯ããã« * JavaScriptã«ããã¦ãæååãããBoolean ã«å¤æããéã«ãnew Boolean(ãæååã)ã§å¤æãã¦ããã ãã ã以ä¸ã®ã±ã¼ã¹ã§æå³ããåãã«ãªããªãã£ãã®ã§ãã¡ã¢ã (å人çã«)æå³ããåãã«ãªããªãã£ãã±ã¼ã¹ var boolValue = new Boolean("fâ¦
â é å(Array) ãµã³ãã« <html lang="jp"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Hello, world!</title> </head> <div id="result1"></div> <div id="result2"></div> <body> </body></html>
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/35578725.html ã§ãASP.NET MVC ã«ããã¦ã Ajax ã§ããåããããã¨ãåãä¸ããã ä»ã«ããã£ãã®ã§ãã¡ã¢ã£ã¨ãã åæ * 以ä¸ã®Javascriptãå¿ è¦ã + jquery.unobtrusive-ajax.js + MicrosoftAjax.js + Micrâ¦
ã¯ããã« ãããããã¦ã³ãªã¹ãã® optgroup ãèãã ã¾ããå®è£ ããASP.NET MVCã®ãã¼ã¸ã§ã³ã«ãã£ã¦ç°ãªãã * ASP.NET MVC 5.2ä»¥ä¸ : SelectListGroupãå©ç¨ http://qiita.com/rryu/items/0fdfde55a62a44f0add0 http://www.buildinsider.net/web/bookaspmâ¦
â Ajaxç¹æã®ãªã¹ã¯ * Ajaxç¹æã®ãªã¹ã¯ãèããã http://www.websec-room.com/2013/07/28/876 http://d.hatena.ne.jp/ockeghem/20110907/p1 ãåèã«ãªã ã1ãXSS 1-1) å¯¾å¿ (1) ãX-Requested-With: XMLHttpRequestã ã®ãããªã¯ã¨ã¹ãã®ã¿ã許å¯ãã =>â¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/35596847.html ã® [2] ãæ±ã # [2] è¤æ°ããããã£ãã¾ããã£ãæ¤è¨¼ãè¡ã ãã¤ã³ã => IValidatableObject ã¤ã³ã¿ã¼ãã§ã¼ã¹ãç¶æ¿ãããã¨ã«ãããè¤æ°ããããã£ãã¾ããã£ãæ¤è¨¼ãå®è£ ãã ï¼IValidatableOâ¦