Posts
252
Comments
466
Trackbacks
17
Friday, September 09, 2011
This .NET Guru can cook!!

Come on, who doesn’t love a good cheeseburger? Ok, I’ll rephrase that. Other than the Chik-fil-a cows and vegetarians, who doesn’t like a good cheeseburger?  Check out this episode of the Grapevine TV’s Developer’s Kitchen and watch me demonstrate how to prepare and grill up my Duffy’s Paradise Cheeseburgers! mmmm tasty!

Looking for additional recipes from your favorite .NET personalities? Check out the .NET Guru’s Can Cook cookbook for a wide variety of tempting appetizers, dishes,  sweets and drinks. Pick something and make it this weekend!

I had a great time doing this and want to thank Don Williamson, Fuss Fustino and the rest of the GrapeCity team for inviting me to participate in this project and for their warm southern hospitality.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Friday, September 09, 2011 5:18 PM | Feedback (0)
Tuesday, July 26, 2011
Visual Studio LightSwitch 2011 Officially Launched Today

It’s official!! Microsoft released Visual Studio LightSwitch 2011 today. Here are a few places to read more about today’s release and for more information about LightSwitch 2011.

Jason Zander’s blog

The LightSwitch Team blog

Beth Massi’s blog

I’m excited about the release. Today’s timing is perfect since we have a project we’re about start and we’re going to be using LightSwitch in order to quickly get a functioning application in front of our users.  Based on the initial prototyping work we’ve done with the beta, we’re expecting to save a significant chunk of time going with LightSwitch. What we find most compelling is the ability to extend LightSwitch’s built in functionality with pieces of code as necessary. We’re also going to be looking into the 3rd party resources available as well.

Congratulations to the LightSwitch team!

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Tuesday, July 26, 2011 7:16 PM | Feedback (0)
Monday, May 23, 2011
Free eBooks from Microsoft/MSDN

Just reminder of a post I wrote back in December. Don’t forget that there is a variety of free ebooks available for download on a number of different developer and IT topics. Developer subjects include Programming Windows Phone 7, Moving to Visual Studio 2010, and Introducing SQL Server 2008 R2. IT topics include Deploying Windows 7, Understanding Microsoft Virtualization Solutions and First Look at Office 2010 just to name a few.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Monday, May 23, 2011 9:46 AM | Feedback (0)
Sunday, May 22, 2011
Introducing Debugger Canvas Power Tool for VS 2010

Oh this is just too cool…  check out the new Debugger Canvas Power Tool for Visual Studio 2010. You have got to watch the demo video. It’s called the Debugger Canvas and the best news is that it’s going to be available for download from the Microsoft DevLabs next month. It looks like this could really revolutionize the way we debug code in Visual Studio.

There is a lot to like here. I like being able to see all the code in the call stack. I like being able to save the status of an object for comparison later. I like being able to select a method and see all the related called methods. I like this a lot.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Sunday, May 22, 2011 11:24 AM | Feedback (0)
Thursday, December 09, 2010
Visual Studio 2010 Service Pack 1 Beta Released!

Just thought I’d pass on the word that the Visual Studio 2010 Service Pack 1 Beta is now available to download. VS2010 SP1 Beta ships with a go live license which means you can start using it for production work though I’m not sure I’m going to be that brave until I check it out a bit first.

Jason Zanders has a blog post outlining the new features/fixes included in the beta.

Here are a couple BREAKING news items you’ll want to TakeNote of…

VS2010 SP1 Beta BREAKS ASP.NET MVC 3 RC Razor IntelliSense. A new ASP.NET MVC 3 RC2 installer will be released very soon that will allow you to upgrade in-place.

VS2010 SP1 Beta BREAKS the Visual Studio Async CTP. A work around is being worked on but for now if you’re working with the Async CTP then stick with VS2010 RTM.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Thursday, December 09, 2010 9:17 PM | Feedback (0)
Wednesday, December 08, 2010
Windows Azure Training Kit (November 2010 Release Update)–Fantastic Azure training resource

At PDC 2010 in October Microsoft announced a number of new enhancements/features for Windows Azure. In case you missed it, these new enhancements/features have been released in the new Windows Azure Tools for Visual Studio November release (v1.3). The Windows Azure team blog is an excellent resource for information about the new release.

Along with the new release the Azure team has also updated the Windows Azure Platform Training Kit. What is the Windows Azure Platform Training Kit you ask? It is a comprehensive set of hands-on training labs and videos designed to help you quickly get up to speed with Windows Azure, SQL Azure, and the Windows Azure AppFabric.

The training kit contains updated labs including a couple I would suggest you hit first.

Introduction to Windows Azure - updated to use the new Windows Azure platform Portal

Introduction to SQL Azure - updated to use the new Windows Azure platform Portal

The training kit contains a number of new labs as well including:

Advanced Web and Worker Role – shows how to use admin mode and startup tasks

Connecting Apps With Windows Azure Connect – shows how to use Project Sydney

Virtual Machine Role – shows how to get started with VM Role by creating and deploying a VHD

Windows Azure CDN – simple introduction to the CDN

Introduction to the Windows Azure AppFabric Service Bus Futures – shows how to use the new Service Bus features in the AppFabric labs environment

Building Windows Azure Apps with Caching Service – shows how to use the new Windows Azure AppFabric Caching service

Introduction to the AppFabric Access Control Service V2 – shows how to build a simple web application that supports multiple identity providers

Ok, that’s enough reading, go start learning!

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Wednesday, December 08, 2010 12:36 PM | Feedback (0)
Tuesday, December 07, 2010
Free eBooks from Microsoft–We like free!

In a recent blog post I mentioned the availability of the Programming Windows Phone 7 ebook by Charles Petzold. Well I have good news, there are a number of additional FREE ebooks available from Microsoft to help you continue honing your tech skills.

Moving to Microsoft Visual Studio 2010

Introducing Microsoft SQL Server 2008 R2

Own Your Future: Update Your Skills with Resources and Career Ideas from Microsoft

Understanding Microsoft Virtualization Solutions (Second Edition)

First Look Microsoft Office 2010

Windows 7 troubleshooting tips

Introducing Windows Server 2008 R2

Deploying Windows 7, Essential Guidance

I, for one, appreciate Microsoft making these resources available for free. I think it demonstrates their interest making sure we as developers and I.T. professionals have the resources we need to effectively solve the business problems we encounter.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Tuesday, December 07, 2010 9:03 AM | Feedback (0)
Beginners Guide to Visual Studio LightSwitch makes it easy to take a closer look

Following up on my most recent post about LightSwitch I thought I’d keep you in the loop on a valuable LightSwitch resource. The Beginners Guide to Visual Studio LightSwitch provides a jump start to get you and the department-level-typical-Access-application-developing-power-user rolling with LightSwitch in no time. The guide is broken down into 4 easy to follow parts.

Beginners Guide to Visual Studio LightSwitch (Part – 1) – Working with New Data Entry Screen

Beginners Guide to Visual Studio LightSwitch (Part – 2) – Working with Search Screen

Beginners Guide to Visual Studio LightSwitch (Part – 3) – Working with Editable DataGrid Screen

Beginners Guide to Visual Studio LightSwitch (Part – 4) – Working with List and Details Screen

I mentioned it in my prior post but don’t forget to check out Beth Massi’s blog for additional information on Visual Studio LightSwitch.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Tuesday, December 07, 2010 9:01 AM | Feedback (1)
Monday, December 06, 2010
Visual Studio LightSwitch: Yes, these are the droids you’re looking for

With all the news and focus on the new features coming in Silverlight 5 I thought I’d take a few minutes to remind folks about the work that Microsoft has done on LightSwitch since the applications created by LightSwitch are Silverlight applications. LightSwitch makes it easier for non-coders to build business applications and easier for coders to maintain them.

For those not familiar with LightSwitch, it is a new tool that provides a easier and quicker way for coder and non-coder types alike to create line-of-business applications for the desktop, the web, and the cloud. The target audience for this tool are those power-user types who create Access applications for their organization. While those Access applications fill an immediate need, they typically aren’t very scalable, extendable and/or maintainable by the development staff of the organization. LightSwitch creates applications based on technologies built into Visual Studio thus making it easier for corporate developers to extend and maintain them.

LightSwitch is currently in beta but it will ultimately become a new addition to the Visual Studio line of products. Go ahead and download the beta to get a better idea of what the product can do for your organization.

The LightSwitch Developer Center contains

  • links to download the beta
  • links to instructional videos
  • links to tutorials
  • links to the LightSwitch Training Kit

Another quality resource for LightSwitch information is the Visual Studio LightSwitch Team Blog. My good friend Beth Massi is on the LightSwitch team and has additional valuable content on her blog.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Monday, December 06, 2010 8:48 AM | Feedback (2)
Saturday, December 04, 2010
Silverlight Firestarter 2010 Keynote with Scott Guthrie: Silverlight has a bright future!

If you didn’t get chance to watch the Silverlight Firestart event live during the webcast it is available online to view now. If you’re a Silverlight developer or perhaps a shop actively planning on developing a Silverlight application then you’re going to want to watch this video.

The Silverlight 5 feature set unveiled during the keynote is fantastic! I particularly like Scott’s approach and comments on the future of Silverlight. I appreciated his open and direct acknowledgment that there has “been a lot of angst on this topic in the last few weeks” and he took the bull by the horns and stated “Let me say up front that there is a Silverlight future, and we think it’s going to be a very bright one.” That comment drew applause from the local audience and in our local viewing event held in Raleigh, NC.

Of course my first question was when can we get our grubby little hands on Silverlight 5 and start working with it. The answer unfortunately wasn’t “right now” but they did announce the Silverlight 5 beta will be available in the first half of 2011. Of course the following is pure speculation on my part but I wouldn’t be surprised if they made it available at a certain event in April 2011.

Additional information about the Silverlight 5 announcement is available on Scott’s blog.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Saturday, December 04, 2010 10:38 AM | Feedback (0)
Thursday, December 02, 2010
Silverlight Firestarter Today!! Local viewing event in Research Triangle Park!

What is the Silverlight Firestarter is all about?

It is a one day, global, live streamed and on demand event keynoted by Scott Guthrie. It begins at 9am Pacific time. Yes, that noon for us east coasters here in the U.S.

It provides new self-paced labs and walk through videos.

It is interactive and you can ask the Silverlight product team questions during the event.

To me the really interesting part is going to be the opening keynote by Scott Guthrie.

Keynote : The Future of Silverlight

Be first to hear the official news about what’s coming up next for Silverlight from Scott Guthrie, Microsoft Corporate Vice President.

FYI… If you’re in the Research Triangle area and want to watch we some fellow nerds, we’re hosting a Firestarter viewing event this afternoon.

The Future of Silverlight Starts Now!
Come join Microsoft Regional Developer Jim Duffy and Microsoft MVP Rob Zelt as they host this free community event .

Thursday afternoon, December 2nd noon-5pm
Come interact with other local .NET developers and share your thoughts as we watch what Microsoft bigshots Scott Guthrie, Jesse Liberty, Yavor Georgiev, Dan Wahlin, John Papa, Tim Heuer, Mike Cook & Jossef Goldberg, Jaime Rodriguez present on the future of Silverlight.
For more info about the LIVE Streaming event please visit the Silverlight Firestarter site...

Location:
Map
Corporate Software Training
One Copley Parkway
Suite 400 <------ 4th Floor
Durham, NC 27560

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Thursday, December 02, 2010 10:29 AM | Feedback (0)
Wednesday, December 01, 2010
Silverlight Nugget: TextBlock TextTrimming property

There are times when the amount of text to be displayed in a TextBlock just doesn’t fit and only the initial text that fits is displayed. Usually the user can detect this because they realize, based on the content, that something got chopped off but that isn’t always the case. For example, the following text could fit in a fairly narrow TextBlock:

“Never comment your code”

Unfortunately the rest of the sample sentence ,“Never comment your code if you want to keep your job”, doesn’t display and the user has no way of logically knowing they’re missing anything.

This is where the TextTrimming property comes in handy. Setting the TextTrimming property to WordEllipis will cause a “…” to appear at the end of the text.

XAML: <TextBlock Name="textBlock1" TextTrimming="WordEllipsis" />
Code: textBlock1.TextTrimming = TextTrimming.WordEllipsis;

The result is “Never comment your …” which visually indicates there is more text available than meets the eye.

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Wednesday, December 01, 2010 4:35 PM | Feedback (0)
Friday, October 29, 2010
Free Programming Windows Phone 7 eBook

Wow!! Check this out… 24 chapters and over 1,000 pages of Windows Phone 7 programming goodness. Did I mention it’s free?

Have a day. Disappointed smile

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Friday, October 29, 2010 2:55 AM | Feedback (1)
Monday, July 19, 2010
Developers Are Still Migrating “Old School” Legacy Apps to SQL Server 2008

I recently received an email from a self-described “old school” developer who had attended one of our Visual FoxPro classes from a number of years back (2001?). He had some questions about working with SQL Server 2008 and T-SQL.  He asked about a number of built in VFP/xBase functions that don’t have a counterpart in T-SQL, specifically some that deal with dates and strings. I too went through that migration waaaaay back when and have since created some UDFs that reproduce some familiar and very useful “old school” VFP/xBase functions in T-SQL. I thought I’d share a few here in the hopes that they help other “old school” (and maybe some “new school”) developers making the leap to SQL Server.

DTOC() converts a passed in Datetime value into a mm/dd/yyyy formated date string.

CREATE FUNCTION [dbo].[DTOC] (@DateTimeIn datetime) 
RETURNS varchar(max) 
AS 
BEGIN 
    RETURN( 
        REPLACE(STR(DATEPART(month, @DateTimeIn),2),' ','0')+'/'+ 
        REPLACE(STR(DATEPART(day, @DateTimeIn),2),' ','0')+'/'+ 
        REPLACE(STR(DATEPART(year, @DateTimeIn),4),' ','0') 
        ) 
END

 

DTOS() converts a passed in Datetime value into a yyyymmdd formated date string.

CREATE FUNCTION [dbo].[DTOS] (@DateTimeIn datetime)
RETURNS varchar(max)
AS
BEGIN
    RETURN(
        REPLACE(STR(DATEPART(year, @DateTimeIn),4),' ','0')+
        REPLACE(STR(DATEPART(month, @DateTimeIn),2),' ','0')+
        REPLACE(STR(DATEPART(day, @DateTimeIn),2),' ','0')
        )
END

One thing to watch out for is using a DTOC() column in the order by clause. The sort will occur left to right which means 03/14/2009 will appear before 10/22/2007 and that may not be the results you want. Ordering by a DTOS() column will result in the proper sort order since its format is yyyymmdd.

PADL() pads a passed in string with characters to a specified length on the left. This one is very handy for formatting information like order numbers, invoice numbers and the like.

CREATE FUNCTION [dbo].[PADL] (@StringIn varchar(max), @StringLength int, @PadWith char(1))
RETURNS varchar(max)
AS
BEGIN
    RETURN (REPLICATE(@PadWith,(@StringLength - Len(@StringIn))) + @StringIn)
END

 

PADR() pads a passed in string with characters to a specified length on the right.

CREATE FUNCTION [dbo].[PADR] (@StringIn varchar(max), @StringLength int, @PadWith char(1))
RETURNS varchar(max)
AS
BEGIN
    RETURN (@StringIn+REPLICATE(@PadWith,(@StringLength-Len(@StringIn))))
END

 

ALLTRIM() returns a string with leading and trailing spaces removed. Using variable length character fields reduces the need for this one quite a bit but you never know when you’re going to want to trim all the spaces off the left and right sides of a string.

CREATE FUNCTION [dbo].[ALLTRIM](@StringIn varchar(max))
RETURNS varchar(max)
BEGIN
    RETURN LTRIM(RTRIM(@StringIn))
END

 

Here is a sample select statement using all of the “old school” functions.

select 
dbo.DTOC(InvoiceDate) as DTOCDate,
dbo.DTOS(InvoiceDate) as DTOSDate,
dbo.PADL(InvoiceNumber,10,'0') AS PADLInvoice,
dbo.PADR(InvoiceNumber,10,'0') AS PADRInvoice,
dbo.ALLTRIM(LastName+', '+FirstName) AS ALLTRIMLastName
from SampleData order by DTOSDate

 

SQLFunctions

In addition to being comfortable with these function from years gone by another benefit to implementing these (and others) is reduced code migration time. Legacy SQL SELECT statements using these native language functions can be copied in to a SQL Server stored procedure and after a pasting a few dbo.’s in front of the functions, those queries will be running in no time.

While these may seem simple to an experienced T-SQL developer, how many of you can still remember way-back-when to the days of being a SQL Server newbie?

Have a day. :-|

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Monday, July 19, 2010 6:48 PM | Feedback (0)
Monday, June 07, 2010
Windows Azure Boot camp – Raleigh Wednesday June 23, 2010 * FREE*

Yes I know this is my second blog post about the free one-day Windows Azure boot camp on June 23rd in Raleigh, NC. What can I say I don’t want anyone to miss out on an opportunity to take advantage of some free Windows Azure training. Microsoft Developer Evangelist Brian Hitney and I will be presenting a one-day Windows Azure boot camp on June 23rd in Raleigh, NC at the Microsoft RTP offices. For more information on content, what to bring, directions, etc. just click here to go to the information and registration page for the Raleigh event. To find other dates and locations for the Windows Azure boot camps  head over to the Windows Azure Boot Camp page.

Brian and I hope to see you there!

Have a day. :-|

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Posted On Monday, June 07, 2010 11:25 AM | Feedback (0)