<January 2009>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

Post Categories

Navigation

Subscriptions

New DevNugget: Consuming RSS in ASP.NET 2.0
I've got a new DevNugget up, and this one demonstrates how to consume an RSS feed in ASP.NET 2.0, using the XmlDataSource control and a DataList control bound to it, with a little XPath thrown in for seasoning. You can view it here.

posted Monday, September 26, 2005 11:33 PM by admin with 0 Comments

Code-Free Authentication and Authorization in ASP.NET 2.0
My latest DevNugget is up, this one focusing on Code-Free Authentication and Authorization in ASP.NET 2.0. In it, I demo setting up a protected folder, configuring forms authentication and authorization using the ASP.NET web-based Configuration Tool, and adding a login page, all in less than 8 minutes.

posted Saturday, September 24, 2005 2:25 AM by admin with 0 Comments

The Channel 9 Song

This is very nicely done...

http://channel9.msdn.com/showpost.aspx?postid=118332

WARNING: there's a bit of mild potty humor near the end, if you're sensitive about stuff like that.

posted Saturday, September 24, 2005 12:40 AM by admin with 0 Comments

Looking for Team Foundation Server source control converters?

Here are a couple, for Visual SourceSafe, and ClearQuest:

VSS:

http://msdn2.microsoft.com/en-us/library/ms181246(en-us,vs.80).aspx

CQ:

http://msdn2.microsoft.com/library/ms181248(en-us,vs.80).aspx

The team responsible for these converters is looking for real-world testing, so if you use them (please back up first, after all, this is still beta stuff!), let me know what your experience is, and I'll be happy to pass the information along to the folks responsible.

posted Friday, September 23, 2005 4:31 PM by admin with 0 Comments

(unofficial) Snippet Solution for ASP.NET

One of my favoritest features in Visual Studio 2005 is Code Snippets. Code Snippets are XML-based definitions of commonly-used code that you can insert into your classes (VB, C#, or J#) or XML files via right-click or menu selection. In addition to a huge number of snippets that ship out of the box, you can also define your own Code Snippets and save them to your Code Snippets folder(s) (look under My Documents > Visual Studio 2005 > Code Snippets), and the IDE will pick them up automatically and make them available to you via the Insert Snippet context-menu item. There's even a built-in XML snippet that contains a skeleton definition for a snippet, to help you get started creating your own (just create a new XML file, right-click in the XML editor, select Insert Snippet, and then double-click the Expansion item and look for the Snippet entry).

One of the things that kind of bummed me out about snippets, though, was that there isn't any official support for inserting snippets into the markup of an ASP.NET web form (you can use snippets in code-behind, of course, just as with any class). When you right-click in the markup view of a .aspx page, no "Insert Snippet" item...boo-hoo.

Well, it's completely unsupported, and not guaranteed to always work, but I've found a hack workaround that allows you to insert snippets into an ASP.NET web form...simply open the .aspx file by right-clicking it in Solution Explorer, and selecting Open With..., then choosing the XML Editor. Now, when you right-click in the editor, you'll get the context menu item for Insert Snippet, and can insert any snippets saved into the XML snippets folder. So you can create a snippet containing ASP.NET markup, drop it into that folder, and take advantage of it via this hack.

Keep in mind that when you have a .aspx file open in the XML editor, you won't get proper Intellisense for ASP.NET tags, so it's best to open the file in the XML editor, insert the desired snippet, save, then close the file and reopen it normally to take advantage of Intellisense, etc.

A little birdie tells me that full snippet support is on the list for the next version of Visual Studio, but until then, this little trick should allow you to take advantage of snippets, even without official support...just don't email me any nasty-grams if it doesn't always work perfectly! As I said, it's a hack. :-)

posted Thursday, September 22, 2005 2:23 AM by admin with 0 Comments

The Finalizer

Heh. Forgot about this at Tech-Ed over the summer...check out the video...too funny!

http://www.finalizer.net/

posted Wednesday, September 21, 2005 1:30 AM by admin with 0 Comments

Visual Studio 2005 Launch Center

From the peeps at HQ:

Visit the Launch Tour 2005 Knowledge Center

Prepare yourself for the upcoming SQL Server 2005 and Visual Studio 2005 launch with the latest MSDN Webcasts, MSDN Virtual Labs, and Microsoft E-Learning courses. Learn more at the Launch Tour 2005 Knowledge Center.  

posted Wednesday, September 21, 2005 12:27 AM by admin with 0 Comments

J Sawyer & co. are remarkable!

A fellow DE who covers South Texas, J Sawyer, and a team of Microsoft developers (including local SQL guru Jim Dugan), have been working their tails off to put technology to use to help victims of Hurricane Katrina. The result: KatrinaSafe.com, a web application (and more) devoted to helping those who've been separated from their loved ones find one another.

At last report, it looked like their preliminary efforts had already come up with 9 nearly perfect matches, which is pretty amazing given that this is an application they've developed in just a matter of days.

My hat's off to J, and to all of the folks working on this application. They are great examples of how individuals, and the companies that support them, can make a huge difference in difficult times.

posted Friday, September 09, 2005 4:24 AM by admin with 0 Comments

File System Web Sites in ASP.NET 2.0

I'm pleased to announce my inaugural DevNugget, on creating and using File System-based web sites in ASP.NET 2.0.

What's a DevNugget? It's a short technical demonstration of a specific feature of interest to developers. Most DevNuggets are 5-8 minutes long, so they're a great way for busy folks to pick up small chunks (or nuggets) of information about new technologies. I'll be posting more DevNuggets soon, so check back regularly.

I've also added a new category for my DevNuggets, so if you want to track them via RSS, you can do that, too!

posted Friday, September 09, 2005 3:15 AM by admin with 0 Comments

Input Validation Resources for ASP.NET
Anil Johnpoints out some good resources for dealing with input in ASP.NET:
 
One of the basic tenets of secure coding is that ALL input is EVIL and should be validated and sanitized before being allowed into the application.  This is also definitely an area where a lot of mistakes can be made.
 
The PAG folks have written a set of modular How-To's to tackle the finer points of injection attacks and as such implement effective input validation in your ASP.NET Applications. The guidance covers both .NET 1.1 and 2.0.
 
Check them out:
 
 
Very important information…read it, and live it.

posted Tuesday, September 06, 2005 5:53 PM by admin with 0 Comments

Cool web app helper from Nikhil Kothari
Nikhil Kothari, of the Web Platform and Tools team (i.e. - the folks responsible for ASP.NET) posts a browser extension utility to help with ASP.NET development, including providing an indication in the browser of whether debug and tracing are enabled, as well as allowing the viewing of trace information and viewstate in a separate window from the main browser window. Neat stuff.
 
Via Mike Sax
 

posted Tuesday, September 06, 2005 5:43 PM by admin with 0 Comments

Software Factory information
Here are some resources for folks interested in learning about the topic of Software Factories, which is a central concept in Visual Studio 2005 Team System.
 
Articles
http://lab.msdn.microsoft.com/teamsystem/workshop/sf/default.aspx
 
Visual Studio Team System: What is a software factory? - http://lab.msdn.microsoft.com/teamsystem/workshop/sf/whatis.aspx
 
The case for Software Factories - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmaj/html/aj3softfac.asp
 
Problems and Innovations: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/softwarefactwo.asp
 
Software Factories: Assembling Applications with Patterns, Models, Frameworks, and Tools - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/softfact3.asp
 
A Software Factory Approach to HL7 Version 3 Solutions - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/hl7softfac.asp
 
The case for Software Factories - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmaj/html/aj3softfac.asp
 
Blogs
The following blogs have pointers to Software Factory info:
 
http://blogs.msdn.com/keith_short/ (RSS)
 
http://blogs.msdn.com/stevecook/ (RSS)
 
http://blogs.msdn.com/jackgr/ (RSS)
 
Training
Clinic 2551: Introduction to Visual Studio Team System – https://www.microsoftelearning.com/eLearning/offerDetail.aspx?offerPriceId=66794
 
Description: This clinic will provide both Business Decision Makers (BDMs) and Technical Decision Makers (TDMs), Architects, Developers, Testers, and Project Managers with an introduction to Visual Studio Team System. This introduction will explain what the product is, how it relates to the software development lifecycle and how processes such as MSF fit it.

posted Tuesday, September 06, 2005 5:36 PM by admin with 0 Comments

Another Least Privilege Site

Entitled, appropriately enough, http://www.leastprivilege.com/.

Some good posts:

  • A link to some good info on ASP.NET 2.0 configuration from local guru K. Scott Allen (who, I should note, will likely be speaking again at our upcoming Security Code Camp).
  • A sample ASP.NET 2.0 Membership Provider that uses the <credentials> section of web.config for storing credentials.

 

posted Friday, September 02, 2005 4:07 AM by admin with 0 Comments

Calling Web Services in an ASP.NET 2.0 File System Web Site

One of the neat new features of ASP.NET 2.0 is the ability to develop web sites that exist simply as a folder within the file system...no IIS vdir, no admin privileges required, very simple. Browsing and debugging are accomplished using a local-only web server based on the Cassini web server that shipped with ASP.NET Web Matrix.

There are some tricks to this, however. Notably, things like authentication when calling web services. If you've tried calling a local file system based web service from a local file system based web site, you know what I mean. Attempting to call the web service results in a 401: unauthorized error.

Marcel de Vries describes a way to work around the issue here.

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

Cool video on Independence Air and .net

One of our great partners, in my district and others, is RDA Corporation. RDA stepped up for the community in a really big way last spring, contributing an entire track on Service-Oriented Architecture to help make our inaugural Code Camp a success.

One of the folks I work with at RDA just emailed to let me know about a great video and case study they put together with Microsoft about how they helped Independence Air cut their operating costs and reduce downtime on their website by moving to .net from linux. Independence Air relies on the web to keep their costs low, so they can offer low fares, so it's definitely worth checking out their story to understand why linux, though cheap to acquire, may not be so cheap in the long run. They're also a testament to the role that partners play in Microsoft's success, and in the success of our customers.

You can find links to the video and case study on RDA's home page.

Also of note: RDA was named Partner of the Year for Microsoft's Southeast District for their great work with Microsoft customers.

 

posted Wednesday, August 31, 2005 6:35 PM by admin with 0 Comments

Powered by Community Server, by Telligent Systems