Home / ASP.NET Weblogs

September 2007 - Posts

Posted to:
by: 
09-12-2007, 1:19 AM

Update for the iPhone Update

After installing the iPhone 1.01 software update, iPhone users may notice that what used to be an asynchronous request from the browser is now a syncrhonous request. They may notice other symptoms of an underlying problems as well. The update changes the way regular expressions are processed by the Safari browser and adversely affects a regular expression used by the Microsoft AJAX Library for JSON serialization. An updated regular expression preserves the functionality and works with the new Safari behavior. The regular expression is in a script file served from the System.Web.Extensions.dll on the server by default. Here are the set of steps you can take to have the scripts served from the file system instead with an updated version compatible...
Filed under: , ,
Posted to:
by: 
09-08-2007, 2:52 AM

LINQ to SQL (Part 9 - Using a Custom LINQ Expression with the <asp:LinqDatasource> control)

Over the last few weeks I've been writing a series of blog posts that cover LINQ to SQL. LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the .NET Framework 3.5 release, and which enables you to model relational databases using .NET classes. You can use LINQ expressions to query the database with them, as well as update/insert/delete data. Below are the first eight parts in this series: Part 1: Introduction to LINQ to SQL Part 2: Defining our Data Model Classes Part 3: Querying our Database Part 4: Updating our Database Part 5: Binding UI using the ASP:LinqDataSource Control Part 6: Retrieving Data Using Stored Procedures Part 7: Updating our Database using Stored Procedures Part 8: Executing Custom SQL Expressions In...
Filed under: , , ,
Posted to:

Rendering ASP.NET Controls out of order

I receive a lot of comments and emails stemming from my series of articles on understanding the nuances of dealing with dynamic controls . It's interesting that so many of these requests revolve around very similar problems. One such theme is where you...( read more ) Read More...
Filed under: , , ,
Posted to:

How to build a cross-browser history management system

When we built the history management feature in ASP.NET Futures, we spent considerable time experimenting with the different behaviors of the main browsers out there. The problem with such a feature is that it has to rely on a number of hacks because browser vendors basically never anticipated this need. Now they're thinking about it, so all this may be simplified in a few years, but in the meantime, it's a very complicated feature to build. One of the things that struck me was how little reliable literature is available on the subject. There is a lot of partial information, lots of false or unverified information, but very little that's really comprehensive, reliable and up to date. Good references I found include Brad Neuberg's Really Simple...
Posted to:

Yes, my blog's been quiet for a while

But I have a good reason. Well, a couple of good reasons, actually, but one in particular. I should be able to talk more about it here within a week or two... Oh, I also finally got to using Windows Live Writer for my blogging. This thing is very cool and works with most blogging packages. Highly recommend checking it out; SO much nicer than using the traditional web interfaces, etc. It definitely makes it easier to blog more often. Oh no, there goes another excuse. Read More...
Posted to:
by: 
09-07-2007, 12:17 PM

Are you using the Toolkit on your website?

We're working on making the Toolkit home page better, and one of the things we're going to add is a showcase showing some great sites using the Toolkit. The showcase will be very similar to what you see for the ASP.NET AJAX showcase that's already there, Kirti has all the details on her blog . She's got instructions for how to submit. We're already getting submissions, so get yours in. We'll pick the best and put them up for our showcase. It's a great way to draw some more traffic to your website! Read More...
Posted to:
by: 
09-05-2007, 1:37 AM

Silverlight 1.0 Released and Silverlight for Linux Announced

Silverlight is a cross platform, cross browser plug-in that enables designers and developers to build rich media experiences and .NET based RIAs for the web. I first blogged about Silverlight back in May after we announced it at our MIX conference in Las Vegas. Silverlight 1.0 and Expression Encoder 1.0 Released Today we shipped the Silverlight 1.0 release for Mac and Windows on the web. Silverlight 1.0 is focused on enabling rich media scenarios in a browser. Some of its features include: Built-in codec support for playing VC-1 and WMV video, and MP3 and WMA audio within a browser. The VC-1 codec is a big step forward for incorporating media within a web experience - since it supports very efficiently playing high-quality, high definition video...
Posted to:
by: 
09-04-2007, 11:32 PM

Hyperlink your source code

I just noticed that Vance Morrison posted the source code to his latest project ( Hyperaddin for Visual Studio) on CodePlex. I have long thought that source code comments were not enough to explain what is really going on... often you need to refer the read to other methods or areas of the code. Well, luckily for me, Vance and gang saw the same problem and went out to solve it. Here are a few simple examples: You can refer to a function or type (or any other symbol), but using code: name . For example // In this comment I wanted to talk about the code:MethodTable::Unbox method. // By Adding a code: hyperlink, readers can quickly navigate to it. Any name // that can be found using the Edit.FindSymbol (Alt-F12) can be used. If you // need to refer...
Posted to:

TRULY Understanding Dynamic Controls (Part 4)

Part 4 of my series on Truly Understanding Dynamic Controls in ASP.NET. This part covers two of the major scenarios in which you may be loading controls or user controls dynamically, and some of the posting, viewstate, and ID related issues you have probably ran into....( read more ) Read More...
Filed under: , ,
Posted to:
by: 
09-01-2007, 12:09 AM

Demos, Slides and Screenshots from my SecondLife Adventure

My SecondLife experience was certainly novel and I learned a lot in the process. Even though some got " voted off " the island, I hope we were able to reach out to some other folks... Clearly this is an experimental thing... Check out the slides , Silverlight media demo and Silverlight RIA demos if you could not be there. Above are the videos of the demos I did... The first shows a rich media experience with Silverlight on the mac, and the 2nd shows a chess application playing against JavaScript in Silverlight 1.1 running on the mac.. Above is a picture of me at the podium on the Microsoft Island in SecondLife. Above is a view of the conference room during my talk... Kind of funny that even in SecondLife you can get stuck behind the tall guy...

< Previous 1 2 3 4 5

Archives