.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

New Security Model: Moving to a Better Sandbox

 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 ...

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

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, ...

Deploying Silverlight Projects using VS10

With VS10 beta1 environment, you can also install Silverlight 3 beta to combine the power of both. When a Silverlight 3 beta project is compiled, it generates xap file.  The web application or website should take the xap as content for Build Action.  The following shows what the default Siliverlight project has: (image) Having ...

In-Process Side by Side (Part1)

One of the new features in CLR 4 is In-Process Side-by-side (Inproc SxS) – a feature that lets you use multiple versions of .NET in the same process. For applications that use add-ins (particularly COM add-ins), in-proc SxS lets us provide a level of compatibility never before possible. If you write applications that use an add-in model (for...

In-Process Side by Side (Part1)

One of the new features in CLR 4 is In-Process Side-by-side (Inproc SxS) – a feature that lets you use multiple versions of .NET in the same process. For applications that use add-ins (particularly COM add-ins), in-proc SxS lets us provide a level of compatibility never before possible. If you write applications that use an add-in model (for...

Free Web Hosting to try ASP.NET 4 Beta1, VS 2010 Beta1 and MS Web Deployment Tool RC1

Today we are announcing the availability of FREE HOSTING accounts for web developers to try out the new feature sets of Visual Studio 2010 Beta1, ASP.NET 4 Beta1 and Microsoft Web Deployment Tool (MsDeploy) RC1… VS 2010 has great set of features on deploying web applications seamlessly…   One of the key features is the ability ...

CLR Inside Out – Memory Usage Auditing For .NET Applications

(image) The new installment of the “CLR Inside Out” column in MSDN magazine is now available on line.  This month we have an article from Subramanian Ramaswamy and Vance Morrison on Memory Usage Auditing For .NET Applications. You can find a list of all “CLR Inside Out” articles here.  As always, please let...