Use Telerik Fiddler, and then search for Set-Cookie only in response headers
A quick way to figure out which API set the cookie.
Bruce Ng's software development blog
An archive of solutions of programming problems I have faced in my career
Use Telerik Fiddler, and then search for Set-Cookie only in response headers
A quick way to figure out which API set the cookie.
When user resizes a column in a grid, the columnresize event is triggered multiple times for all changed columns
To do something only after all those columns are changed, handle afterlayout event instead
JS front-end frameworks and libs
Ext Js: powerful MVC and MVVM framework for desktop like UI on the web using mostly declarative programming.
jQuery: no need to say more
Underscore.js: library with utility functionalities, binding, applying, map, reduce, all, each, etc.
Meld: Aspect oriented programming for JS.
Backend frameworks
ASP.NET Web forms, MVC: MVC is the future.
ASP.NET Web API
Zend framework
Other libraries and technologies
NHibernate, LINQ, Entity Framework: ORMs
Dependency injection: Spring.NET, Spring for Java, Unity.
When you need to confirm a bug, sometimes it’s a good idea to write a small program that reproduces the behavior, it will be more convincing to managers and colleagues.
Make sure you read the relevant API docs.
Use Chrome’s developer tools, Firebug, or IE’s, and Visual Studio debugger, they are awesome.
Use console.log and alert in code when necessary when tracing code is difficult.
Run JS scripts from JS console.
Don’t be afraid to trace through third party’s frameworks and libraries when necessary.
To generate a large table with millions of records, it’s possible to use the following script:
declare @RecordsNum int = 10000000-(select count(*) from Person)
declare @Count int = 0
set nocount on
Begin transaction
while(@Count < @RecordsNum)
begin
insert into MyTable(Name, Address, Age)
values(substring(Convert(varchar(255), NewID()), 0, 30),
substring(Convert(varchar(255), NewID()),0 ,30), RAND(100) * 100)
set @Count = @Count + 1
End
commit
select count(*) from MyTable
Some things to do to improve performance of the script:
Ideas were found in this page: http://mitchelsellers.com/blogs/2008/09/12/creating-random-sql-server-test-data.aspx
Follow the SO answer: http://stackoverflow.com/a/38757007/5539403
To fix Intellisense suddenly stops working in SQL Management Studio, refresh the local cache by pressing Ctrl-Shift-R or by going to Edit -> Intellisense -> Refresh Local Cache.
This article is useful: http://docs.sencha.com/extjs/6.2.0/guides/core_concepts/memory_management.html
Refer to the article at http://www.allaboutmssql.com/2013/08/ssrs-how-to-display-table-after.html