Showing results for June 2009 - Page 2 of 4 - .NET Blog

Jun 19, 2009
Post comments count0
Post likes count1

Tasks and the Event-based Asynchronous Pattern

Stephen Toub - MSFT
Stephen Toub - MSFT

As has been discussed previously, one of the new features in the Task Parallel Library is TaskCompletionSource<TResult>, which enables the creation of a Task<TResult> that represents any other asynchronous operation.  There are a wide variety of sources in the .NET Framework for asynchronous work.  One comes from components th...

.NET Parallel Programming
Jun 17, 2009
Post comments count0
Post likes count0

ASP.Net MVC for Visual Studio 2010 Beta1 Codeplex

Web Development Tools Microsoft
Web Development Tools Microsoft

ASP.Net MVC for Visual Studio 2010 is available for download here: http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28527.There is no new functionality but you should be able to upgrade your applications to target the 4.0 framework (or leave them as is) if you would like to play with ASP.Net MVC on Dev10. Please read the release no...

ASP.NET
Jun 16, 2009
Post comments count0
Post likes count0

Updates to FTP publishing in Visual Studio 2010

Web Development Tools Microsoft
Web Development Tools Microsoft

With VS2010, we introduced “web deployment tool” as the new publish method; at the same time, FTP publish is still available and supported in VS2010. In web application project system, because we centralized main deployment workflow, so some new features usually introducd at the same time with “web deployment tool” is also available to FTP publish....

ASP.NET
Jun 16, 2009
Post comments count0
Post likes count0

Changes to the Publish dialog in web application project system in Visual Studio 2010

Web Development Tools Microsoft
Web Development Tools Microsoft

This blog explains some modification we made to the publish dialog in the web application project system, mainly to accommodate new web deployment tools from IIS team (aka “MsDeploy”). Changes are summarized as following: 1. Persist your publish settings through creating and managing publish profiles 2. Provide a “publish method” combo box for yo...

ASP.NET
Jun 13, 2009
Post comments count0
Post likes count0

How PLINQ processes an IEnumerable on multiple cores

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

As Ed Essey explained in Partitioning in PLINQ, partitioning is an important step in PLINQ execution. Partitioning splits up a single input sequence into multiple sequences that can be processed in parallel. This post further explains chunk partitioning, the most general partitioning scheme that works on any IEnumerable<T>.Chunk partitioning ...

.NET Parallel Programming
Jun 11, 2009
Post comments count0
Post likes count0

What’s New for .Net Framework Security

CLR Team
CLR Team

 Shawn Farkas, CLR security developer, has started a cool series of posts on what’s new in .NET Framework 4 security. If you’re doing any work with or have scenarios involving partially trusted code, you’ll want to take a look. Topics include sandboxing, Code Access Security (CAS) Policy, and a nifty Channel 9 video. Check it...

.NET
Jun 10, 2009
Post comments count0
Post likes count0

New Security Model: Moving to a Better Sandbox

CLR Team
CLR Team

 For .Net Framework 4, we decided to remove the dependency on caspol and the policy levels and make things simpler. With this change, the default grant-set for assemblies is now FullTrust unless the host (such as InternetExplorer) decides to load them in a sanbox. We also made CodeAccessPermission.Deny obsolete. This MSDN article des...

.NET
Jun 9, 2009
Post comments count0
Post likes count0

Tasks and the APM Pattern

Stephen Toub - MSFT
Stephen Toub - MSFT

The Asynchronous Programming Model (APM) in the .NET Framework has been around since .NET 1.0 and is the most common pattern for asynchrony in the Framework.  Even if you’re not familiar with the name, you’re likely familiar with the core of the pattern.  For a given synchronous operation Xyz, the asynchronous version manifest...

.NET Parallel Programming
Jun 7, 2009
Post comments count0
Post likes count0

In-Process Side by Side Part 2 – Common in-proc SxS scenarios

CLR Team
CLR Team

Update: The information in this blog post applies to pre beta-1 behavior and is not applicable to beta 2 and RTM. We will have more posts and documentation on this subject as we get closer to RTM.  This section covers the most common in-process side by side scenarios. The scenarios cover which CLR is used to run the specific code, given a...

.NET
Jun 6, 2009
Post comments count0
Post likes count0

Achieving Speedups with Small Parallel Loop Bodies

Stephen Toub - MSFT
Stephen Toub - MSFT

The Parallel class represents a significant advancement in parallelizing managed loops.  For many common scenarios, it just works, resulting in terrific speedups.  However, while ideally Parallel.For could be all things to all people, such things rarely work out, and we’ve had to prioritize certain scenarios over others.One area Par...

.NET Parallel Programming