Skip to main content
Microsoft
.NET Blog
.NET Blog
  • Home
  • DevBlogs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • DevOps
    • Developer support
    • CSE Developer
    • Engineering@Microsoft
    • Azure SDK
    • IoT
    • Command Line
    • Perf and Diagnostics
    • Dr. International
    • Notification Hubs
    • Math in Office
    • DirectX
    • PIX
    • SurfaceDuo
    • Startups
    • Sustainable Engineering
    • Windows AI Platform
    • C++
    • Java
    • Java Blog in Chinese
    • JavaScript
    • PowerShell Community
    • PowerShell Team
    • Python
    • Q#
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • .NET MAUI
    • Blazor
    • ASP.NET
    • NuGet
    • Xamarin
    • #ifdef Windows
    • Apps for Windows
    • Azure Depth Platform
    • Azure Government
    • Bing Dev Center
    • Microsoft Edge Dev
    • Microsoft Azure
    • Microsoft 365 Developer
    • Old New Thing
    • Windows MIDI and Music dev
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL
    • OData
    • Revolutions R
    • SQL Server Data Tools
    .NET Conf 2021 .NET Conf is coming! November 9th through the 11th is a free, three-day, virtual developer event that celebrates the major releases of the .NET development platform.
    Save the Date!

    .NET Blog

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

    June 2009 - .NET Blog

    Enabling CAS Policy Compatibility Mode for a Project
    Enabling CAS Policy Compatibility Mode for a Project
    CLR Team June 24, 2009 Jun 24, 2009 06/24/09
    If you’re migrating a VS project over to VS 2010 Beta1 and you are calling code that is passing Evidence objects to the runtime expecting security policy resolution, or if you’re using a permission Deny, you may run into the following exception: NotSupportedException: This method uses CAS policy, which has been obsoleted by the .NET ...

    Comments are closed.0.NET
    Getting more information than the exception class provides
    Getting more information than the exception class provides
    CLR Team June 20, 2009 Jun 20, 2009 06/20/09
    We recently had a question about how to get more information than an exception’s type provides. The developer was trying to copy a file and didn’t know why the copy was failing. File copies can fail for many reasons, almost all of them what Eric Lippert calls “exogenous conditions”. The developer was catching System....

    Comments are closed.0.NET
    Tail Call Improvements in .Net Framework 4
    Tail Call Improvements in .Net Framework 4
    CLR Team June 19, 2009 Jun 19, 2009 06/19/09
    Grant Richins has a post on the CLR Code Generation team blog that covers the work done to improve the x64 JIT to honor the "tail." instruction prefix, thereby making functional languages like F# more viable. You can find the full post here...

    Comments are closed.0.NET
    What’s New for .Net Framework Security
    What’s New for .Net Framework Security
    CLR Team June 11, 2009 Jun 11, 2009 06/11/09
     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. ...

    Comments are closed.0.NET
    New Security Model: Moving to a Better Sandbox
    New Security Model: Moving to a Better Sandbox
    CLR Team June 10, 2009 Jun 10, 2009 06/10/09
     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 ...

    Comments are closed.0.NET
    In-Process Side by Side Part 2 – Common in-proc SxS scenarios
    In-Process Side by Side Part 2 – Common in-proc SxS scenarios
    CLR Team June 7, 2009 Jun 7, 2009 06/7/09
    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, ...

    Comments are closed.0.NET
    In-Process Side by Side (Part1)
    In-Process Side by Side (Part1)
    CLR Team June 3, 2009 Jun 3, 2009 06/3/09
    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...

    Comments are closed.0.NET
    In-Process Side by Side (Part1)
    In-Process Side by Side (Part1)
    CLR Team June 3, 2009 Jun 3, 2009 06/3/09
    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...

    Comments are closed.0.NET
    CLR Inside Out – Memory Usage Auditing For .NET Applications
    CLR Inside Out – Memory Usage Auditing For .NET Applications
    CLR Team June 1, 2009 Jun 1, 2009 06/1/09
    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 us know...

    Comments are closed.0.NET
    Relevant Links

    .NET Download

    .NET Hello World

    .NET Meetup Events

    .NET Documentation

    .NET API Browser

    .NET SDKs

    .NET Application Architecture Guides

    Web apps with ASP.NET Core

    Mobile apps with Xamarin.Forms

    Microservices with Docker Containers

    Modernizing existing .NET apps to the cloud

    Archive
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • October 2011
  • September 2011
  • June 2011
  • April 2011
  • November 2010
  • September 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • November 2008
  • May 2007
  • March 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • June 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • October 2005
  • July 2005
  • May 2005
  • December 2004
  • November 2004
  • September 2004
  • June 2004
  • Topics
  • .NET
  • .NET Core
  • .NET Framework
  • Entity Framework
  • C#
  • ASP.NET
  • ML.NET
  • WPF
  • Performance
  • Machine Learning
  • F#
  • Visual Studio
  • AI Machine Learning
  • Containers
  • Security
  • .NET Internals
  • WinForms
  • Conversations
  • .NET MAUI
  • Azure
  • Game Development
  • Show dotnet
  • Lifecycle
  • Debugging
  • Docker
  • Maoni
  • Async
  • Concurrency
  • GC
  • TPL
  • Apache
  • Big Data
  • Spark for .NET
  • Visual Basic
  • Static Analysis
  • IoT
  • SQL Server
  • LOH
  • XAML
  • Stay informed

    Login
    Code Block
    What's new
    • Surface Pro 8
    • Surface Laptop Studio
    • Surface Pro X
    • Surface Go 3
    • Surface Duo 2
    • Surface Pro 7+
    • Windows 11 apps
    • HoloLens 2
    Microsoft Store
    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Virtual workshops and training
    • Microsoft Store Promise
    • Flexible Payments
    Education
    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education
    Enterprise
    • Azure
    • AppSource
    • Automotive
    • Government
    • Healthcare
    • Manufacturing
    • Financial services
    • Retail
    Developer
    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Center
    • Microsoft developer program
    • Channel 9
    • Microsoft 365 Dev Center
    • Microsoft 365 Developer Program
    • Microsoft Garage
    Company
    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2021