Wednesday 30 May 2012

About TURNTECHIE.COM

Hi Everyone,

Thanks for visiting my blog.
I also have created a website that have various tutorials on DATABASE, WEB DEVELOPMENT & SOFTWARE DEVELOPMENT TECHNOLOGIES and I am creating some other tutorials too. It will be updated daily and number of tutorials will increase day by day.

Please visit my website http://www.turntechie.com

I hope you will like it. Please share it with your friends and colleuges.

Thanks in Advance.

Author
Abhishek Saxena

Monday 16 January 2012

How to apply "Multi-targeting feature" in ASP.NET 4.0


What is Multi-Targeting:
Multi-Targeting is a feature given in .Net 4.0 that can be used to target a specific version of .Net framework for creating applications.

Limitation in previous versions:
In the previous versions of .NET , the option of targeting some other framework was not available. Users could work in the same version, they installed.

How to use Multi-Targeting Feature:
For using multi-targeting feature , users will have to add “targetframework” attribute in the compilation element of the web.config file.
Example: You will find compilation element after “Caching” attribute.
 
You can also set this feature in Visual Studio 2010.Just follow these steps:
1: Open Visual Studio 2010.
2: Create NewProject/Website.
 
3: Select targetframework as shown below-
 
Now MultiTargeting feature will work according to your choice.

Benefits:
Multi-targeting allows you to use and target multiple versions of .NET.