<January 2009>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

Post Categories

Navigation

Subscriptions

Asp.Net 2.0: Atlas RC

Atlas RC aka Microsoft Pre-release software code named "Atlas" is available for download. It is supposed to work with VS2005 RC.


[ via Rick Strahl ]

posted Wednesday, September 28, 2005 12:35 AM by admin with 0 Comments

.Net Framework 2.0: Generic Collections

Krzysztof Cwalina talks about how the new .NET Framework 2.0 generic collections relate to the non-generic collections in .Net Framework 1.0/1.1.


[ via .NET Undocumented ]

posted Tuesday, September 27, 2005 5:15 AM by admin with 0 Comments

Visual Studio .Net: Debug Script Code

Since it is a very common problem to make Visual Studio debug client script code, here is great whitepaper -- Word: How to Debug Script Code Using Visual Studio .NET by Microsoft. You can find here detailed explanations and screenshots. In addition all possible scenarios are summarized in this document:


  1. Client-side script inside .aspx pages in a web application
  2. Server side script (VBScript or JScript code embedded in a classic .asp or .asa
  3. If the page is not inside a web application
  4. If the page is part of a web application project
  5. If the page is part of a web application project created on a remote machine
  6. Debugging Both Script and Managed Code

posted Sunday, September 25, 2005 2:28 AM by admin with 0 Comments

MSSQL 2005: XQuery Implementation in RDBMS

Microsoft whitepaper: PDF: XQuery Implementation in a Relational Database System


"The upcoming release of Microsofts SQL Server 2005 allows storage of XML data in a new, rich data type called XML. This data type stores both rooted XML trees and XML fragments in a binary representation (binary XML). The query language on XML data type is a subset of XQuery, an emerging W3C recommendation (currently in Last Call) that includes the navigational language XPath 2.0. It is supported using the relational query processing framework with some enhancements. SQL Server 2005 also supports a data modification language on XML data type for incremental updates, which is not discussed further in this paper. This paper discusses the XQuery processing architecture in SQL Server 2005 and how XQuery expressions are compiled into query trees containing relational operators and a small number of new operators introduced for the purpose of XQuery processing. An XQuery expression is parsed and compiled into an internal structure called the XML algebra tree on which rule-based optimizations are applied. This is followed by a transformation of the XML algebra tree into the relational operator tree. This paper describes some of the interesting aspects of the implementation instead of being a comprehensive manual on the subject."


Enjoy


[ via Michael Rys ]

posted Sunday, September 25, 2005 1:55 AM by admin with 0 Comments

Asp.Net 2.0: Atlas Hands-on Lab

Hands-on Lab ASP.NET Atlas template for Visual Studio .Net Beta is ready for download. Right now I'm exploring Microsoft.Web.Atlas.dll with Reflector. Enjoy

posted Friday, September 23, 2005 3:28 AM by admin with 0 Comments

IE Developer Toolbar: Feedback

IE weblog announced IE developer toolbar, so I downloaded it and played a little bit.


What I like:


  1. DOM explorer
  2. Outline tags
  3. Images report
  4. View cookie information


What I don't like:


  1. It totally messes up my Google toolbar
  2. It is slow
  3. It is not configurable
  4. No tooltips, poor design, etc
  5. Features like: "Disable", "View access keys", etc
  6. IE blog link ? - give me a favor, you can put it inside "About Form"
  7. It is not smart, I mean - not updatable, etc
  8. Fiddler ?


I understand it is still in beta, but you should have tested it together with other toolbars installed to start with.

posted Sunday, September 18, 2005 4:06 AM by admin with 0 Comments

Asp.Net 2.0: Rick Strahl talks about Page Inheritance

Rick Strahl talks about some issues concerning Page inheritance in Asp.Net 2.0 and Visual Studio environment.


I can say in addition (from my experience with the new model) that there are many issues and problems in it. It is pretty raw right now and sure will remain such upon the release. It is pretty nice in the demos and sample projects, looks clean. But when it comes up to the serious project or some advanced asp.net stuff, you have to struggle and create workarounds to make things work :(

posted Saturday, September 17, 2005 6:43 AM by admin with 0 Comments

Enterprise Library 2005: Event Handling Application Block

FrancoisTanguay just posted Event Handling Application Block to gotdotnet user samples.


"Based on the August CTP, this is a first attempt at creating a new application block. It is intended to simplify greatly how event handlers should be written by providing a policy-based mean of adding aspects or decorators to most event handlers. Exception Handling, Tracing, Weak Events, One Way events, Redirections, Cursor Handling are amongst aspects already defied. - It is entirely based on generics. - Unit tests are provided. - Easy to extend. - No documentation yet."


Enjoy (it is VS2005 format solution)

posted Saturday, September 17, 2005 2:59 AM by admin with 0 Comments

.Net Framework 2.0: DAAB in Enterprise Library

Tom Hollander talks about the upcoming changes in the future release of Data Access Application Block (DAAB) as a part of Enterprise Library for .Net Framework 2.0.


"ADO.NET 2.0 provides some important new features that have allowed us to simplify the design of the DAAB. For example, the new DbProviderFactory and its provider-specific subclasses are now used to create the commands and connections used by the block. In addition, to simplify the architecture we have eliminated DbCommandWrapper class in the previous Enterprise Library DAABs. As a result we have moved the methods that were on DbCommandWrapper have been promoted to the Database class. This should be the only breaking change from the previous Enterprise Library DAAB."


Yes, sort of ...

posted Friday, September 16, 2005 3:11 AM by admin with 0 Comments

Asp.Net 2.0: Atlas project and Microsoft.Web.Atlas.dll

Atlas project went live yesterday and Scott Guthrie talks about Atlas in general:


"Our plan with Atlas is to eschew the traditional two-betas and then RTM model that we often use with big projects at Microsoft, and instead move to a model where we ship very often (at least once every month and often more frequently then that), get feedback as early as possible, share our ideas out in the open (even when they are not 100% baked), and above all use the broader developer community to make sure we build the right technology. All of the client-library code is shipped as standard .js files that you can read and look over to see what we are doing. Note that we have deliberately not removed white-space, obfuscated, or compressed them down our goal right now is to preserve developer readability (note: when compressed the entire Atlas client library is around a 32k download and cacheable on the client -- although typical scenarios will usually use only a subset of the .js files, so it will be even smaller than that). Please give us your feedback on the forums, tell us what you like and dont like, and how we can build the right product you want to use."

posted Friday, September 16, 2005 2:46 AM by admin with 0 Comments

Google Maps .NET Control Part 2

Bill Pierce posts Google Maps .NET Control Part 2. See my previous post on the issue. Enjoy

posted Wednesday, September 14, 2005 12:13 AM by admin with 0 Comments

Bill Pierce on AJAX

Another good one by Bill Pierce about Client Side Framework aka AJAX aka Asynchronous JavaScript And XML.


"With a few lines of JavaScript, we can now initiate an Asynchronous request for a web page. Asynchronous means the request is made and the user doesnt have to wait for the page to load or stare at an hourglass waiting for something to happen. The web request means we can now have seamless interoperability between client code (ala JavaScript) and server code (ASP.Net, JSP, PHP, etc). If you didnt say WOW you should at least be thinking it. With a little digging you can find a number of examples on how to use the XmlHTTPRequest object. The goal of this article is to develop a framework for using the XmlHTTPRequest object in conjunction with ASP.Net."

posted Sunday, September 11, 2005 4:00 AM by admin with 0 Comments

Google Maps .NET Control

Lat Lays Flat - Part 1 : A Google Maps .NET Control article on www.codeproject.com by William C. Pierce.


"...As I stated above, my main goal for this control was to make it easy to use a Google Map using .NET languages. I also tried very hard not to use any fancy or proprietary "hacks" or workarounds when creating this control."


Excellent. Including source files and help files.

posted Sunday, September 11, 2005 3:27 AM by admin with 0 Comments

Rick Strahl on ASP.NET Architecture

Rick Strahl posts an article on How Asp.Net works or "A low-level Look at the ASP.NET Architecture".


"With ASP.NET you can perform tasks that previously were the domain of ISAPI extensions and filters on IIS with some limitations, but its a lot closer than say ASP was. ISAPI is a low level Win32 style API that had a very meager interface and was very difficult to work for sophisticated applications. Since ISAPI is very low level it also is very fast, but fairly unmanageable for application level development. So, ISAPI has been mainly relegated for some time to providing bridge interfaces to other application or platforms. But ISAPI isnt dead by any means. In fact, ASP.NET on Microsoft platforms interfaces with IIS through an ISAPI extension that hosts .NET and through it the ASP.NET runtime. ISAPI provides the core interface from the Web Server and ASP.NET uses the unmanaged ISAPI code to retrieve input and send output back to the client. The content that ISAPI provides is available via common objects like HttpRequest and HttpResponse that expose the unmanaged data as managed objects with a nice and accessible interface."

posted Saturday, September 03, 2005 5:47 AM by admin with 0 Comments

Primary Key: INT vs. GUID

znichter nails it.


"The GUID is a wide column (16 bytes to be specific) and contains a unique combination of 33 uppercase and numeric characters. This column because it is the primary key is going to be stored in, of course, the clustered index (unless specified to be a non-clustered index), and will be the page pointer for each leaf page in a non-clustered index. Also, if a GUID is used instead of an integer identity column then the 33 characters need to be matched for each row that is returned using that column in the where clause. If a high volume of inserts are done on these tables then GUID's being large will contribute to page splits, as will the fact that NEWID() generates a random value, which could place a new record on any of the data pages will cause performance problems."


My 2 cents. Don't use GUID as PK if you don't need to because:


  1. table row size limit in MSSQL
  2. storage + memory. Imagine you have tables with 10000000 rows and growing
  3. T-SQL operators available for INT like >, <, =, etc
  4. GUID is not optimized for ORDER BY/GROUP BY queries

posted Friday, September 02, 2005 3:57 AM by admin with 0 Comments

Powered by Community Server, by Telligent Systems