DCSIMG
June 2006 - Posts - Guy Burstein's Blog

Guy Burstein's Blog

Developer Evangelist @ Microsoft

News

Guy Burstein The Bu

Disclaimer
Postings are provided 'As Is' with no warranties and confer no rights.

Guy Burstein LinkedIn Profile

TwitterCounter for @bursteg

June 2006 - Posts

Internet Explorer Beta 3 is available

what's new in Beta 3

Internet Explorer 7 Beta 3 is now available for download and includes improvements in reliability, compatibility, user features, and security. Although Internet Explorer 7 Beta 2 was layout complete, they made some additional changes to the look and feel of the browser. Beta 3 allows users to add the e-mail button back to the toolbar, enables users to reorder the tabs by dragging them to the left or right, and enables horizontal scrolling while zooming.

To improve the RSS experience, Internet Explorer 7 now allows users to update all their RSS feeds automatically. In addition, the user has more control in marking their RSS feeds as "READ."

Internet Explorer 7 reliability has improved in Beta 3 as several layout-rendering bugs have been fixed as well.

In addition, Beta 3 contains all the security fixes addressed in the June Internet Explorer Security Bulletin MS06-021.

Enjoy!

Updated WCF Documentation announced! (June 27th)

Fresh from the WCF Team, here is the latest Documentation CTP for you to download. 

Enjoy!

Enterprise Library for .Net Framework 3.0

Don't let the title confuse you. There is no new version for Enterprise library for .Net Framework 3.0. Yet...

But, Tom Hollander, has posted that the patterns & practices team are starting to plan that version, and they are looking for ideas. So, If you have have some suggestions, this is your chance.

Enjoy!

2 New WCF Hands On Labs

Two detailed Hands On Labs for .Net Framework 3 Beta 2 are available for download at wcf.netfx3.com:

Enjoy!

Intellisense / Smart Tags do not work after LINQ May CTP Installation

If you are experiencing troubles with the intellisense or with the refactoring smart tags after installing LINQ May CTP here is the solution for you:

  1. Close all instances of Visual Studio.
  2. Start RegEdit
  3. Open HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{A066E284-DCAB-11D2-B551-00C04F68D4DB}\SatelliteDLL
  4. Edit the "Path" value and change it from
    "C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\1033\"
    to
    "C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\"
  5. Go to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE and run:
    1. devenv /setup
    2. devenv /resetuserdata
    3. devenv /resetsettings CSharp
  6. Restart Visual Studio and continue working!

Enjoy!

Clemens Vasters on MSDN TV about WCF Bindings

MSDN TV has a new episode featuring Clemens Vasters speaking about WCF bindings (and what they cause in the channel stack). Totally 20 minutes, really nice talk...

Posted: Jun 20 2006, 07:00 AM by Guy Burstein | with 1 comment(s)
תגים:

Reflector for .NET is a great tool!

When exploring new technologies, You often wonder what is really written in the assemblies  you reference.

 

Currently, exploring WF and WCF along many other exiting new technologies, I am working with a great tool that I want to share with you: Reflector for .NET.

Reflector is the class browser, explorer, analyzer and documentation viewer for .NET. Reflector allows to easily view, navigate, search, decompile and analyze .NET assemblies in C#, Visual Basic and IL.

 

So, If you want to know all about how System.Windows.Forms.Control is implemented, and how serialization works, Download this excellent yet simple tool.

Enjoy!

Get Connected to WCF team

Through WCF Cpnnection site, you can get in touch with the Windows Communication Foundation Product Team, submit suggestions for new features, and report errors in the product, in our tools and in the product documentation.

Enjoy!

Microsoft's Cheif Architect (Bill Gates) is being replaced after July 2008

Microsoft Corp. today announced that effective July 2008 Bill Gates, chairman, will transition out of a day-to-day role in the company. The company announced a two-year transition process.  The company announced that Chief Technical Officer Ray Ozzie will immediately assume the title of chief software architect and begin working side by side with Gates on all technical architecture and product oversight responsibilities. Gates then will continue as chairman and advisor while increasing Foundation efforts.

Read more...

Next-Generation Data Access : ADO.NET Entity Framework

The next version of ADO.NET starts to deliver on Microsoft’s vision for an Entity Framework that can fundamentally change how you think about data. Find out what problem spaces the ADO.NET Entity Framework and Language-Integrated Query are targeting, and their innovative approach for addressing those challenges.

Download the Next Generation Data Access white paper here.

Download the ADO.NET Entity Framework Overview here.

Download the ADO.NET Technical Preview - Entity Data Model here.

Enjoy!

Posting to Community Server from C# using the MetaWeblog API

What is the MetaWeblog API? 
The MetaWeblog API (MWA) is a programming interface that allows external programs to get and set the text and attributes of weblog posts. It builds on the popular XML-RPC communication protocol, with implementations available in many popular programming environments. Read more
here

Since this API is exposed from the Weblogs providers, programmer have to use a client-side programming model to communicate with it according to the XML-RPC protocol. Josh Gough has created and published this C# programming wrapper which allows us to easily develop C# client applications that consumes this API via a service.

How do you get started ?

  1. Download the Community Server MetaWeblog Proxy assemblies.
  2. Create a .Net application and reference the CookComputing.XmlRpc that come in the above .zip file.
  3. Create a class for the API provided by Josh Gough. You can copy the contents of the API from his post.
  4. Notice that the above post contains an implemention of IBlogger interface, which is decorated with [XmlRpcUrl("…metablog.ashx")] attribute. Don't forget to change the URL of your Community Server Blogs metaBlog.
  5. Now you can easily use the proxy in your code.

Example:

using MetaBlogAPI;

IBlogger proxy = MetaBlogAPIFactory.Create();
string user = "user";
string password = "password";
string blogid = "bursteg";

// Create a post. There are some optional properties such as Categories
// that were not supplied in this sample.
Post p = new Post();p.title = "Bloging from C# code";
p.dateCreated =
DateTime.Now;
p.description = "Can you see it?";
string postid = proxy.newPost(blogid, user, password, p, true);

Great, isn't it?

My next step is to write a workflow activity that posts an entry to my blog. Look forward for it!

Enjoy!

DebuggerStepThrough and DebuggerHidden Save Time

When debugging code, one of the annoying things for me is to step into a one-line method or property. For example, Assume that I have the following property:

/// <summary>
/// Returns the word (string) of this lookup word
/// </summary>
public string Word
{
    get { return word; } 
    set { word = value; }
}

And I have a code that uses that property when calling a method:

// Use that property as a parameter for a method
DoSomething(obj.Word);

When you debug that line, and step into the method, you'll step into the get section of the property, and only then move on to the method.

There is a way to control this behavior and instruct the debugger to step through that method and not into it. This is done using the System.Diagnostics.DebuggerStepThrough attribute, when placed above the method.

/// <summary>
/// Process the word
/// </summary>
/// <param name="w"></param>
[System.Diagnostics.DebuggerStepThrough]
public void DoSomething(Word w)

   
// Do something
}

To apply this attribute to properties, you should simply apply the attribute to the get section and set section separately since each of them is implemented as a method itself.

/// <summary>
/// Returns the word (string) of this lookup word
/// </summary>
public string Word
{
   
[System.Diagnostics.DebuggerStepThrough]
   
get { return word; }

    [System.Diagnostics.DebuggerStepThrough]
    set { word = value; }
}

This instruction will cause the debugger not to step into that method (property) as normal, but you can always place a breakpoint in that method and stop there. In order to prevent the debugger from stepping into that method as a rule, you can use System.Diagnostics.DebuggerHidden attribute.

Enjoy!

 

Expose an RSS service using WCF

If you want to expose a service that outputs RSS 2.0 or ATOM 1.0, It is now easy than ever. Today the WCF RSS Toolkit was announced for public use.

"Using this toolkit, developers can easily expose a service as an RSS or Atom feed. The toolkit supports exposing a service as an RSS 2.0 feed, Atom 1.0 feed and SOAP endpoint simultaneously. The toolkit can also be extended to support other wire formats."

Download the toolkit from here (source code included).

Enjoy!

Posted: Jun 13 2006, 08:19 AM by Guy Burstein | with 1 comment(s)
תגים:

.Net Framework 3.0 Official Site Launched

Following the latest announcement by Soma, A new site dedicated fully to .Net Framework 3.0 has launched today.

NetFx3.com is a new developer community that focuses on the four new technologies included in the Microsoft .NET Framework 3.0 (the technologies formerly known as WinFx):

NetFx3.com is based in part on the feedback we received for the WindowsWorkflow.net and WindowsCommunication.net sites that were launched.  The Windows Workflow Foundation and Windows Communication Foundation sites are now represented as “sub-communities” within NetFx3.com.  We have also created new sub-communities for Windows Presentation Foundation and Windows CardSpace, so that the four new pillars of the .NET Framework 3.0 are fully represented in this site.   

The site has been designed to aggregate information on the .NET Framework 3.0 technologies from product team and community bloggers, MSDN forums, and Channel 9.  You can easily find and share samples, code snippets, and other resources. 

So – update your RSS feeds to the new site, and enjoy it! 

WinFX =&gt; .Net Framework 3.0

S. Somasegar, VP of the Developer Division at Microsoft Corporation, announced today that the name WinFX was renamed to .Net Framework 3.0. The change is in name only and will not affect the technologies being delivered as part of the product. The .NET Framework 3.0 will still ship with Windows Vista, and will be available down-level for Windows XP and Windows Server 2003 as planned. This change doesn't affect in any way the ship schedules of either Windows Vista or the .NET Framework 3.0 itself.

Looking forward!

More Posts Next page »