...
archive/ 200 9/ 04 / 14/ 9 549 246 .aspx.
Parallel Debugging Enhancements
Writing parallel and threaded applications is hard. To help, Microsoft has added additional debugging
features to the VisualStudio ...
127
Windows Workflow
Foundation 4
Availability: Framework 4.0
Windows Workflow Foundation (WF) was first introduced in 200 6 with .NET 3 .0. It is probably fair to say
that WF didn’t ... the workflow designer within your application. For more information on
this please refer to the following links:
• http://msdn.microsoft.com/en-us/library/dd48 944 0( VS. 100 ).aspx
• http://channel9.msdn.com/learn/courses/VS 201 0/WCFWF/IntroToWF/Exercise- 10-
Hosted-Designer/...
... post by Damien Guard (who works at Microsoft within the data programmability
team) at http://damieng.com/blog/ 200 9 /06 /01 /linq-to-sql-changes-in -net- 40 .
Why Use EF?
The sections below cover the ... the fact that as of .NET 4. 0, LINQ to Entities will be the recommended data
access solution for LINQ to relational scenarios “
http://blogs.msdn.com/adonet/archive/ 200 8/ 10/ 31/clarifying-the-message- ...
Creating an Entity Data Model in VisualStudio
The easiest way to create an EDM is by using the ADO .NET data model wizard in Visual Studio.
1. Open up Visual Studio.
2. Create a New C# Console...
...
xmlns:annotation="http://schemas.microsoft.com/ado/ 200 9 /02 /edm/annotation"
xmlns="http://schemas.microsoft.com/ado/ 200 8 /09 /edm">
4. Add the following inside the previous section: ... but VS 201 0 allows you to carry out much more complex
changes. VS 201 0 offers 3 options to locate the item you want to change (full details at http://msdn.
microsoft.com/en-us/library/dd465326%28VS. 100 %29.aspx): ... a new ADO .NET entity data model to the project.
2. Call the ADO .NET entity data model Chapter9Model.edmx.
3. Click Add.
Figure 9-1. Adding ADO .NET entity data model
4.
Visual Studio will...
... http://seejoelprogram.wordpress.com/ 200 8/ 10/ 03/fixing-
sysapplicationinitialize-again/).
Installation
A number of VisualStudio 201 0 project templates such as ASP .NET MVC 2 and ASP .NET web application
projects ... example of how to call a JSONP service at http://www.asp .net/
ajaxlibrary/HOW%20TO%20Use%20JSONP%20to%20Request%20Data%20from%20Remote%20Websites.ashx.
For more information on JSONP, please refer ... number of additions in VS 201 0/ASP .NET 4.0.
I will not be covering these but for interested readers please refer to: http://www.asp .net/ dynamicdata.
Conclusion
ASP .NET 4.0 fixes some long-term...
... http://www.stackoverflow.com/questionDetail.aspx?id= 343 4.
Now click any question in SO and take a look at the URL. You will see something similar to
http://stackoverflow.com/questions/2 9 40 17 /visual- studio- 200 5-freezes.
CHAPTER ... please refer to
http://blog.codeville .net/ 200 8 /09 /01 /prevent-cross-site-request-forgery-csrf-using-aspnet-
mvcs-antiforgerytoken-helper/.
Extending MVC
ASP .NET MVC is very easy to customize and ... logged into my bank
account, open an e-mail that has an embedded image with a URL such as
http://www.bank.com?withdraw= 100 00& amp;to=badPerson. Because I am logged in to the site, this action
would...
... 0, 0 (see
Figure 14- 6).
CHAPTER 14 SILVERLIGHT INTRODUCTION
332
Project Structure
Visual Studio has created two projects (see Figure 14- 4):
• Chapter 14. HelloSilverlight
• Chapter 14. HelloSilverlight.Web ... xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/ 200 6"
mc:Ignorable="d"
d:DesignHeight=" 300 " d:DesignWidth=" ; 40 0& quot;>
CHAPTER 14 SILVERLIGHT INTRODUCTION
3 40
Consider how a browser ... applications.
VS 201 0 WPF/Silverlight Designer
VS 201 0 contains a much improved designer that offers the same full design time experience in both WPF
and Silverlight projects. The new VS 201 0 WPF/Silverlight...
... (historical debugger) X
Test management X
What Is .NET 4.0 and VS 201 0 All About?
VS 201 0 and .NET 4.0 lay the foundations for the next epoch of .NET development and correct a number
of omissions. ... 1
1
Introduction
These are exciting times to be a .NET developer, and VisualStudio 201 0 (VS 201 0) and the .NET 4.0
framework have brought a bewildering number of changes. But fear ... .NET 4. 0; this book will give them an excellent understanding of how
to use VS 201 0 to take advantage of the .NET 4.0 feature set, including the Parallel Extensions.
Phil Whinstanley (ASP.NET...
...
http://code.msdn.microsoft.com/DslTools/Wiki/View.aspx?title=What%27s%20new
http://karlshifflett.wordpress.com/ 200 9/ 10/ 30/ t4-preprocessed-text-templates-in -visual-
studio- 201 0/
VS 201 0 Premium and Ultimate
I will only be covering Professional ... following link:
http://blogs.msdn.com/ricom/
archive/ 200 9 /06 / 10/ visual- studio- why-is-there-no- 64- bit-version.aspx
.
General Improvements
VS 201 0 contains some long-awaited changes, including:
• ...
CHAPTER 2 VISUALSTUDIO IDE AND MEF
10
Figure 2-1. VS 201 0 allows you to drag windows outside the IDE.
Improved Multitargeting Support
When a new version of Visual Studio/ .NET framework...
...
http://blogs.msdn.com/ianhu/archive/ 200 9 /05 /13/historical-debugging-in -visual- studio- team-
system- 201 0.aspx
Static Analysis of Code Contracts
Code contracts (which I cover in Chapter 3) allow you to express constraints within ... All Got to Do withVisualStudio Extensibility?
Visual Studio utilizes MEF in an almost identical way to the previous examples when it loads Visual
Studio extensions. When VisualStudio first ... VISUALSTUDIO IDE AND MEF
26
Before you can perform any of these customizations, however, you will first need to download and
install the VisualStudio SDK.
Extensions in VS 201 0 make heavy...
... of VisualStudio after VS 201 0.
Visual Studio Shell
It is worth noting that from VS 200 8 Microsoft opened up the ability to make use of the IDE for your own
applications. This is called the Visual ... All Got to Do withVisualStudio Extensibility?
Visual Studio utilizes MEF in an almost identical way to the previous examples when it loads Visual
Studio extensions. When VisualStudio first ... VisualStudio to rotate the text editor 245 degrees. Open
MarginFactory.cs and add the following using statement:
using System.Windows.Media;
CHAPTER 2 VISUALSTUDIO IDE AND MEF
36
with...
... them. In VS 201 0 to stop VisualStudio generating PIA files simply set
the Embed Interop Types property to True in Solution Explorer.
Variance
Variance has changed in .NET 4.0. At the 200 8 PDC ... comfortable with the concept of variance (stop looking so smug) here is
the short version of what has changed in .NET 4. 0:
• You can now mark parameters in generic interfaces and delegates with the ... Hansleman’s blog (www.hanselman.
com/blog/CLRAndDLRAndBCLOhMyWhirlwindTourAroundNET4AndVisualStudio 201 0Beta1.aspx).
...
... data and making it easier to work with and is included for
interoperability with dynamic languages that support this concept.
System.Dynamic.DynamicObject
.NET 4.0 introduces a new class called ... (more complexity = bad).
I’ll cover the DLR in detail later in this chapter.
Type Dynamic
.NET 4.0 introduces a new type dynamic that allows you to tell the compiler to resolve a variable’s ... working with COM, dynamic types allow a more concise syntax (we saw this
earlier). Let the DLR do the work figuring out how to bind your method and
property calls.
• When interacting with a...