tag:blogger.com,1999:blog-223920112024-03-14T12:35:39.626+01:00ASP.NET 2.0 ResourcesExplore the Asp.NET 2.0 C# focused blog with latest .NET news, tutorials, interesting links and articles. Asp.NET 2.0 specific free web development tools, open source components and features.dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-22392011.post-1160070777521944982006-10-05T19:50:00.000+02:002006-10-05T19:52:57.550+02:00Filling and processing Adobe PDF Forms with iTextSharpAs i have blogged before, iTextSharp is a .NET port of iText Java-PDF library. Current version of iTextSharp 3.1.5 (2006-09-14) is based on iText 1.4.5 and among other cool things allows you to work with Adobe's FDF (Form Data Format) data. FDF is used by PDF forms created with the form tools in Adobe Acrobat. These PDF forms can be displayed and filled by users directly in web browser and then dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com107tag:blogger.com,1999:blog-22392011.post-1158742853639015172006-09-20T11:00:00.000+02:002006-09-20T11:00:53.656+02:00CSS Friendly Toolkit: GridView - Visible property and other problemsNew version of CSS Friendly Control Adapter Toolkit finally brought support for GridView control. The CSS Friendly Control Adapter Tookit hooks to ASP.NET processing pipeline in the stage where the control markup is generated. It's purpose it to emit clear CSS stylable html markup. The code generated by the toolkit is quite clean, but currently i'm facing some problems with GridView adapter. Thisdollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com33tag:blogger.com,1999:blog-22392011.post-1153811102495741772006-07-25T08:58:00.000+02:002006-07-25T09:05:02.496+02:00.NET 2.0 Repeater - Different template for first itemI've got just another little trick with repeater control for you. Have you ever needed more complex rules for rendering ASP.NET 2.0 Repeater items not just ItemTemplate and AlternatingItemTemplate templates? For example different style/layout for the first item?
There is one really simple solution how to declaratively achieve such behavior. Simply define multiple placeholders and show/hide dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com7tag:blogger.com,1999:blog-22392011.post-1153504969343505752006-07-21T19:49:00.000+02:002006-07-21T20:07:28.036+02:00Repeater control templates with empty datasourceJust a quick note and quick fix. I have a Repeater control with both Header, Item and Footer templates in one of my ASP.NET 2.0 projects. This control is rendering contextual site navitagion to ul/li structure. Sometimes this navigation is simply empty and i needed some easy way (preferably declarative) to hide Header and Footer templates when the datasource is empty because they were still dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com5tag:blogger.com,1999:blog-22392011.post-1145901208739795112006-04-24T19:52:00.000+02:002006-04-24T20:46:33.300+02:00Generating PDF files with iTextSharp and ASP.NET 2.0I have been trying to generate some PDF files from ASP.NET 2.0 application using iTextSharp PDF generator library. I needed to fill predefined PDF templates with data and send them directly to my ASP NET application users. Those templates were created with Adobe Acrobat with value placeholders created as form fields. It's quite easy to fill such PDF templates using iTextSharp and it's much easierdollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com51tag:blogger.com,1999:blog-22392011.post-1145388041435909272006-04-18T21:19:00.000+02:002006-04-18T21:20:41.466+02:00Searching for .Net 2.0 Charting ControlI am looking for a good charting component compatible with ASP.NET 2.0. I have been comparing and trying various charting controls lately and maybe some of my findings could by also useful for you. I was looking for some control that supports transparent chart caching, saving to files and would easily integrate to existing Asp Net application.I'm looking for something that's capable of generatingdollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com14tag:blogger.com,1999:blog-22392011.post-1145039124670167382006-04-14T20:24:00.000+02:002006-04-14T20:25:24.686+02:00ASP.NET 2.0 "Atlas" Control ToolkitThe "Atlas" Control Toolkit is a collection of samples and components that makes it easier then ever to build and consume rich client-side “Atlas” controls and extenders. The toolkit provides both ready to go samples and a powerful SDK to simplify the creation and re-use of your own custom controls and extenders.
AJAX which stands for Asynchronous Javascript and XML is a programming approach dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com2tag:blogger.com,1999:blog-22392011.post-1144564544499728632006-04-09T08:34:00.000+02:002006-04-09T08:40:52.183+02:00Anthem.NET - The Free ASP.NET 2.0 AJAX FrameworkThere was an article published recently at eggheadcafe about Building an Anthem.NET [AJAX] Autosuggest Textbox. I didn't bought the AJAX idea quite yet, but I was quite interested when reading this arcticle. There is a good overview how AJAX evolved, but the most intersting point for me was in the arcticle mentioned Anthem.NET AJAX framework.
Anthem.NET is a FREE, cross-browser AJAX toolkit for dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com4tag:blogger.com,1999:blog-22392011.post-1144561658911960142006-04-09T07:46:00.000+02:002006-04-09T08:39:59.736+02:00Visual Studio 2005 Web Application Projects RC1One of my first posts on this blog was about Visual Studio 2005 and ASP.NET 2.0 Web Application Projects. It's quite usefull feature, as it brings the classic web project back to Visual Studio 2005.
Now, there is updated RC1 version with a lot of added functionality
Also included in this build is support to automatically migrate a VS 2003 Web Application to be a VS 2005 Web Application Projectdollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com1tag:blogger.com,1999:blog-22392011.post-1144246098830737372006-04-05T15:59:00.000+02:002006-04-07T08:02:13.960+02:00ASP.NET 2.0 Features: app_offline.htmThere is a simple way to bring down your ASP.NET 2.0 application. The only thing you have to do is to create simple html file called App_offline.htm and deploy it to your ASP.NET 2.0 web application root directory. The rest is handled by ASP.NET runtime internal routines. But there are also some hidden drawbacks, so keep reading.
Just after you deploy this file, ASP.NET 2.0 runtime stops the dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com10tag:blogger.com,1999:blog-22392011.post-1144082176748287722006-04-03T18:35:00.000+02:002006-04-07T08:04:34.423+02:00Free AdSense click tracking script updated!I have updated the AdSense click tracking script. There is now support for advanced click tracking of AdSense blocks in different languages and some other minor improvements. I have collected data about as many languages the Google AdSense uses as I could. The list is not yet complete, but I think all the most used languages are covered. You can download this free adsense tracking script v2 rightdollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com6tag:blogger.com,1999:blog-22392011.post-1143377922701606382006-03-26T14:58:00.000+02:002006-04-07T08:05:40.920+02:00Analyzing and Interpreting AdSense results with Google AnalyticsThis post is description of other AdSense Analytics options offered by Google Analytics tracking service together with AdSense click tracking script i have developed. You can read more about this script and how it operates in previous post Tracking AdSense clicks with Google Analytics. You will need this tracking script installed and Google Analytics set up if you want to use these reporting dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com2tag:blogger.com,1999:blog-22392011.post-1143367662525254412006-03-26T12:07:00.000+02:002006-04-07T08:06:02.710+02:00Tracking AdSense clicks with Google AnalyticsUPDATED: there is updated version available - AdSense tracking script v2
There are quite a few adsense click tracking systems/scripts around, but i was not satistied with any of them. Partly because they were not able to track what ad units were clicked (not even mentioning specific Ads and AdLinks keywords). But also mainly because their lack of advanced reporting capabilities. I'm using Googledollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com42tag:blogger.com,1999:blog-22392011.post-1143121138676548652006-03-23T14:38:00.000+01:002006-04-07T08:06:19.246+02:00ASP.NET 2.0: Custom paging and sorting with ObjectDataSourceToday i came across some very interesting arcticles by Scott Mitchell Custom Paging in ASP.NET 2.0 with SQL Server 2005 and Sorting Custom Paged Results. I was looking for such complex info for a long time and those arcticles finally supplied all infromation together at one place. As a bonus you get some basic speed comparisons of different paging and sorting methods.
If you want custom paged dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com3tag:blogger.com,1999:blog-22392011.post-1143029615649736092006-03-22T13:12:00.000+01:002006-04-07T08:08:18.973+02:00ASP.NET 2.0: Custom Resource Provider Using Sql DatabaseThe world of Web applications is quite different from Windows forms. The solutions that perform great for Windows applications are sometimes quite pain when developing solution designed for the web. ASP.NET 2.0 introduces new feature called declarative localization expressions. It allows you to easily localize web pages and by default it uses .resx files stored in App_LocalResources and dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com34tag:blogger.com,1999:blog-22392011.post-1141977446293580842006-03-10T08:56:00.000+01:002006-04-07T08:08:39.870+02:00Troubles using Autodesk DFW viewer ActiveX 3D APIIn past few days I was looking for a solution how to display and control 3D DWF files using Autodesk DWF viewer 6.5. I have faced so many problems and also found some solutins that I've decided to share with You. But first some background about DWF viewer for those who haven't seen it before.
Autodesk® DWF™ Viewer allows you to easily view and print 2D and 3D designs in the DWF format, the dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com5tag:blogger.com,1999:blog-22392011.post-1141292709899760622006-03-02T10:44:00.000+01:002006-03-02T10:45:09.910+01:00Microsoft Anti-Cross Site Scripting Library V1.0Microsoft Anti-Cross Site Scripting Library V1.0 has been released.
Cross Site Scripting problem is that many Web pages display input that is not validated. If input is not validated, malicious script can be embedded within the input. If a server-side script then displays this non-validated input, the script runs on the browser as though the trusted site generated it.
The new .NET library fromdollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com0tag:blogger.com,1999:blog-22392011.post-1141239993525316922006-03-01T20:05:00.000+01:002006-04-07T08:09:58.986+02:00Generating PDF documents with .NETI was looking for a way to generate PDF documents in ASP.NET pages on the fly. When searching the net i came across a cool guide How to select PDF component for .NET. It covers many commercial and also some open source PDF generators. There are very nice comparison tables available. There is mentioned one open source project iTextSharp. When searching further i have also discovered an open sourcedollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com1tag:blogger.com,1999:blog-22392011.post-1141237859528084952006-03-01T19:30:00.000+01:002006-04-07T08:10:13.586+02:00C# 2.0 Features: Static ClassesC# 2.0 contains one very nice feature called static classes. Maybe you already encountered situation where creating instance of some class was useless because it contained only static methods. In C# 1.1 you would have to create sealed class with private contructor to disable creation of instances and deriving your class.
<!-- code formatted by http://manoli.net/csharpformat/ -->
public class dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com0tag:blogger.com,1999:blog-22392011.post-1141150930223131682006-02-28T19:01:00.000+01:002006-04-07T08:11:38.363+02:00ASP.NET 2.0: HOW DO I Video SeriesThere is a great video series showcasing the new features of ASP.NET 2.0 available free on MSDN. It contains over 2 hours of video focused on the common tasks for developers. I would specially recomend the Tips and Tricks video to everyone. The following free videos are available:
Data Access
This video illustrates how simple it is to create data-driven web sites using Visual Web Developer dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com2tag:blogger.com,1999:blog-22392011.post-1140766224295474532006-02-24T08:20:00.000+01:002006-04-07T08:12:11.916+02:00ASP.NET 2.0 RSS ToolkitThis toolkit provides a ton of great support for both consuming and exposing RSS from ASP.NET 2.0 applications, and ships with full source code.
RSS Data Source control to consume feeds in ASP.NET applications
Works with ASP.NET data bound controls
Implements schema to generate columns at design time
Supports auto-generation of columns at runtime (via ICustomTypeDescriptor implementation)
dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com0tag:blogger.com,1999:blog-22392011.post-1140439168355615792006-02-20T12:18:00.000+01:002006-02-20T13:44:29.596+01:00Microsoft .NET Pet Shop 4Microsoft has released new version of .NET Pet Shop application. The .NET Pet Shop application is designed to show the best practices for building enterprise, n-tier .NET 2.0 applications that may need to support a variety of database platforms and deployment scenarios. Full source code is available for download.
This version is designed specifically for ASP.NET 2.0. It takes advantage of it's dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com1tag:blogger.com,1999:blog-22392011.post-1139990738186335932006-02-15T08:57:00.000+01:002006-02-15T09:05:38.193+01:00Sql SiteMap provider for ASP.NET 2.0February issue of MSDN magazine has realy cool article (and source code) about new version of SqlServer SiteMap provider. This version is compatible with Sql Server 7.0, 2000 and also 2005. Sql Server 2005 would be the best choise, because this new SiteMap provider has full support for Sql cache dependencies.
This is also the main difference from previous version. Sitemap automatically reloads, dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com1tag:blogger.com,1999:blog-22392011.post-1139924616189876152006-02-14T14:42:00.000+01:002006-04-07T08:12:55.570+02:00URL Rewriting using ASP.NET 2.0 Http ModuleThis arcticle describes how to write your own Http module for URL rewriting. This solution works only for URL addresses that end with .aspx extension (or any other extension handled by ASP.NET 2.0 framework). It's possible to configure ASP.NET ISAPI filter to handle all request and rewrite all possible URL's, but it won't be covered in this post.HTTP module is any class that implements dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com4tag:blogger.com,1999:blog-22392011.post-1139847615673337812006-02-13T17:05:00.000+01:002006-04-07T08:13:10.783+02:00Ten Essential Visual Studio 2005 ToolsThere is very usefull article in december 2005 issue of MSDN magazine. It's called Ten Essention Visual studio tools. In the time of it's writing visual studio 2005 was not yet available, but whole arcticle was written with this new version in mind. And which tools are essential for James Avery?
#1 - TestDriven.NET
TestDriven.NET is an essential add-in if you work with unit tests or practice dollyhttp://www.blogger.com/profile/02272974876069639988noreply@blogger.com8