Saturday, January 30, 2016

Remote desktop

https://social.technet.microsoft.com/Forums/windowsserver/en-US/b52ddd9b-c765-4b80-9409-c5f155443f6a/configure-your-windows-pc-for-remote-access-with-the-microsoft-remote-desktop-assistant?forum=winRDc

Friday, January 29, 2016

Webapi

http://tutlane.com/tutorial/aspnet-mvc/create-use-asp-net-web-api-service-in-asp-net-mvc-application-with-example

Javascript tricky stuff

{} does not create scope

Thursday, January 28, 2016

Javascript interview questions

How to remove duplicate elements in a array

Use array. Filter and index of

Testing angularjs service

Komodo edit
Jasmine on karma
http://jasmine.github.io/
https://www.jetbrains.com/products.html#

ParseInt, parseFloat

Async in javascript tag

2 script file downloads parallel
<script async type=<text/javascript> src=".... Js">

Put javascript file before the closing of body tag,  so parser of html not blocked

javascript tutorials

https://www.youtube.com/watch?v=PMsVM7rjupU&list=PL6n9fhu94yhUA99nOsJkKXBqokT3MBK0b

Jsbin.com

Debug javascript in Visual Studio

Change default browser to IE

Debug
Detach all
Right click on Web form
Browse with

Javascript shortcomings

Security
Browser compatibility ex innertext
Server side and client side

Monday, January 25, 2016

pressing Enter on Dropdownlist causing postback

User select the dropdownlist and key in something then press enter caused the screen become blank.

everything the press enter the screen will be blank.

http://stackoverflow.com/questions/19494198/pressing-enter-on-dropdownlist-causing-postback

add code below will solve the issue
UseSubmitBehavior="False"

ex.
<td align="right"><asp:Button ID="btnSave" runat="server" UseSubmitBehavior="False" Text="Save" /></td>

swift book

https://swiftlang.eu/

Sunday, January 24, 2016

Saturday, January 23, 2016

Ruby on IIS

http://www.hanselman.com/blog/AnnouncingRunningRubyOnRailsOnIIS8OrAnythingElseReallyWithTheNewHttpPlatformHandler.aspx

Friday, January 22, 2016

Button.UseSubmitBehavior

http://stackoverflow.com/questions/4209903/asp-net-page-enter-key-causing-post-back

SVN create branch

Install TortoiseSVN

right click on trunk, TortoiseSVN, Branch/Tag, change the "To path"

after it is done

go to the branch folder, right click on any empty space, do SVN update.

http://swagger.io/ web api

http://swagger.io/

http://codepen.io/

http://codepen.io/

Friday, January 15, 2016

interview question .net javascript angular js

RESTful stands for

asp.net page life cycle

MVC stands for

two way to call web service from asp.net (one is using javascript)

difference between MVC as asp.net form

which web service has to host on IIS, WCF?

major improvement from MVC 5

Response.Redirect (how many ways to redirect asp.net page?)

difference between asp:htmlcontrol and without asp

what is the output asp.net form on the client web browser

how many ways to get Request.QueryString
http://www.codeproject.com/Tips/574956/How-to-get-URL-and-QueryString-value-in-an-ASP-NET




Web performance tuning

http://stackoverflow.com/questions/1719985/tips-and-tricks-for-performance-tuning-of-web-application

Thursday, January 14, 2016

DB2 SQL with UR

https://www.toadworld.com/platforms/ibmdb2/w/wiki/6660.uncommitted-read-ur

below is from above link

Uncommitted Read (UR)

UR means that a program can read data that has not yet been committed by another program. No locks are taken except for the special S mass delete lock used to serialize UR readers and mass deleters, which requires an X mass delete lock. In addition, an IX lock on any tablespace in the work file database (DSNDB07, usually) is taken to avoid a drop of the tablespace that is being processed. UR, like all of the isolation levels, causes SQL to be serialized with most utilities, depending on the phase of processing, by using claim and drain processing.
If using UR, your program can be reading data that is in the process of being changed. It provides a high level of concurrency. However, do not use UR if seeing uncommited data could affect a business decision.

Viewing OneNote notes by last edit date

Share Menu->Recent Edits->Since Yesterday 
This will find all notes, sorted by date, since yesterday.