#jS

JSON.stringify()

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringifyTheJSON.stringify()methodconvertsaJavaScriptvaluetoaJSONstring,op...
代码星球 代码星球·2021-02-08

压缩css和js

https://www.codeproject.com/script/articles/articleversion.aspx?aid=1019659&av=2163976&msg=5111300https://github.com/sheshbabu/PowerShell-Minify ...
代码星球 代码星球·2021-02-08

js的类库

prototype.jshttps://github.com/sstephenson/prototype momentjshttps://github.com/moment/moment three.jshttps://github.com/mrdoob/three.js/ Select2...
代码星球 代码星球·2021-02-08

安装Node.js 以及命令行使用

安装完成之后,会自动添加到环境变量中  PSC:UserscluDesktop>node--versionv10.2.1 ...

如何调试Node.js

https://nodejs.org/en/docs/guides/debugging-getting-started/1.PSC:UserscluDocumentsNodeAppTest>node--inspect.app.jsDebuggerlisteningonws://127.0.0.1:9229/34c...
代码星球 代码星球·2021-02-08

在vs2017中创建Node.js项目

https://github.com/Microsoft/nodejstools/wiki/Projects1.安装vs2017的时候,需要勾选Node.js2.新建项目的时候,选择其他语言,然后JavaScript,Node.js ...
代码星球 代码星球·2021-02-08

JSON and XML Serialization in ASP.NET Web API

https://docs.microsoft.com/en-us/aspnet/web-api/overview/formats-and-model-binding/json-and-xml-serializationJSONformattingisprovidedbytheJsonMediaTypeFormatter...

JSON Web Token in ASP.NET Web API 2 using Owin

http://bitoftech.net/2014/10/27/json-web-token-asp-net-web-api-2-jwt-owin-authorization-server/Inthepreviouspost DecoupleOWINAuthorizationServerfromResourc...
代码星球 代码星球·2021-02-08

Implement JSON Web Tokens Authentication in ASP.NET Web API and Identity 2.1 Part 3 (by TAISEER)

http://bitoftech.net/2015/02/16/implement-oauth-json-web-tokens-authentication-in-asp-net-web-api-and-identity-2/CurrentlyourAPIdoesn’tsupportauthenticati...

DataContract with Json.Net

https://www.newtonsoft.com/json/help/html/DataContractAndDataMember.htm如果class使用了DataContract,name没有使用DataMember的property就不解析[DataContract]publicclassFile{//exc...
代码星球 代码星球·2021-02-08

custom serializer for just one property in Json.NET

字段类定义如下publicclassField{publicboolIsEncrypted{get;set;}publicstringName{get;set;}publicObjectValue{get;set;}}需要序列化User类publicclassUser{publicFieldUserName{get;s...

Newtonsoft.Json源码的solution打开之后,无法加载project

https://github.com/JamesNK/Newtonsoft.JsonC:epositoryGitHubOtherNewtonsoft.JsonSrcNewtonsoft.JsonNewtonsoft.Json.csproj:error:Theprojectfilecannotbeopenedbythep...

Json ignore on class level

Everycustomtypecanopthowitwillbeserialized.Toexample,markthetypewith[JsonObject(MemberSerialization=MemberSerialization.OptIn)]andthenyouhavetomarksomethingwith...

requirejs define a module

https://requirejs.org/docs/api.html#defineDefineaModule§1.3Amoduleisdifferentfromatraditionalscriptfileinthatitdefinesawell-scopedobjectthatavoidspolluting...
代码星球 代码星球·2021-02-08

如何下载js类库

https://learn.jquery.com/jquery-ui/environments/bower/Websitesaremadeoflotsofthings—frameworks,libraries,assets,andutilities.Bowermanagesallthesethingsfor...
代码星球 代码星球·2021-02-08
首页上一页...5758596061...下一页尾页