ASP.NET 2.0 [rss]

ASP.NET 2.0

I'm digging SubSonic

Generating data access layer is something that I always try to do to avoid writing repititive code. I've tried a lot of code generation tools, some were complicated, others I just didn't like the way they worked, I even tried to write my own code generation Read More

More authorization with the built-in VS 2005 Web Server

Scott Guthrie has talked about this issue here. I would like to add one thing though. Let's say that all the pages of your web application cannot be accessed unless the user logs in. Basically what you will do is add an authorization rule in the root Read More

Converting DataRow Array to DataTable

Here's a little function I wrote the other day that I think might be helpful for some of you.I was filtering a datatable using the DataTable.Select method. The Select method returns the filtered rows as an array of DataRow objects, but I wanted the result Read More

GridView Visual Editing

I found out this while working with the GridView today. You can select a column in a GridView control while in design view, open the smart tag, and edit that column only (move it to the left or right, or remove it)....Nice. Read More

Webparts with Atlas vs MagicAjax

Try this.  <asp:WebPartManager ID="WebPartManager1" runat="server">            </asp:WebPartManager>            <ajax:AjaxPanel Read More

Atlas Preview December 2005 released

The December 2005 release of Atlas is now available at http://atlas.asp.net. Great stuff......Read more about it at Nikhil's blog. Read More

VirtualPathUtility class

Found this nice utility class while browsing through the reflector. It provides utility methods for common operations involving virtual paths. Here's an example taken from the msdn page.    StringBuilder sb = new StringBuilder();    Read More

Deprecations in ADO.NET 2.0

SqlCommand.Parameters.Add("@Name",Value) that we used a lot in ADO.NET 1.1 has been deprecated in ADO.NET 2.0.The new API is SqlCommand.Parameters.AddWithValue("@Name", Value). Why you ask?? well, it looks like that old Add method used to get confused Read More

Express versions of VS.NET 2005 are free for 1 year

Express versions of VS.NET 2005 are available for free download for the next year. Go download your copy now. Read More

DotNetNuke embraces ASP.NET 2.0

Read about it here Read More

RTM verions of VS.NET 2005 and SQL Server 2005

Great news for MSDN subscribers. The RTM versions of VS.NET 2005 and SQL Server 2005 are available for download at MSDN subscribers download site. Go get them :).By the way, if you're in Lebanon, do not miss the VS.NET 2005 and SQL Server 2005 launch Read More

Restricting the number instances of a webpart added to a webpage

One of the attendees of the last Community Night asked me the following question, "How do we restrict the number of instaces of a webpart that are added to a webpage?" So I sat down and worked out a little example on how to do that. First thing Read More

Community Nights......Night Two

Yesterday was the second night of our Community Nights. The main point of discussion was about the new WebParts framework in ASP.NET 2.0. Bilal Haidar did an overview of the WebParts Framework and I did the demo part. You can download the presentation Read More

Webpart Display Mode Menu

I've followed the msdn article to create a webparts display modes menu. The articles shows you how to create a usercontrol to change display modes. Since I'm going to be using it in almost all the applications where webparts are used, I thought of converting Read More

My photo with Dimitry Robsman

Do I have to tell you guys who's Dimitry Robsman, any ASP.NET developer show already know who he is. Any way, for those of you who don't know him, here's a short bio taken from his blog              "Dmitry Read More