Tuesday, July 24, 2012

Transferring Data Between ASP.NET Web Pages

http://www.mikesdotnetting.com/Article/192/Transferring-Data-Between-ASP.NET-Web-Pages

  • Hidden Form Fields
  • Query Strings
  • UrlData
  • Cookies
  • Session Variables
  • Application Variables
  • Cache

Monday, July 23, 2012

How to copy a table from remote server to another server?

exec sp_addlinkedserver '255.255.255.255,1433';
exec sp_addlinkedsrvlogin '255.255.255.255,1433'
    , 'FALSE', NULL, 'username', 'password';
select * into [newtablename] from [255.255.255.255,1433].[databaseName].[dbo].[tableName]

Validation In Razor

http://www.mikesdotnetting.com/Article/191/Validation-In-Razor-Web-Pages-2

Friday, July 20, 2012

Valid* Credit Card Numbers for Testing Purposes!

http://www.getcreditcardnumbers.com/

  Visa

  • 4532648750285780
  • 4539052847080077
  • 4929736558451463
  • 4916004632027212
  • 4485755494015923

  Mastercard

  • 5494588595021003
  • 5387832766740102
  • 5529096432016938
  • 5218029725191239
  • 5344360293912780

  Discover

  • 6011552889866889
  • 6011885033431303
  • 6011033311173798
  • 6011819562341625
  • 6011299558979086

  American Express

  • 342381697387505
  • 378737047550224
  • 379264258868145
  • 371603371058332
  • 348154925738078

Entity Framework and Open Source

http://weblogs.asp.net/scottgu/archive/2012/07/19/entity-framework-and-open-source.aspx

he Entity Framework source code is today being released under an open source license (Apache 2.0), and the code repository is now hosted on CodePlex (using Git) to further increase development transparency.