Home / ASP.NET Weblogs

April 2006 - Posts

Posted to:

Making the sample XmlSiteMapProvider updatable with Cache dependencies.

One feature that isn't availible in the source for the XmlSiteMapProvider we released is the ability to update when the web.sitemap file has been updated. The reason we couldn't provide this is that the mechanism we use inside XmlSiteMapProvider relies on some internal methods which map down to native calls. Now, this can easily be done with cache dependencies but we chose not to modify the code that way so that users would see how the providers were actually coded and not some version designed to mimic the providers. However, since this is clearly a nice feature and relatively easy to implement, we elected to blog on it after-the-fact. Here you go, there's only a few line changes: First, you need to hook up the handler. XmlSiteMapProvider:544...
Filed under:
Posted to:
by: 
04-17-2006, 4:19 PM

Did you mean: hgdgf?

I was testing the network connection on my laptop a few minutes ago and typed some random characters in Google (hgjhgk), just scrambling fingers on the keyboard. To my surprise, I got ten pages of results (of which this post will soon be part): http://www.google.com/search?hl=en&q=hgjhgk More surprisingly, Google is asking me if I really meant "hgdgf". Err, I mean, not exactly, but whatever. So I clicked on the link out of curiosity and it seems like there is a gangsta rap singer named hgdgf who authored an album named "Jhehjhrfjkd". The lyrics are even more interesting (I hope I'm not infringing any copyright here): "hjgdjgfdhfghjsdgfjhegfhjegjhgfduzfusrdjksfgdjfgjdsghfuifj ghuzfuzgfgrzzrzrhhrhhhrrjjkfurirjjfufurjrfurujrufufhrhfifzrhjrfhrfufhjrifurhfiuh...
Posted to:

Spell check your ASP.NET Website with Visual Studio 2005

This is the type of plug-in that I wish I had last week :) Mikhail has built an amazing plug-in for Visual Studio 2005 that enables you to spell check an ASP.NET page (in source view). It has all the smarts to ignore the semantic markup and only check the content. It leverages the Office 2003 spell-checker. Definitey a great addition for anyone who is building content for the Web. Details at: http://blogs.msdn.com/mikhailarkhipov/archive/2006/04/17/577471.aspx Let us know what you think! Read More...
Filed under:
Posted to:

Wishful Thinking - Date Literal Syntax for JSON

Why doesn't JavaScript include a literal syntax for Date objects? This results in a wrinkle in the otherwise simple and elegant JSON-based serialization used in AJAX apps. Heres a proposal... Read More...
Filed under:
Posted to:

In case you see compile slowdowns upon adding Toolkit stuff to your website

A customer reported this problem. If you're seeing this, it probably means you forgot to install the April CTP . The problem is that the verson of Atlas that ends up in your bin directory doesn't match the one in your ..."program files\Microsoft ASP.NET\Atlas\v2.0.50727\Atlas" directory. Your project has a update pointer to the older version but gets the newer version in the bin directory and this causes compile times to slow down. Resolution steps: 1) Make sure you've got the April CTP in the directory above (it should have a date of 4/7/06) 2) Delete the .refresh files from your website\bin directory Read More...
Posted to:

Bertrand talks about Atlas and browser compat

I've seen a few mentions of how well the toolkit stuff does (or doesn't) work in Safari. We chose to focus on IE and Firefox for our first release, not only for resource reasons (there's just three of us!) but because of some of the reasons mentioned in Bertrand's blog . What we can make work in Safari (especially as Atlas support continues to improve, they're not even beta yet!), we will. Read More...
Posted to:
by: 
04-14-2006, 2:28 PM

Source to the StaticSiteMapProvider and XmlSiteMapProvider (and others) availible for download.

I might be more excited about this than I was about the Web Application Projects preview we just released... One of the last things I worked on in the ASP.NET runtime test team was validating a version of the sources of our providers so that users could download them and see first hand what our design practices are. That work is finally availible to you. I spend a large portion of my blogging efforts and forum responses trying to promote good designs or revealing little snippets of how we implemented the StaticSiteMapProvider and the XmlSiteMapProvider. Now, the sources for these providers are availible for download all ASP.NET users and users can see examples of well written providers or copy the code to help bootstrap their own projects. Download...
Filed under:
Posted to:

Source to the StaticSiteMapProvider and XmlSiteMapProvider (and others) availible for download.

I might be more excited about this than I was about the Web Application Projects preview we just released... One of the last things I worked on in the ASP.NET runtime test team was validating a version of the sources of our providers so that users could download them and see first hand what our design practices are. That work is finally availible to you. I spend a large portion of my blogging efforts and forum responses trying to promote good designs or revealing little snippets of how we implemented the StaticSiteMapProvider and the XmlSiteMapProvider. Now, the sources for these providers are availible for download all ASP.NET users and users can see examples of well written providers or copy the code to help bootstrap their own projects. Download...
Filed under:
Posted to:

The Toolkit in action: Hooking up the CasdcadingDropDown

The "Atlas" Control Toolkit makes it super easy to add great usability features to your website. One of the things people regularly want to do is to create a "cascading" set of DropDownLists, where the value of each populates the values below. The "Atlas" Control Toolkit contains a great extender to make this super easy to set up. It does all of the population of the lists using an async call to a web service, which allows you to filter and cache the data on the server side and easily integrate it into your page. Go here to download and install the toolkit, and the Atlas April CTP if you don't already have it. Once you've got it installed, you can see demos of all the controls in the toolkit. Note that, like Atlas, this toolkit is an early version...
Filed under: ,
Posted to:
by: 
04-14-2006, 1:31 PM

XmlHttpRequest now a W3C standard

Contrary to what I said in my previous post, XmlHttp is now a W3C standard (draft): http://www.w3.org/TR/XMLHttpRequest/ (found via Christian Wenz , who is the author of an excellent book on Atlas ) On a side note, it's also natively implemented in IE7 which means no more ActiveX. Share this post: Email it! | bookmark it! | digg it! | reddit! Read More...

< Previous 1 2 3 4 5 Next >

Archives