Blog Moved ....

ScottCate.com

community

frenz

my book(s)

my products

Blog Moved to ScottCate.com
If you're looking for new Scott Cate content, or the Visual Studio Tips and Tricks Series, my blog has moved over to http://ScottCate.com
Please join me over there :)
What’s new in jQuery 1.3? Drew Douglas Answers

This is well worth your time, Drew Douglass spends a few minutes creating a very detailed post about what’s new in jQuery.

http://nettuts.com/tutorials/javascript-ajax/everything-you-need-to-know-about-jquery-13/

Great Silverlight Cache for ASP.NET Drop Down Lists

Most Silverlight examples are about the User Interface. XAML here, and video there, pretty this, and shaded that. But this post today on SilverlightShow.net is different.

They use the isolated storage of silverlight to act as a Client-Side cache for ASP.NET drop down lists.

A great blog post, that is very well planned and executed.

Credits: Thomas Kirchir

Update your Vista Malicious Software Removal Tool

Repost (fwd from Microsoft Email)

Background

Win32/Conficker.B exploits a vulnerability in the Windows Server service (SVCHOST.EXE) for Windows 2000, Windows XP, Windows Vista, Windows Server 2003, and Windows 2008. While Microsoft addressed this issue in October with Microsoft Security Bulletin MS08-067, and Forefront antivirus and OneCare (as well as other vendor’s anit-virus products) helped protect against infections, many systems that have not been patched manually through Server Update Services and Microsoft/Windows Update or through Automatic Updates have recently come under attack by this worm.

Attacked systems may lock out users, disable our update services and block access to security-related Web sites:

In response to this threat, Microsoft has:

  • Updated the January version of the MSFT to detect and remove variants of Win32/Conficker.B.  You can download this version from the MSRT from either the Microsoft Update site  or through its associated Knowledge Base article.
  • Created the KB article 962007 “Virus alert about the Win32/Conficker.B worm” to provide public details on the symptoms and removal methods available to address this issue.
  • Announced the release of the items and the virus threat itself on the Microsoft Malware Protection Center blog.

It is our hope that these resources can assist you in resolving issues with unpatched, infected systems and that you can apply MS08-067 to any other unpatched systems as soon as possible to avoid this threat.

Presenting AJAX Client Templates from ASP.NET v4 Preview

Tonight (Jan 13, 2008 5:30-8pm) at the Arizona.net User Group, I’ll be presenting AJAX client templates currently available in the ASP.NET v4 Preview hosted on CodePlex.

Below is a quick code sample to wet your appetite.

C# / Service – Not really relevant to the call, but it’s where the data comes from

   1: [WebMethod]
   2: public List<Product> GetProducts()
   3: {
   4:     return GetProductsByOrderId(0);;
   5: }
   6:  
   7: [WebMethod]
   8: public List<Product> GetProductsByOrderId(int orderId)
   9: {
  10:     var productList = new List<Product>();
  11:     using (var adapter = new ProductsTableAdapter())
  12:     {
  13:         Northwind.ProductsDataTable products = null;
  14:         products = orderId > 0 ? adapter.GetDataByProductId(orderId) : adapter.GetData();
  15:         
  16:         foreach (var row in products)
  17:         {
  18:             productList.Add(new Product() { 
  19:                 Name = row["ProductName"].ToString(), 
  20:                 Id = (int) row["ProductId"]
  21:             });
  22:         }
  23:     }
  24:     return productList;
  25: }

ASPX Page

   1: <%@ Page Title="" Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="A_Templates.aspx.cs" Inherits="ScottCateAjax2008.Lesson10.A_Templates" %>  
   2: <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">  
   3:   
   4: <asp:ScriptManager id="SM1" runat="server">  
   5:     <Scripts>  
   6:         <asp:ScriptReference ScriptMode="Debug" Path="~/Common/Scripts/ASPNET4Preview3/MicrosoftAjaxTemplates.js"  />  
   7:         <asp:ScriptReference Path="~/Lesson10/A_Templates.aspx.js" />  
   8:     </Scripts>  
   9:     <Services>  
  10:         <asp:ServiceReference Path="~/Services/NorthwindService.asmx" />  
  11:     </Services>  
  12: </asp:ScriptManager>  
  13:     
  14:     <h1>ASP.NET 4.0 - Templates</h1>  
  15:   
  16:     <table id="products" border="1" class="sys-template">  
  17:         <tr>  
  18:             <td>{{ Id }}</td>  
  19:             <td>{{ Name }}</td>  
  20:         </tr>  
  21:     </table>  
  22:   
  23: </asp:Content>  

JavaScript

   1: function pageLoad() {   
   2:     ScottCateAjax2008.Services.NorthwindService.GetProducts(goGetProducts_Callback, errorCallback);   
   3: }   
   4:   
   5: function goGetProducts_Callback(results) {   
   6:     var products = $create(Sys.UI.DataView, {}, {}, {}, $get("products"));   
   7:     products.set_data(results);   
   8: }   
   9:        
  10: function errorCallback(error) {   
  11:     alert(error);   
  12: }  

Outcome

image

December 9,10,13th, 2008 - A Busy week in PHX with MSFT

December 9th Noon-5pm
Architect Council | Cloud Computing and Impact on Architecture
Details Below :: Must Register here to attend.

December 10th 11-5 (plus an after party sponsored by GoDaddy)
MSDN Events | Best of PDC
Details Below :: Must Register here to attend.

December 13th
XBox Party | Come play XBOX (Age restricted 13+)
Details Below :: Must Register here to attend.

 

Details about the 9th - Arch Council

Microsoft and Cloud Computing – Cloud computing represents the new wave of innovation that will significantly transform many aspects of computing as we know today. During this session, we will discuss Microsoft’s outlook and strategy in moving towards cloud computing, providing the next-generation cloud-based platform for building services in the cloud. We will also take discuss what cloud-based applications may look like, and how they need to be architected differently from today’s on-premise enterprise applications in various scenarios.

Live Services Platform – A deeper look into the Live Services component of the Azure Services Platform, designed to combine the world of the web and the world of digital devices. We will discuss the underlying service architecture behind this mass-scale cloud service and client platform, and how to build applications using Live Identity Service, Synch Service, Resource Model Service, Device Management Service, Notification Service, and Presence Service.

Azure Services Platform – Discussion on the enterprise-class components of the Microsoft Azure Services platform, with an overview of .NET Services (Access Control Service, Workflow Service, and Service Bus), SQL Services (SQL Data Services, SQL Reporting Services, and SQL Data Analysis Services), and Windows Azure (Compute Service, Management Service, and Storage Service). We will take a look at what these services provide, their long-term roadmaps, and discuss guidance on how they can used.

 

Details about the 10th - Best of PDC

  • 11:00 am – 12:00 pm Registration, Box Lunch and Networking
  • What to expect with C# 4.0 (Joe Guadagno)
  • Overview of REST in WCF and The WCF REST Starter Kit  (Rob Bagby presenting his session at PDC)
  • ASP.NET 4.0 and the Silverlight Toolkit (Scott Cate)  <<< Hey that's me :)
  • Overview of Windows Azure (“The Cloud OS”) and Azure Services  (Rob Bagby)

5:00 pm – 5: 15 pm Final Raffle

Details about the 13th - XBOX Get Together

Calling all IT Pros and Developers in the Phoenix area!  Come join us for a fun time at the Microsoft Office.  There is no PPT slide or demo involved.  This is a year-end "party" for all the different User Group members to get together and have fun.  If you aren't already a member of one of the local User Groups, no problem, you are still welcome to come and have fun.

There will be 4 XBox 360 consoles networked together for maximum fun.  If you have your own favorite controller that you want to use, please feel free to bring it along.

I cannot validate parking for folks who chose to park in the Parking Garage.  If you arrive and see that the booth is staffed and the exit arm is down, you will have to decide if you want to pay $3 / hour for parking or not.  There is meter parking (free on weekends) on Catalina or I also know some folks who chose to park across the street at Park Central Mall and walk across.  I cannot advocate that last option, but just letting people know that I have seen that happen.  :-)

C# 4.0, ASP.NET4.0, Silverlight Toolkit, Rest Toolkit Oh My!

On December 10th, 2008 (11-5) I'm speaking at an MSDN event in Phoenix. I'm excited to have an hour to talk about ASP.NET 4.0 and the new Silverlight Toolkit.

Registration is required, because there is a fixed number of seats.

Registration link. http://is.gd/6HJW

 

And Here is an overview of the day ...

  • What to expect with C# 4.0 (Joe Guadagno)
  • Overview of REST in WCF and The WCF REST Starter Kit  (Rob Bagby presenting his session at PDC
  • ASP.NET 4.0 and the Silverlight Toolkit (Scott Cate)
  • Overview of Windows Azure (“The Cloud OS”) and Azure Services  (Rob Bagby)
WallyM on WebForms Routing

Last night I was talking to some folks about routing in MVC, and how that would also be useful with WebForms as well. Today I see a podcast from WallyM on the subject, http://is.gd/3J4T

Here are the show bullet points

  • Not just for MVC
  • Available with .NET 3.5 SP1
  • System.Web.Routing
  • Web.config
  • Global.asax
  • Routing class
  • Security
  • Output page
  • Find it online at ASP.NET Podcast.com

    Posted: Oct 08 2008, 11:57 AM by scott cate | with no comments
    Filed under: ,
    When Email Attachments Fail. TransferBigFiles to the rescue!

    image I've talked about http://TransferBigFiles.com in the past. And just for the record, I don't have any stake in the company, it's just a great service that has worked for me hundreds and hundreds of times.

    Email attachments suck. Anything larger than a penny drags down email servers. Virus scanners delete anything that looks like an executable (*.js, *.bat, *.zip, *.rar, *.dll, *.exe, *.YouNameIt)

    imageThe trick for a long time was to zip your files, then rename the zip to some other unknown file extension, like MyFile.ReallyAZip

    This trick is all but dead, because virus scanners are no longer relying on this file extension, but instead just inspecting the file itself. Recently I was trying to send a Zipped up VSProject to a friend. This is riddled with problems. The zip package was about 3 meg. This fits within the normal < 10 meg attachment that most email systems have.

    But the package contains exe's, dll's, js's, etc.

    Solution! Drive to TransferBigFiles.com

    Upload the file in a nice web based format, enter an email address, optionally pwd protect your files, and click send.

    There is also a desktop version called the DropZone that enables drag/drop for transferring files. Watch the ~30 second video demo.

     

    File Size Limit: 1gb.

    Lifespan of file: 10 days, then it dies.

    Good Software.

    Easy To Use.

    Fast.

    Free.

    Going to PDC? Here is my session list.

    I can't possibly make it to all these sessions, but this is what I'm hoping to catch at PDC.....

    Scott Cate PDC Sessions List :: Click for Larger Image

    Posted: Oct 03 2008, 06:51 AM by scott cate | with no comments
    Filed under:
    More Posts Next page »