ASP.NET News from Blogger:
Marc's Musings
Total News: 83
Now that Microsoft has patched the POET vulnerability, I thought it would be instructive to see what they changed. Now I'm not masochistic enough to disassemble aspnet_wp.exe or webengine.dll so there...
My last post was 18 months ago... I deleted the two that followed it because they were time-sensitive. I've been sucked into twitter, StackOverflow, parenthood and real life.
Coming soon, I hope, wil...
I just noticed a really cool article on using Microsoft's new SQL Server Data Services which explains how to use cURL at the command line to talk to the SSDS RESTful interface.What's cURL?If you've ne...
A while back, we were looking for an easy way to count "hits" against content in a CMS-like system. For the sake of discussion, pretend we have a table called ContentEntry that represents th...
So, hash has been on my mind lately. No, not that kind of hash, or that kind either. First, there was last week, when I installed Internet Explorer 8 beta 1. I was reading the releas...
It seems there are several not-very-overlapping audiences for this blog. There are people reading for the SQL stuff, especially the datetime related stuff. There are people reading for the Lightweight...
Today I released a new version of the UriPattern and UriTemplate library on CodePlex (previously announced here). There are two changes in this release:A bug reported by Darrel Miller where the meta c...
Introduction Checking out a new blog today [Davy Brion's Blog] I stumbled across a very nice entry about Implementing A Value Object. Go read that now if you don't know what a value object is, what im...
This is not right:internal static bool DoesDbExist(SqlConnection conn, string database){ using (SqlCommand cmd = conn.CreateCommand()) { &nbs...
I've just created a new project on CodePlex, and it's got the first (and hopefully only) release available. Enjoy UriTemplate. Some background whining... I admit that sometimes I get a little jealous...
Thanks to some amazing work by Piyush Shah of Microsoft, the ASP.Net RssToolkit originally authored by Dmitry Robsman has grown up big and strong! The new release adds some awesome features that many ...
Anyone who has been bitten when going from SQL Server 2000 to SQL Server 2005 due to the (intentional) decision by Microsoft to ignore the ORDER BY in a VIEW that returns the entire result set can now...
The fine folks at Attrice have just released version 1.3 of the Team Foundation Sidekicks. This time, they have added something very near and dear to my heart -- the ""Shelveset Sidekick"". If y...
So I was persuing the April release 3.0 of the Microsoft Enterprise Library code and noticed this amusing little bit of code in the CachingStoreProvider.cs file:private ICacheItemExpiration[] GetCache...
While looking for sample code for simply cross-domain single sign-on for a new project, I stumbled across Micheal Morozov's excellent detailing of six different common meanings when someone talks abou...
Who out have expected this outcome?Amazing, really, that parents that struggle through the convoluted course of modern adoptions seem to care for thier children more than biological parents. I'm so th...
Once again this year, I wish you all a wonderous and happy International Zebra DayEvery year January 31st, since 1978, I and many like me okay, maybe not like me have celebrated the joys of God's grea...
A javascript client-side implementation of the WHATWG Web Forms 2.0 repetition model.Awesomely cool.
...
The step-by-step progression of how to recover a SQL Server database gone bad. Pop Rivett and the Suspect Database.
...
In February of 2006, Dmitry Robsman released a very cool RSS Toolkit that eases both consuming and publishing RSS feeds in an ASP.Net application.The RSS toolkit includes support for consuming as well...
My IFilter Text Extractor that I mentioned previously has now been uploaded to it's new CodePlex home. If you have any enhancement requests or problems, please use the appropriate forums on CodePlex.I...
I've discovered that you can't install the .Net Framework Language Packs on Vista. They all claim to have already been installed, yet the localized resources directories are not present.Looks like the...
Since I get so many hits for my various SQL DateTime articles, I thought I would point out an awesome contribution by Mladen Prajdic on building a UDT for SQL Server 2005 in CLR that gives you al...
It's a blast from the past! On the Developmentor Advanced .Net mailing list recently, there was a bit of discussion about doing text extraction from Word documents. This is something I did in a past l...
Haibo Luo's most-excellent tool for IL visualization just got a bunch better. I could not have built my Dynamic class without this tool, it's just plain awesome. The new version adds support for ...
Not that I like the "version number" any more than I like the whole Web 2.0 thing, but YAY! Get the goods here. Technorati tags: WFP, WCF, WWF, InfoCard, Microsoft, Windows Workflow Foundation...
I've had this one in the hopper for a while, but recently people have been asking, so...I was curious about why my Dynamic Reflection Library code was benchmarking as 6% faster than native code (e.g. ...
First off, if you don't lurk on CodeProject, I mock you... but assuming you either don't, or just missed this one, Gnter Prossliner posted a great bit of code that lets you dynamically "implement" a...
I keep hearing that nobody can find a decent developers. Of course finding decent jobs can be a bit tough, but now the fine guys at The Daily WTF have come up with a great way to syndicate job listing...
By now you all realize that IE7 has been released on the 18th. And now we have a report of the first vulnerability. This one is purported to be a problem with the way that IE handles redirections that...
For your ease of access and better place for any bug-reports or enhancement requests, I've placed my Dynamic library on CodePlex.
...
It was the best of times, he's posted again:
It's been over two years since I blogged.
It's was the worst of times:
...I left the CLR team and the Developer Division
So it seems that the only way...
Percentages are boring, but what if you mapped many statistics about the world population down to a population of 100. What would the world look like. Check out this presentation on the miniature Eart...
I'm very pleased with my experiences thus far with Team Foundation. It's version control tools are excellent, the work item stuff is very flexible, but in truth I haven't worked with much of the rest ...
How many times have you downloaded a .Net project from somewhere and unzipped it to find all kinds of kruft that should NEVER have been shipped to anyone? Things like .SUO files, .USER files, the obj ...
In this post comment, I was asked about how to do creation of method delegates whose types can vary somewhat when using the Dynamic class. It's really a matter of using the unspecified form of a gener...
Ahhh, the warm feelings of nostalgia wave over me... in less than a month, I get to see if the sweet memory is a suite reality. Check out the New Turbo C++/Turbo Delphi/Turbo C# homepage.
...
The new declarative model for data sources in ASP.Net 2.0 is very seductive in its simplicity. I've all-too-often seen people doing date-picker and time-pickers by listing the times individually in Li...
I use RSSBandit as my feed reader, and it is awesome. I noticed, however, that it was having issues with the forum feeds from ASP.Net. A typical feed from there looks like this http://forums.asp.net/r...
I've updated the Utilities.zip and DynamicComparer.zip files with my latest cleanup of the DynamicCall stuff. This version fully supports static methods is much simpler, uses less working set and is f...
In my AcquiringObjectDataSource articles part three I promised to show what things look like using the DynamicCall library I've previously posted. In doing that, I've had to make the DynamicCall stuff...
In the continuing saga of my replacement for ObjectDataSource and ObjectDataSourceView, I have had to reimplement some of the methods in those classes. This is done, of course, by using Reflector to s...
In part one of this little series, I introduced the first player in our little play, AcquringObjectDataSource. Quite literally, the only reason that class was necessary was to insure that we create a ...
What's the deal?If you have ever tried to use ObjectDataSource with any O/R Mapper or just business entities that have "persistent state", you no-doubt know the issues I've whined about. It really b...
It's evidentally SQL week here at Chez Brooks. Today I needed a really high performance query to deliver a date range table between two dates. Simple, and there seem to be tons of variants out there, ...
Building on this First/Last day of month post (oddly, one of the main ways people seem to land on my blog), here are some other commonly needed SQL queries:Beginning of periodMidnight of any day (i.e....
Once again I've devoted some time to the exorcism of the daemons of Reflection. This time, I'm chasing the cost of calling MethodInfo.Invoke against an arbitrary (chosen at run-time) method.
In previ...
Noah Coad finally comes up with a concise and simple to follow syntax for giving written driving directions. I love it and plan to adopt it post-haste. I'm only changing two things. I'm putting a slas...
When looking into why I was getting immediate notifications of a SQLDependancy being changed, I discovered a really nice MSDN2 page that documents the things to watch out for,
Special Consideration...
Regular readers of my blog (all 14 of you), will know that I'm a stickler for handling exceptions correctly in applications. I strongly believe that you should only catch exceptions you can handle, ne...
View Other bloggers