Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

CodeProject

Showing posts with label CodeProject. Show all posts

C# 6.0 came with another new feature along with Visual Studio 2015 and .NET 4.6. Now you will be able to write await operations in catch {} and finally {} blocks too. This will help many developers to do certain async operations when they encounter any exceptions or want to do async clean-ups in finally block.

 

Today in this blog post, we will discuss about this new feature. Don’t forget to read the other new features which I posted earlier. Links can be found in this post.

Published by on under .Net | Async

Did you explore the latest of C# 6.0? It brought another new feature called “Expression-bodied function members” which will allow you to write expression bodies for properties, methods etc. instead of writing statement blocks. Thus reducing the code.

 

Today in this post, we will discuss about the new feature “Expression-bodied function members”. Read more to learn about it. Don’t forget to share the feature links in your network.

Published by on under .Net | C# 6.0

C# 6.0 brought another great new feature named “Exception Filters” along with Visual Studio 2015 and .NET 4.6. If you didn’t try yet the preview version of the new IDE, go and grab it to get your hands dirty with the new features before it actually releases.

 

Today in this post, we will discuss about the new feature “Exception Filters”. Read more to learn about it. Don’t forget to share the feature links in your network.

Published by on under .Net | C# 6.0

C# 6.0 brought a set of most useful features with Visual Studio 2015 Preview and .NET 4.6. If you didn’t yet explore the features, check out the embedded links within this post to learn what’s coming with it. Download the preview to get your hands dirty before you use in production.

 

Today in this blog post, we will discuss about a new feature called “null-conditional operators”, which will actually improve your productivity. Let’s start with it.

Published by on under .Net | C# 6.0

Visual Studio 2015, .NET 4.6 and C# 6.0 came up with lot many features. If you didn’t try the new IDE, download the preview version in a non-production environment to get your hands dirty with it. You will definitely love the new features.

 

Today in this post we will learn about another new feature called “nameof” expression which will surely solve most of the problems a developer faces when playing with properties and notifications.

Published by on under .Net | C# 6.0

Did you download the new Visual Studio 2015 IDE? If not, try the preview version before it actually releases and start improving your coding skills with the forthcoming IDE from Microsoft. Today we are going to explore another new feature of C# 6.0 coming with this release.

 

Let’s continue the series “What’s new in C# 6.0?” and show you what’s coming with C# 6.0 in terms of string interpolation/string concatenation.

Published by on under .Net | C# 6.0

Did you try the new Visual Studio 2015 and .NET 4.6? At the time of writing this blog post, it’s still in “Preview” release for the developers to try and report issues. .NET 4.6 comes with C# 6.0 with additional new features expected by developers to improve their coding productivity.

 

We are now going to describe the new features introduced in C# 6.0. Today in this blog post, we are going to see how to initialize/set default values to auto properties introduced in C# 6.0. Keep reading.

Published by on under .Net | C# 6.0

Windows Phone 8.1 SDK came with slight changes in it’s API and among them, few changes I already blogged earlier with a comparison to the previous SDK version. If you are looking for Screen Orientation changes, this post will help you.

 

In this post we are going to discuss “How to set the Supported Orientation and Screen Orientation in Windows Phone 8.1” with a comparison between the API changes.

Published by on under CodeProject | DZone

Sometime we need to export data as Excel report. This can be a plain Console application or a high end desktop and/or web application. You can of course do this using plugins/add-ons but what if you don’t have permission to use any 3rd party assemblies in your application?

 

Okay, in this post we are going to discuss this with help of a simple Silverlight & C# application but logic will be same in other platforms/technologies too. Keep reading.

Published by on under .Net | CodeProject

Writing validation logic using JavaScript in a HTML form is not an easy way. We all have seen it in HTML4 but what’s new in HTML5? Will it provide us easy way to validate the form with writing a small piece of code only?

 

Today we will be talking about this validation stuffs in HTML5. But as usual, all the browsers don’t support all of them but a good start to think for future.

Published by on under CodeProject | DZone

“Quick Launch” is a new feature in Visual Studio 2012. If you used Productivity Power Tools in Visual Studio 2010, you might be familiar with this. In Visual Studio 2010 Productivity Tools, you can see this with the name “Quick Access”.

 

Now Microsoft integrated it as “Quick Launch” in Visual Studio 2012 and to use it, you don’t have to install any extensions. This 4th tip on Visual Studio 2012 will guide you to know more about this new feature. So, continue reading and let me know your feedback.

Published by on under CodeProject | Tips

Microsoft Visual Studio 2012 RC is now available for public download. There are plenty of new enhancements in this release of Visual Studio IDE. I already started explaining them in my blog for the developers to improve their productivity using this new IDE.

 

Today in this productivity improvement post, we will know about the enhanced version of the Solution Explorer. It is not new and was available in earlier versions too but in this new release they added new enhancements for the developers. Check out the complete post to know about it and it’s benefits.

Published by on under CodeProject | Tips

In our last blog post we discussed about browser switching mechanism in Visual Studio 2012 for web developers to test their web applications against different web browsers which actually increases the productivity time of such applications.

 

Today in this post, we will learn about the Refactor feature of Visual Studio 2012 which will again improve your productivity without using any additional tools or extensions. So, continue reading this post to learn about this feature of new Visual Studio IDE.

Published by on under CodeProject | Tips

If you are a web developer and use Visual Studio to design and develop web applications, this post will help you to improve your productivity. Last year we discussed how to improve your productivity using the “Default Browser Switcher Extension” in Visual Studio 2010.

 

Now here comes another post which will show you how to use the in-built “Browser Switcher” extension available in Visual Studio 2012. I hope that, once you start working in Visual Studio 2012, this will definitely help you to increase your productivity.

Published by on under CodeProject | Tips

Do you want to create an application or game for your Windows Phone 7 that can share links to various social networking sites of users choice? Then this post will help you to integrate the same in your application.

 

Continue reading the complete post to know more about the API, the internal implementation of the WP7 SDK and the way to include it in your application. Don’t forget to share your feedback and if you like the post, please share it to others as this might be helpful for them too.

Published by on under CodeProject | Mango

Do you want to develop an application or game which will update your status or game result in some social networking sites like Facebook, Twitter, Linked-In and/or Windows Live? Then this post will help you to integrate such task in your app.

 

Using “ShareStatusTask” of the Windows Phone 7 SDK, you can update your status line on the social networking sites. Continue reading the post for more details of the API and the implementation steps.

Published by on under CodeProject | Mango

In last few articles I was discussing on Launchers and Choosers of Windows Phone 7. In today’s blog post I am going to continue on that again. This time we will discuss on “SmsComposeTask” of the WP7 SDK, which you can use to create SMS from code.

 

SmsComposeTask launches the Messaging application with a new SMS message displayed and requires user intervention to send the message. Continue reading to learn in depth of the API implementation and uses of the API.

Published by on under CodeProject | Mango

In last two blog posts we learnt how to save email address in WP7 and how to send email. We also learnt the internal implementation of the APIs used by the Windows Phone 7 SDK.

 

Today in this blog post we will explore how to retrieve email address from contact list with a simple example (including the internal implementation of the API). Don’t forget to provide your feedback. If you have any queries, let me know. I will try to answer you as early as I can.

Published by on under CodeProject | Mango

In the last blog post we learnt “How to Save Email Address in WP7 using the SaveEmailAddressTask?” where we shared code snippet of the internal implementation of the SaveEmailAddressTask along with the code implementation of a demo app.

 

Today in this blog post we will learn how to compose an email using the Windows Phone 7 SDK class called “EmailComposeTask”. Also sharing the decompiled version of the class, so that you can know the SDK implementation. Continue reading and at the end don’t forget to leave your feedback.

Published by on under CodeProject | Mango

Do you want to build an application which will allow you to save an email address? Then this post will allow you to understand the API of Windows Phone 7 SDK. In this post we will learn about SaveEmailAddressTask class and it’s API with a simple demo.

 

Continue reading to learn about it. Also, I will share the code snippet of the internal implementation of the SaveEmailAddressTask, which will help you to understand the actual implementation of the API of WP7 SDK.

Published by on under CodeProject | Mango