Thursday, August 27, 2015
Amazing javascript to view knockout model on any page
Here is a simple javascript code to view knockout model on any page, just add it to the bookmarks in your browser. I really liked the simplistic approach.
https://github.com/jmeas/knockout-view
https://github.com/jmeas/knockout-view
Tuesday, August 25, 2015
Knockout custom bindings and value accessors
Custom bindings in knockout enable us to specify custom knockout parameters in data-bind attribute. They are quite useful to implement custom functionality across the site. Here are more references to these attributes
http://knockoutjs.com/documentation/custom-bindings.html
http://www.knockmeout.net/2011/07/another-look-at-custom-bindings-for.html
http://knockoutjs.com/documentation/custom-bindings.html
http://www.knockmeout.net/2011/07/another-look-at-custom-bindings-for.html
Friday, August 14, 2015
ANTLR4 installation in a visual studio project
ANTLR is a very interesting parser for writing custom compilers. After fumbling a bit on my own to install it in the dev, finally I could get it done after following steps in the post below. Though the post makes it very easy to install, understading how to write a compiler is significantly more complex.
https://groups.google.com/forum/#!topic/antlr-discussion/Gh_P6IiDrKU
To help us there are some good antlr projects available to download, one mentioned below is quite interesting
https://github.com/ChristianWulf/CSharpGrammar
https://groups.google.com/forum/#!topic/antlr-discussion/Gh_P6IiDrKU
To help us there are some good antlr projects available to download, one mentioned below is quite interesting
https://github.com/ChristianWulf/CSharpGrammar
Debugging in Linq
The post below explains some tools which are quite handy when debuggin LINQ to Entity statements, but I have used DBContext instead of ObjectContext connection
http://blog.falafel.com/debugging-in-linq-hell/
Also, to make internal classes visible to Linq Pad use an assembly attribute.
http://stackoverflow.com/questions/14354157/make-internal-classes-visible-to-others-assemblies
but if they are signed, this won't work
http://forum.linqpad.net/discussion/747/internalsvisibleto-on-datacontext-in-signed-assembly
Also, there is an extention in visual studio to connect to linqpad
https://github.com/nbasakuragi/LINQBridgeVs
http://blog.falafel.com/debugging-in-linq-hell/
Also, to make internal classes visible to Linq Pad use an assembly attribute.
[assembly: InternalsVisibleTo("LINQPadQuery")]
http://stackoverflow.com/questions/14354157/make-internal-classes-visible-to-others-assemblies
but if they are signed, this won't work
http://forum.linqpad.net/discussion/747/internalsvisibleto-on-datacontext-in-signed-assembly
Also, there is an extention in visual studio to connect to linqpad
https://github.com/nbasakuragi/LINQBridgeVs
Subscribe to:
Posts (Atom)
c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...
-
SharePoint has a great feature to set terms which can be used to tag contents and enable terms based navigation and several other interesti...
-
Responsive design http://webdesignerwall.com/tutorials/5-useful-css-tricks-for-responsive-design http://palantir.net/blog/responsive-de...
-
Secure Microservices Using JWT With Ocelot in .NET Core (code-maze.com)