Sunday 26 July 2009

FREE Cheat Sheets for Developers(Quick Reference Card)

Hi All, here is the link for the great library of cheat sheets, I assure you that after looking into this collection you will be amazed....these Cheat Sheets are...

  • Written by bestselling authors and leading experts
  • Reliable information on major developer topics
  • Filled with useful tips and source code examples
  • PDF looks great on-screen or printed from your printer

To name a few...

  • Design Patterns
  • Silverlight 2, I am eagerly waiting for Silverlight 3, I know its too early...
  • C#
  • Core .NET
  • Core ASP.NET
  • Scrum
  • Windows PowerShell

These are just few of my interest, but you can always register and logon to download lot more of your interest too...from the link below.

http://refcardz.dzone.com/

Share:

Saturday 25 July 2009

Everything you need to get started...MOSS 2007, WSS 3.0

This is a hub for SharePoint 2007 and WSS 3.0 Resources with two advantages: All resources are hand-picked and vetted for quality, and each topic contains a with hand-tuned search designed to return the latest content which you can then filter further to find what you need.

Eli's SharePoint 2007 Resources

Share:

Thursday 23 July 2009

Sharing source code between .NET and Silverlight

A common problem when developing Silverlight applications is how to share classes and in particular (Entity Framework) entities which are compiled for the full .NET framework in a Silverlight application. Silverlight is a browser plugin and a platform independent subset of the full .NET framework. Therefore Visual Studio does not allow referencing .NET assemblies from your Silverlight application.

Fortunately there is a very simple technique to share and reuse source code. Full details of which you can find in the link below

http://www.scip.be/index.php?Page=ArticlesNET28&Lang=EN

In this article Stefan Cruysberghs demonstrated this technique with several real world examples and I will give you some handy tips.

This linked has helped me, as I have SOA, where WCF Services, DataContracts, ServiceContracts are shared between my ASP.NET , WPF and Silverlight application.

Share:

Monday 20 July 2009

Migration from Silverlight 2.0 to Silverlight 3

As currently I am working on Migration from Silverlight 2.0 to Silverlight 3, so I thought to share or bookmark few of the important links which I am going through.

Find below the links

http://msdn.microsoft.com/en-us/library/cc645049(VS.95).aspx

Silverlight 3 Released! What is new/changed?

 

The following list encompasses all changes made between the Silverlight Toolkit March 2009 release and the Silverlight Toolkit July 2009 release.

Silverlight Toolkit July 2009 changes

 

The following list encompasses all change made between the Silverlight Toolkit December 2008 release and the Silverlight Toolkit March 2009 release.

Silverlight Toolkit March 2009 change list.

 

In the process of upgrade there are few more challenges I am going to face

Upgrade of my WCF Services to implement Silverlight 3 Validation controls, as my DataContract is residing in Service Layer, and I am using WSSF to generate the WCF DataContract, ServiceContract, etc. As all the DataCOntracts are AutoGenerated so implementing the Validation in Silverlight will be bit tricky.

Since I still I am in the process of upgrade, so if you too have some good links which will help me to upgrade my Services as I mentioned above then please do share here.

 

Thanks

Brij Mohan

Share:

SharePoint 2010 Sneak Peak

I guess this will be blogged extensively the coming hours and days: Microsoft has released official documentation about the next version of SharePoint.

Read all about it here:

http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx.

  • General overview
    SharePoint 2010 enables organizations to connect and empower people through an integrated set of rich features. Get a sneak peek of SharePoint 2010 product features today.

  • For IT Professionals

    For IT professionals, SharePoint 2010 offers enhancement to drive productivity, scalable unified infrastructure, and flexible deployment. Learn more about how to cut IT costs with SharePoint 2010.

  • For Developers
    For developers, SharePoint 2010 provides the business collaboration platform to rapidly build solutions and respond to business needs. Check out SharePoint 2010 features sneak peek for developers.

Share:

What's New in Silverlight 3?

Silverlight 3 has been officially released on 10th July 2009 and available for download!

Speaking of which, here are some of the key features of Silverlight 3.

Out-of-Browser Support

Users can run a Silverlight 3 application in the browser or run it directly from the desktop even when they're not connected to the Internet. This supports several sync scenarios that can be useful when a connection isn't always available.

Enhanced Graphics Support

New features include GPU acceleration, perspective 3-D support, bitmap and pixel APIs for dynamically generating images, videos, etc. Animations can also be eased in and out and perform many other cool effects. Pixel shaders allow objects to have different effects applied to them, like shadows and blurs.

New Controls

Silverlight 3 provides many new controls that can be used to build solid line-of-business (LOB) applications. Controls can be bound to each other using element-to-element binding, and validation can also be performed more easily. Several new controls are also available in the Silverlight 3 toolkit released by Microsoft.

Better Navigation

Navigating between Silverlight "pages" is now built-in along with better search engine optimization (SEO) support and deep linking.

Enhanced Text Rendering

One knock against Silverlight 2 was that text didn't render as clearly as it should in some situations. Silverlight 3 includes a major update to the text-rendering engine. Text renders very crisply now.

Enhanced Styles

Silverlight 3 provides merged dictionary support, allowing multiple style files to be merged into an application (similar to how a standard Web application can use multiple CSS files). This allows themes and other styles to be switched much more easily. Styles can also be based on other styles, similar to inheritance in OO languages.

Faster Transfer of Data

Windows Communication Foundation (WCF) support was available in Silverlight 2 but Silverlight 3 now adds support for binary XML serialization, which allows data to be transferred between a Silverlight application and a WCF service much faster than before.

Assembly Caching

Silverlight 3 allows developers to store assemblies on a central company server and Silverlight 3 applications can then download them as needed rather than downloading everything upfront in a single .XAP file. This can significantly speed-up application load times.

Enhanced Networking Support

A new client networking (ClientHttp) stack is available that supports more verbs than simply GET/POST. Applications that fully leverage REST APIs will benefit from this new feature.

HD Media Support

Silverlight 3 includes support for GPU acceleration (as mentioned earlier) as well as 1080p HD videos to be played over the Web. New codec support for H.264, AAC audio and MPEG-4 content is also included. If you need to provide media solutions, then Silverlight covers all of the major scenarios now.

Here are some other changes to Visual Studio and Silverlight applications in general:

  • The Visual Studio 2008 designer has been removed for Silverlight 3 applications. A lot of developers turned it off, anyway, so all of the dev efforts have gone into the designer that'll be available in Visual Studio 2010. Expression Blend 3 can also be used, of course, or you can also use Kaxaml.
  • The Silverlight ASP.NET server control isn't used now. It simply emitted the object and associated params tags, anyway.
  • Expression Blend 3 has also been released, along with a new feature called SketchFlow. SketchFlow allows application prototypes and mock-ups to be created more easily in order to get customer feedback. Though I rarely used Blend for coding previously, it now includes code intellisense, which is a nice feature to have and adds support for behaviors, importing Adobe Photoshop and Illustrator files, and integrating sample data into applications.

To get started with Silverlight 3, go here.

You can find some more useful links in my previous post.

Share:

Silverlight Presentation on 17th July 2009

1 Layouts Presentation.zip

2 Introducing_Silverlight_2.zip

3 Introductionto Silverlight 3.zip

4 Silverlight Control Lifecycle.zip

These are the Slides of the Silverlight Presentation which I had given on 17th July 2009, other useful links where you can download the examples and Installers are given below.

WHAT’S NEW IN SILVERLIGHT 3?

Download Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1

This download will install the following:

  • Silverlight 3 developer runtime
  • Silverlight 3 software development kit
  • KB967143 for Visual Studio 2008 SP1
    and/or
    KB967144 for Visual Web Developer 2008 Express with SP1
  • Silverlight 3 Tools for Visual Studio 2008 SP1
    and/or
    Silverlight 3 Tools for Visual Web Developer 2008 Express with SP1

The Official Site of Silverlight | Microsoft Silverlight

Microsoft Expression Blend 3

Silverlight Community

Microsoft Silverlight 3 Offline Documentation

And for all other things,

http://www.silverlight.net

And for those who are mostly involved in Silverlight Designing

http://www.kirupa.com/blend_silverlight/index.htm

http://expression.microsoft.com/en-us/cc184874.aspx

There are few basic concepts which I have used in my Presentation like Automatic Properties, Object Initializers, LINQ, etc you can find almost all these in Scott’s Blog

 

Thanks

~Brij

Share:

Sunday 19 July 2009

Cryptographic failure while signing assembly ... Access is denied.

I received the following error today while deploying the Silverlight WebPart in IIS.

Cryptographic failure while signing assembly 'MyWebpartAssemblyName.dll'. Access is denied.

Seems I had a permissions error. Did a bit of searching on Google and found this post on a blog by R. Aaron Zupancic. That did the trick.

I would have never thought that the permissions error had something to do with the C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys folder.

Share:

Sunday 12 July 2009

Silverlight 3 Released

Silverlight 3 and associated developer tools have been released!  Visit the Get Started page to download all you need to build great Web experiences with Silverlight 3. You can also learn more by watching the new videos, reviewing the Quickstarts or reading about some success stories and what is new in Silverlight 3.

www.microsoft.com/silverlight (Silverlight home – some V3 feature demos here)
Share: