ASP.NET Cafe
Tips and Tricks

ASP.NET 2.0 Big files upload on IIS 6.0 under Win2003

Saturday, 2 August 2008 11:21 by Dmitriy
Notes about maxRequestLength on IIS. How to make big uploads works if nothing helps. [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

Better call for NotifyScriptLoaded in AJAX

Sunday, 27 July 2008 14:54 by Dmitriy
Small notes about correct ending of JS files in MS.AJAX environment. [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:  
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

ForceWrap or when you need a whitespace

Sunday, 8 June 2008 12:08 by Dmitriy
Utility function that split word if it "too large". This can prevent design issue on the web page, then text goes out from the box because can't be wrapped. [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , ,
Categories:   ASP.NET | C#
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

Credit Card number validation in C#. Visa and MC.

Monday, 12 May 2008 17:25 by Dmitriy
Credit Card number validator in C#. [More]

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET | C# | Main
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (2) | Comment RSSRSS comment feed

Focusing controls from serverside with and without AJAX Extensions

Wednesday, 9 April 2008 14:03 by Dmitriy
How to focus control from server-side code. [More]

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (1) | Comment RSSRSS comment feed

DANGER: Copy and paste file inside VS ASP.NET Web Site Problems

Wednesday, 27 February 2008 19:48 by Dmitriy
Common problems during copy/paste of aspx/aspx.cs pairs. [More]

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

Looking for ASP.NET Hosting ?

Friday, 18 January 2008 16:29 by Dmitriy
Sometime ago, ASP.NET hosting was quite expensive. And most of peoples used php or something else for their web projects. Even I did. But time is changing everything, and now asp.net is a budget technology. We have free .net framework, web developer and hosting for affordable prices. At least we c... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , ,
Categories:   ASP.NET | Hosting
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

asp.net themes and custom controls

Sunday, 13 January 2008 14:32 by Dmitriy
There are very nice thing in asp.net called themes. This is a folder, located under App_Themes, inside this folder you can put images, css files and .skin files. The skin file allows you to set some asp.net controls properties theme-wide. It looks like <asp:Button runat="server" Bac... [More]

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (2) | Comment RSSRSS comment feed

Completely free PDF .NET library written in C#

Tuesday, 8 January 2008 10:48 by Dmitriy
Open Source library to create/edit PDF files. With unrestricted license to change, sell, sublicense. [More]

Currently rated 4.4 by 9 people

  • Currently 4.444445/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , ,
Categories:   ASP.NET | C# | Main
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (13) | Comment RSSRSS comment feed

Insert flash into page without "Click to activate and use this control" in IE.

Wednesday, 26 December 2007 10:43 by Dmitriy
Custom control to insert Flash movies into ASP.NET Page without "Click to activate and use this control" in Internet Explorer. [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET | Flash
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (5) | Comment RSSRSS comment feed

ASP.NET: 3 Steps to embed web resources into dll

Monday, 24 December 2007 03:44 by Dmitriy
If you want to make your own custom control. Yes, custom - not user control. You have something that should work good, everywhere and run from single dll. But how to store images, javascript and other stuff inside this dll? [more] Everything looks fine, but it always cause problems. I decided... [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (2) | Comment RSSRSS comment feed

Solution for InvalidCastException error in an ASP.NET

Wednesday, 19 December 2007 11:49 by Dmitriy
Explains how to avoid common error in ASP.NET [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

ASP.NET For Beginners: This funny <%# and <%= markup

Tuesday, 18 December 2007 06:28 by Dmitriy
Everybody who starts to learn ASP.NET techniques ask the question: What is <%= and <%# What is the difference, and how to use this? First of all, these instructions looks the same. Both outputs something in the place located. But truly output instruction is only <%= , like all ... [More]

Currently rated 4.0 by 6 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (1) | Comment RSSRSS comment feed

Again Scheduled Task in ASP.NET

Saturday, 15 December 2007 18:12 by Dmitriy
Recently I've explained how to call aspx page on schedule using VB script. But now there are another problem... How long your work ? Let me explain, ASP.NET server has default timeout... for request. It called Request Timeout. And if your request last longer... thread stopped. Bad news.... [More]

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

HOWTO: Get Complete SQL dump of SQL Express 2005 Database

Wednesday, 12 December 2007 12:37 by Dmitriy
Explains how to make SQL Express DB full dump to publish on shared hosting. [More]

Currently rated 4.0 by 3 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   Main | ASP.NET | SQL
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

ViewState on server

Monday, 10 December 2007 07:54 by Dmitriy
There are a lot of things inside your aspx page... And viewstate is there. What if everything ok, and viewstate size not very big. But what if viewstate size too big? First of all, maybe you are using viewstate in some controls that don't need it. But, what if we still need viewstate, but pag... [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , , ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (0) | Comment RSSRSS comment feed

Solution for "Validation of viewstate MAC failed / The state information is invalid for this page and might be corrupted"

Monday, 10 December 2007 07:02 by Dmitriy
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. At least one time in you life you see this message. An... [More]

Currently rated 3.8 by 4 people

  • Currently 3.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , ,
Categories:   ASP.NET
Actions: E-mail | del.icio.us | Kick it! | DZone it! | Permalink | Comments (6) | Comment RSSRSS comment feed