Welcome to MSDN Blogs Sign in | Join | Help

November 2006 - Posts

SYSK 250: How To Start ASP.NET Development Server Without Visual Studio

Since the introduction of the file system based web projects, the developers life has been greatly improved… That is unless you have to do a demo, or have other reasons why you don’t want to run Visual Studio in the background. So, your options are: Convert
Posted by irenak | 6 Comments

SYSK 249: Choosing the Right Microsoft Integration Technology

SYSK 249: Choosing the Right Microsoft Integration Technology There are a few good sources on this topic, including: 1. “Choosing the Right Technology for Integrating Systems” presentation by Kris Horrocks, Sr. Technical Product Manager of Microsoft Application
Posted by irenak | 6 Comments

SYSK 248: I’m an administrator!!! Why do I get User Account Controls prompts all the time in Vista?

Are you getting a bit frustrated about not being able to do certain things that administrator should be able to do, like run ipconfig /release , and many other commands and tools, and being prompted left and right just so you can say “yes, go ahead and
Posted by irenak | 1 Comments

SYSK 247: Generate BizTalk XSD from SQL Server Generated XML

1.) Use the “FOR XML AUTO, ELEMENTS” syntax. You can use joins for any relationships. For Example: SELECT * FROM Table1 ON LEFT OUTER JOIN Table2 ON Table1.pk_id = Table2.fk_id FOR XML AUTO, ELEMENTS 2.) Copy and paste the resulting text into Notepad
Posted by irenak | 1 Comments

SYSK 246: User-Friendly URLs

Did you know that .NET 2.0 and later versions support URL mapping? Say you have a page with several tabs… You can give virtual page name to each tab, but still have all the code implemented in one physical .aspx file. Or, if you have a page that displays
Posted by irenak | 2 Comments
Filed under: ,

SYSK 245: Are You Using the ‘media’ Attribute In Your CSS?

Did you ever copy and paste some content from a web page into a Word document, just so you can remove the navigation column, or may be remove a header or footer before you print it? I have… many times… And it’s all because those web sites do not take
Posted by irenak | 0 Comments
Filed under:

SYSK 244: Writing Multi-Processor and Multi-Core Aware Applications with #pragma Directives

Imagine being able to create applications that leverage parallel processing capabilities of computers by simply adding a #pragma directive… Before you get too excited, at this time, this is only available for Visual C++. Yes, there are features C++ programmers
Posted by irenak | 2 Comments

SYSK 243: Stopwatch Undercover

The documentation about System.Diagnostics.Stopwatch class describes it as following: “[Stopwatch] provides a set of methods and properties that you can use to accurately measure elapsed time.” I’ll be the first one to admit that I frequently took the
Posted by irenak | 2 Comments
Filed under:

SYSK 242: PDC? TechEd? What about MIX?

Ok, so, probably are not going to be able to go to every professional conference… Which one should you choose? My personal view, formed based on content from previous conferences (read: this is not an official Microsoft statement) is that the PDC’s (Professional
Posted by irenak | 2 Comments

SYSK 241: Generate and Download Animated Progress Indicators for Free… Nothing to install!

Here is all that it takes: Navigate to http://www.ajaxload.info/ Choose an indicator type from 27 available options (as of 11/12/2006) Type in the desired background color or click ‘Transparent’ checkbox Enter the foreground color Click on ‘Generate It’
Posted by irenak | 1 Comments

SYSK 240: AJAX.NET – Resolution for Sys.ScriptLoadFailedException when Opening Login page

Are you getting Microsoft JScript runtime error: Sys.ScriptLoadFailedException: The script '/YourSiteName/ScriptResource.axd?d=ebUIu-RsatQBXvExgP5y3pvOqX2PbIJ6uav4Avk4QzmounX74siwLINKKPmlFz54oTPVrGJa4XpgCYiosTExfEdJoHleHTQaH7TE19A6Hqg1&t=632986009464531250'
Posted by irenak | 8 Comments
Filed under:

SYSK 239: Header/ContentPlaceholder/Footer Without Hardcoding Header and Footer Height Size

A master page is normally comprised of a header, footer and a content placeholder. Keeping a header at the top is very straight forward to implement; so is keeping the footer at the bottom (just set the position attribute to fixed and bottom attribute
Posted by irenak | 3 Comments

SYSK 238: Vista… Six SKUs… Which One Is For Me and Which One Is For My Spouse?

Now that Windows Vista is here, it might be a good time to figure out which version is the best fit for you and the other family members. If just want to do the basics: email, web browsing, document creation and editing, and are not interested in Windows
Posted by irenak | 2 Comments

SYSK 237: What is my Object’s Memory Footprint?

Few days ago I came across the following post published by Chris Brumme back in 2004 at http://www.eggheadcafe.com/community/aspnet/2/9568/here-is-what-chris-brumme.aspx : "We don't expose the managed size of objects because we want to reserve the ability
Posted by irenak | 0 Comments
Filed under:

SYSK 236: Using SQL Server Notification Services API Remotely

Did you notice that all samples (at least all I’ve come across) show how to use Notification Services interface running locally, i.e. on the SQL Server computer? The code snippet below shows getting a list of subscribers: Microsoft.SqlServer.NotificationServices.
Posted by irenak | 1 Comments
Filed under: ,

SYSK 235: Display .pdf Document Search Results Programmatically

Say, you’ve got a bunch of read-only documents in .pdf format that you allow your web site users to view. And what you’d like to do is to create links that jump to certain sections of the document, but without making any changes to the original document.
Posted by irenak | 7 Comments

SYSK 234: WeekDiff = Number of Weeks (full + partial) Between Two Dates

If you need to find out the number of weeks in a month, or the number of weeks between two given dates, and you need to includes partial weeks, not just full weeks as done by the T-SQL datediff(wk, d1, d2) function, then the code snippet below should
Posted by irenak | 0 Comments

SYSK 233: How to Decrypt an ASP.NET Encrypted Data

During debugging and troubleshooting web applications, there are times when you need to decrypt a string that was encrypted by ASP.NET (see my yesterday’s post, http://blogs.msdn.com/irenak/archive/2006/11/02/sysk-232-why-are-there-four-http-get-requests-retrieving-an-ajax-enabled-web-page.aspx
Posted by irenak | 1 Comments
Filed under: ,

SYSK 232: Why Are There Four HTTP GET Requests Retrieving an AJAX Enabled Web Page?

Last weekend, I was playing around with an AJAX.NET application, and I notices that browsing for a simple page like this: <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="Default.aspx.cs" Inherits ="_Default" %> < html xmlns ="http://www.w3.org/1999/xhtml">
Posted by irenak | 2 Comments
Filed under: ,

SYSK 231: Is WinForms Dead? And What Presentation Technology (WinForms, WPF, XAML, WPF/E, AJAX ASP.NET, DirectX) Should You Use and When?

The other day I watched a webcast by Brad Abrams, Group Program Manager for .NET framework, titled “Choosing the right Microsoft presentation technology, a.k.a. Smart Client Roadmap”… Below is a summary of Brad’s recommendations as of late 2006. 1. If
Posted by irenak | 2 Comments
 
Page view tracker