Categories
- .NET (4)
- ASP.NET (26)
- SalesLogix (14)
- SharePoint (42)
- SQL (19)
- Sys Admin (2)
- Tools (1)
- Uncategorized (5)
Archives
- March 2014 (1)
- November 2013 (2)
- May 2013 (1)
- April 2013 (1)
- February 2012 (2)
- October 2011 (1)
- November 2010 (1)
- October 2010 (1)
- September 2010 (4)
- July 2010 (3)
- May 2010 (2)
- April 2010 (1)
- February 2010 (4)
- December 2009 (1)
- October 2009 (1)
- August 2009 (2)
- July 2009 (3)
- June 2009 (2)
- May 2009 (3)
- April 2009 (1)
- March 2009 (4)
- February 2009 (5)
- January 2009 (5)
- December 2008 (5)
- November 2008 (2)
- October 2008 (2)
- September 2008 (1)
- August 2008 (2)
- July 2008 (2)
- May 2008 (2)
- April 2008 (4)
- March 2008 (4)
- February 2008 (2)
- January 2008 (2)
- December 2007 (8)
- November 2007 (5)
- September 2007 (1)
- August 2007 (4)
- July 2007 (7)
- June 2007 (3)
- May 2007 (1)
Recent Comments
adamdee on _files folder (part 2) –… vincentadell on Barcode Jean on Hide left navigation panel wit… Dean on Automatically checkin files af… Anonymous on Automatically checkin files af…
Tag Archives: ASP.NET
Injecting Values for Default MVC Model Binding
In a recent project, due to security concerns, we want to encrypt all QueryString values into a single encrypted value before placing the link in web pages, then decrypt it back to individual name/value pairs and pass them to default … Continue reading
Src=” causes double page requests
A html tag with src=” (ie img) will cause the browser to try to request that resource at the same URL as the current page, hence causes double requests.
Formatting Dates, Times and Numbers in C#
Good reference (with examples) http://www.4guysfromrolla.com/articles/111010-1.aspx
C# String Format examples for Double
From http://www.csharp-examples.net/string-format-double/ The following examples show how to format float numbers to string in C#. You can use static method String.Format or instance methods double.ToString and float.ToString. Digits after decimal point This example formats double to string with fixed number … Continue reading
Why EntitySet not auto-generated by LINQ-to-SQL?
It turns out the the child table must have a primary key. If not set in database level, that can be set in the *dbml file. Multiple-field primary key works too.
Roundup of ASP.NET Dynamic Data
Dynamic Data is a very nice tool comes with .NET 3.5 SP1. It offers CRUD support out of box (scaffolding) and is also very easy to customize! Add to an existing web applicataion: for many web applications (especially those existing … Continue reading
MachineKey in web.config
There are few scenarios that you want to add MachineKey into your web application’s web.config: You have a web farm and in each server the machine.config set to auto generate machinekey. You want to use “Encyrpted” password format in ASP.NET … Continue reading
Mysterious Double Post Back/Page Request
Recently I run into a strange situation that one of my pages was always loaded twice for each reqeust. This happened only when I enable “URL Rewrite” feature for the site. After almost a hour of debugging, I found it’s … Continue reading