ASP.NET Ajax 4/3.5 CDN support

יום חמישי, יוני 17, 2010

Today I found out a cool nice thing. As we all know Microsoft ASP.NET Ajax 4.0 is shipped with the new caching support for the JS library it uses. This feature is called the CDN and basically it is working and increasing performance by spreading lots of servers around the world that store JS files like the ASP.NET Ajax 4.0 and the Jquery library files. From Microsoft: “By taking advantage of the Microsoft Ajax CDN, you can significantly improve the performance of your Ajax applications. The contents of the Microsoft Ajax CDN are cached on servers located around the world” For...

ASP.NET 4.0 New features – HTML, JS, ASP.NET Snippets

יום שני, נובמבר 30, 2009

                                            In previous version of VS.NET we encountered the new snippet solution for creating a chunk of code that is usually reusable and then using it during programming or even lecturing. This feature was available for both C# and VB.NET coders. But we could not create or use snippets for the markup we are writing like HTML, JavaScript or even the ASP.NET page. VS.NET 2010 allows us to do just that! Lets see some of the “out of the box” snippets we can use: HTML Snippets:     AS you can see the same snippet sign is now available on the ASPX page...

ASP.NET 4.0 New features – URL Routing

                                               Hi all, In this series of posts I am going to write about ASP.NET 4.0 new features. I will try to concentrate on the important features since there are many new cool ones. At this point of writing I am using the VS.NET 2010 Ultimate Beta 2 version. So lets introduce the first feature: URL Routing:                   URL Routing is the ability to use “friendly” URL’s instead of of using the once we know so far. So instead of using the knows URL’s like: where we have a protocol , a host name , a directory list, a page...
one comment

ASP:Chart control – Amazing

יום חמישי, ספטמבר 10, 2009

Today I discovered something I should have known long ago. ASP.NET has a Chart control!!! It is free to download and use and it will be part of ASP.NET 4.0 coming up soon. If you wish to use it today simply follow these steps: 1. Download and install the  Chart controls. 2. Download and install the VS 2008 tool support. 3. Optional: Download the code samples. This is a huge web application project we can learn a lot from. Here are some snap shots of what you can do with these control I took...
no comments

ASP.NET 4.0 solution for the ClientID problem

יום חמישי, מרץ 19, 2009

Hi all, Ever needed a solution for the ugly naming of your server side controls? Ever wanted to be able to control the id's ASP.NET automatically generates for you? Ever viewed the source of you aspx page and saw control with id like this: "ctl00_MB_btnExit" ?  This is the post for you! The solution is very simple and all you have to do is simply wait! (For the next release of ASP.NET and VS.NET 2010) As a brief introduction lets explain what is the problem in the first place: Whenever we place a control (A server control actually) in...