Thursday, January 6, 2011

WP7 Tips–Part I– Media File Coding Techniques to help pass the Windows Phone 7 Marketplace Certification Requirements

WP7 Tips–Part I– Media File Coding Techniques to help pass the Windows Phone 7 Marketplace Certification Requirements

Thursday, November 11, 2010

Patterns and Practices related to the implementation of WCF Security

I tried my best to pull together a list of useful links related to implementing security within WCF services as recommended by the published patterns and practices.

Transport Layer Security Patterns and Practices (a little older but concepts are still relevant)

WCF Security Fundamentals Patterns and Practices

• WCF Security Fundamentals

• Authentication, Authorization, and Identities in WCF

• Impersonation and Delegation in WCF

• Message and Transport Security in WCF

Securing Services and Clients

Message Security in WCF

Use Transport Security and Message Credentials

Secure a Service with an X.509 Certificate

All of the content included in these links belongs to those companies and/or individuals. I am only providing links to the content as a way to find all of the information in one place.

Tuesday, September 28, 2010

Microsoft SQL Server 2008 R2 Express with Management Studio - SQL Azure - Cloud Services

To my surprise, installing Microsoft SQL Server 2008 R2 Express with Management Studio allows integration with SQL Azure and Cloud Services.

  • Full Database List
  • Tables
  • Stored Procedures

How nice that you do not have to run queries to get the table definitions.

Very Cool!!!!

Friday, August 6, 2010

Nice Article on How To: Encrypt the ViewState in ASP.NET

VS2010 - New Features - Microsoft Enterprise Library 5.0 – April 2010

To save everyone some time I am simply re-listing the new features added to the Enterprise Library 5.0 release in April 2010 by Microsoft.  The full article can be found here:

New in the Enterprise Library 5.0

This major release of Enterprise Library contains many compelling new features and updates that will make developers more productive. There are no new blocks; instead the team focused on making the existing blocks shine, on testability, maintainability and learnability. The new features include:
  • Major architectural refactoring that provides improved testability and maintainability through full support of the dependency injection style of development
  • Dependency injection container independence (Unity ships with Enterprise Library, but you can replace Unity with a container of your choice)
  • Programmatic configuration support, including a fluent configuration interface and an XSD schema to enable IntelliSense
  • Redesign of the configuration tool to provide:
    • A more usable and intuitive look and feel
    • Extensibility improvements through meta-data driven configuration visualizations that replace the requirement to write design time code
    • A wizard framework that can help to simplify complex configuration tasks
  • Data accessors for more intuitive processing of data query results
  • Asynchronous data access support
  • Honoring validation attributes between Validation Application Block attributes and DataAnnotations
  • Integration with Windows Presentation Foundation (WPF) validation mechanisms
  • Support for complex configuration scenarios, including additive merge from multiple configuration sources and hierarchical merge
  • Optimized cache scavenging
  • Better performance when logging
  • Support for the .NET 4.0 Framework and integration with Microsoft Visual Studio 2010
  • Improvements to Unity
  • A reduction of the number of assemblies
The detailed list of all changes is included in the Enterprise Library documentation and also online.

Thursday, July 29, 2010

Visual Studio 2010 - MVC 3 and DLR - Great New Feature

MVC 3 and the use of the Dynamic Keyword and DLR Infrastructure

As I already blogged about the dynamic keyword and it's power, what was very interesting was to see how MVC 3 leverages the DLR infrastructure that is now included with .NET 4.0.  

What was very cool was to see some of the new features of MVC 3 leveraging things such as strongly typed views in the controller.  Before your code may have looked like this ViewData["Mydata"] = "Sean's Data".

With MVC 3 you now have another object called ViewModel.YourField.  Where "YourField" would represent a dynamic value of any attribute on your model that is determined at runtime.  Very cool!!!  The only downside is that you do not have the intelli-sense, but given that you can flexibility a very nice feature added.

DLR Sidebar
So what is the DLR????  DLR stands for Dynamic Language Runtime and runs on top of the CLR or Common Language Runtime.  A very nice read on the DLR.

Also included is a link to my blog entry for the dynamic keyword.  .NET 4.0 "dynamic" keyword versus, "var" keyword - anonymous types