In this post I will talk for one of the new feature in C# 4.0 – Named and Optional Parameter. Actually these are not a single feature but two different feature. You can get more benefit if you work with them together. So, what are those? Named parameter is a way to provide an parameter to the method using the name of the corresponding parameter instead of its position in the parameter list. Whereas, optional parameter allows you to omit arguments to member invocation.
Silverlight 5 Wish list – Please contribute yours
- Sophisticated Authentication & Security (includes client certificates as credentials for web service call) - [Vote] – alexander.biskop
- More encryption algorithm - [Vote] – alexander.biskop
- More flexible way to do localization in DataForm/DataGrid - [Vote] – sladapter
- Application patching functionality - [Vote] – Haathen
- Better Local Messaging API - [Vote] – ksleung
- Better drawing API - [Vote] – ksleung
- Support for Report Viewer - [Vote] - mlonny
- Real time printing support - [Vote] – ksleung
- Support for iPod/iPhone - [Vote] - microsoft_kc
- Android support - [Vote] – ksleung
- Better 3D support like WPF - [Vote] - microsoft_kc
- An embedded database component like SQL-CE that can be used in OOB mode - [Vote] – Joeyw
- Better support for WritableBitmap - [Vote] – Joeyw
- Vector Printing - [Vote] – Joeyw
- Support for IObservable for databinding - [Vote] – Joeyw
- Rich Text Editor which allows Word Wrapping around images or other elements - [Vote] - Erwin Beckers
- BMP and GIF image support - [Vote] - Erwin Beckers
- More advanced controls like Outlook Agenda/Calendar control - [Vote] - Erwin Beckers
- Transparency Support in Out-Of-Browser Mode - [Vote] - microsoft_kc
- Improved SaveFileDialog with DefaultName option - [Vote] - Neha
- ChildWindow with NON-modal support - [Vote] - Amantha
- Flash video playback - [Vote] - Erwin Beckers
- A working webbrowser control in a non-out-of-browser scenario - [Vote] - Peter Gfader
- Support tooltip better for transparent, init delay, show delay, tiling image brush - [Vote] - Anonymous
Also, you can post them & vote in Silverlight Uservoice.
How can I work with Silverlight 4 in Visual Studio 2010 RC?
I think this is now-a-days a common issue for all the developers who are currently exploring both Visual Studio 2010 RC and Silverlight 4 Beta. Microsoft has removed the bits of Silverlight in the RC version of Visual Studio 2010. To work with that lots of people are now asking the same question.
Today I found a link which is written in a different version. I thought to share this thru my blog which may help the fellow developers (who are keeping a eye to my blog posts) to explore both simultaneously. Here is the original link of the post: http://sorokoletov.com/2010/02/hate-2-wait-silverlight-4-beta-2-vs-2010-rc/
Use the below link to translate it in English: http://tinyurl.com/SL4inVS2010RC-en
If you follow the steps provided in that blog post, you can install the Silverlight 4 Beta in your Visual Studio 2010 RC environment & start working on it till Microsoft releases the RC version of Silverlight. Go ahead and enjoy.
Remember: WCF RIA Services doesn’t work with this hack. I strongly recommend you to work with Visual Studio 2010 Beta 2 & Silverlight 4 Beta.
Tips & Tricks: Customizing Visual Studio 2010 Start Page
Do you know that you can easily customize the Visual Studio 2010 start page? Yes, this is true. This uses a XAML page which you can modify easily if you have a knowledge in XAML. Redesign your page with your brand & look, impress your users (mainly your team) with the new look.
Why should I do this:
Now before reading the steps question may arise in your mind “Why should I do this? I don’t care what the look is.” Yup, this is right but thing in some point of view where you want to show some sort of information/news tracker on the best coding practises your team should follow or you may want to show the pending tasks of the team in the start-up page or you may want to redesign that page with custom templates to meet your company brand or something else.
How can I do this:
How I can do this? First of all, go to your “My Documents\Visual Studio 2010\StartPages”. There you will find a project named “StartPage” with an additional XAML file named “StartPage.xaml”. This xaml page is your Start Page of the Visual Studio 2010. Remember that this is user specific file & have to deploy for all users.
Before doing anything take a backup of the same. Now open the StartPage project file which will load the xaml in your Visual Studio IDE. Modify it according to the look & feel you want. Save it & you will immediately see the effect in your startup page.
Not only this. You can also chose different XAML files for your Startup XAML page. Create a separate XAML file with your design in the same directory as mentioned above. Open your Visual Studio 2010. Go to Tools –> Options –> Environment –> Startup.
Select the “Custom Start Page” from the drop down that you have created. Hit “OK” to see it immediately in your start page. Remember that for security reason you can’t change the path as this executes under the trusted privileges of the user only & also uses some references to the Visual Studio UI assemblies.
Visual Studio 2010 Release Candidate available for download
Visual Studio 2010 RC has a “Go-Live” license, means you can develop softwares/applications using it & publish it. As you all know the features of Visual Studio 2010 in the Beta release, but I am again posting the link of Visual Studio RC features & walkthrough guide here so that it will be beneficial for the new users.
Go here & have a look into the Visual Studio 2010 RC features and walkthrough guide: http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx
One update regarding the RC release is it doesn’t support Silverlight 4 but you can load/create Silverlight 3 projects using that. According to Scott in his Blog Post: “Silverlight 3 projects are supported with today’s VS 2010 RC build – however Silverlight 4 projects are not yet supported. We will be adding VS 2010 RC support for SL4 with the next public Silverlight 4 drop. If you are doing active Silverlight 4 development today we recommend staying with the VS10 Beta 2 build for now.” Hence, those who are actively working on Silverlight 4 should work on Visual Studio 2010 Beta 2 instead of upgrading to the Release Candidate.
Complete this survey for Visual Studio 2010 and .NET Framework 4 Release Candidate: https://mscuillume.smdisp.net/Collector/Survey.ashx?Name=VS2010-RC
Last but not least, if you have any issue working with the RC version of Visual Studio 2010 or if you find any bug or if you have any future suggestions please never forget to report it at Microsoft Connect site: https://connect.microsoft.com/VisualStudio