Doga Oztuzun

to the best, to the improved forever !

How to use the IHttpAsyncHandler in ASP.NET

clock June 30, 2008 11:34 by author UnquaLe

Before reading this post you have to know what IHttpHandler intaface does.

Basically, the IHttpAsyncHandler interface allows you to serve content asynchronously from a HTTP handler. This is great when you need to free up the worker thread to do processing like IO work etc. ASP.NET actually uses fewer threads when it runs asynchronously, which is great for performance and scalability. That’s because each thread is returned much faster to the thread pool.

There you are a simple example.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


10 Tips to Improve your LINQ to SQL Application Performance

clock May 8, 2008 01:00 by author UnquaLe

I have found very helpful article that you would like also about performance of Linq to SQL. These optimizations will bring us to ADO.NET SqlDataReader performance.

There you are the article. 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Linq to Regex - Regex goes easier

clock May 8, 2008 00:45 by author UnquaLe

I won't talk about how regex is useful. You know regex patterns are ugly and hard to understand then I saw Josh Flanagan's Readable Fluent Regex Api, there is another thing to like LINQ rigth now.

Very nice example to see how the api is cool. 

Download source and binaries.

Enjoy!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Live Alerts with AJAX and AJAX 3.5 Extender Controls

clock May 2, 2008 11:46 by author UnquaLe

If you don't know Live Alert SDK, you don't know how to alert your users in a cool way ! Then you want to see it. There are some cool articles that you would like to see;

Alerting Your Users with Live Alerts and ASP.NET AJAX

Building ASP.NET 3.5 AJAX Extender Controls

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Use Twitter to Stay On Top of .NET Programming News

clock April 18, 2008 12:25 by author UnquaLe

Twitter is the telegraph of the Web 2.0. If you don't use it you should, It is great way to find out what's happening in programming world. I have found a list of some Guru programmers and their Twitter URL. Now you can follow them and you might learn usefull things. And you can follow the up to date list on the original post.

Don Demsak
http://twitter.com/donxml

Keyvan Nayyeri
http://twitter.com/keyvan

Phil Haack
http://twitter.com/haacked

Miguel de Icaza
http://twitter.com/migueldeicaza

Shawn Wildermuth
http://twitter.com/TheADOGuy

Andrew Badera
http://twitter.com/andrewbadera

Michael Palermo
http://twitter.com/palermo4

Jeff Atwood
http://twitter.com/codinghorror

Scott Hanselman
http://twitter.com/shanselman

Jessy Libertry
http://twitter.com/jliberty

ALT.NET
http://twitter.com/altdotnet

Gavin Joyce
http://twitter.com/gavinjoyce

Sam Gentile
http://twitter.com/SamGentile

Dare Obasanjo
http://twitter.com/Carnage4Life

Chuck Boyce
http://twitter.com/chuckboycejr

Justice Gray
http://twitter.com/justice_gray

Rory Blyth
http://twitter.com/rory_blyth

John Lam
http://twitter.com/john_lam

Jason Massie
http://twitter.com/statisticsio

aspnetmvc
http://twitter.com/aspnetmvc

Paul Nielsen
http://twitter.com/PaulNielsen

Scott Koon
http://twitter.com/lazycoder

Rob Conery
http://twitter.com/robconery

Jon Galloway
http://twitter.com/jongalloway

Chad Myers
http://twitter.com/chadmyers

Jeremy Miller
http://twitter.com/jeremydmiller

Brad Wilson
http://twitter.com/bradwilson

Chris Bowen
http://twitter.com/chrisbowen

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Free Training on ASP.NET MVC - ASP.NET Dynamic Data - Entity Framework - ADO.NET Data Services

clock April 14, 2008 14:27 by author UnquaLe
If you want to start learning about .NET 3.5 Enhancements, there is a free training kit available from Microsoft that you can download to learn these cool new features :
  • ADO.NET Data Services
  • ADO.NET Entity Framework
  • ASP.NET AJAX History
  • ASP.NET Dynamic Data
  • ASP.NET MVC
  • ASP.NET Silverlight controls
Also to check these MIX 08 Videos will show you some of the features :
Blogged with the Flock Browser

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


ScriptCombining Feature

clock March 7, 2008 12:01 by author UnquaLe

I was reading the post (Mix08 Session Overview: Building Great AJAX Applications from Scratch Using ASP.NET 3.5 and Visual Studio 2008) from Brad Abrams then I have seen very cool feature to combine the scripts into a single request that saves the round trip and compresses better.

The text is from his post;

Download the completed sample or just the starter files to play along at home. 

We can use the new ScriptCombining feature to combing the scripts into a single request that saves the round trip time and compresses better.

But first we need to know exactly what scripts are being loaded.  To see this let's look at the ScriptReference debugging tool.

Just drop it on your page

	    <cc2:ScriptReferenceProfiler ID="ScriptReferenceProfiler1" runat="server" /> 
	

and you see exactly what is loaded.

		
	

image

We also, have both the debug and retail scripts ready to download in case we want to share this across several pages.

Then cut and past that into ScriptManager.

			<asp:ScriptManager runat="server" ID="sm">
	<CompositeScript>
	<Scripts>
	<asp:ScriptReference Name="MicrosoftAjax.js" />
	<asp:ScriptReference Name="MicrosoftAjaxWebForms.js" />
	<asp:ScriptReference Name="AjaxControlToolkit.Common.Common.js" 
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.ExtenderBase.BaseScripts.js" 
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.TextboxWatermark.TextboxWatermark.js"
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.Rating.RatingBehavior.js" 
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.Compat.Timer.Timer.js" 
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.Animation.Animations.js" 
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.Animation.AnimationBehavior.js" 
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.PopupExtender.PopupBehavior.js" 
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.AutoComplete.AutoCompleteBehavior.js"
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	<asp:ScriptReference Name="AjaxControlToolkit.ConfirmButton.confirmButtonBehavior.js"
	Assembly="AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
	</Scripts>
	</CompositeScript>
	</asp:ScriptManager>
	

Now, let's go back to firebug...

image

This time, we have two request 118KB and 4.39s... Much better!

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


How to provide user management for your online site

clock March 3, 2008 16:15 by author UnquaLe

As you know, ASP.NET Web Administration Tool works locally only.  In this article you will know how to get it working with the remote websites too. It recommends 2 option for that.

So lets read it. 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Video hosting on the Web

clock February 14, 2008 20:57 by author UnquaLe

There is a project ready to run for hosting video on the web.

The project uses Silverlight streaming that makes broadcasting easier and Linq to Sql for data access layer.

For details : Click

CodePlex project page : http://codeplex.com/videoshow 

Enjoy! 

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Happy Valentine's Day

clock February 14, 2008 20:45 by author UnquaLe

Then.. Love meets Technology !

Share your love with Silverlight :)

http://www.microsoft.com/silverlight/sharethelove/Default.html

Happy Valentine's Day ! 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5