.NET Blog

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

Featured posts

Announcing .NET 11
Nov 10, 2026
Post comments count 4
Post likes count 25

Announcing .NET 11

.NET Team

.NET 11 is here with C# 15, faster developer tools, runtime and library improvements, and new capabilities for web, mobile, desktop, and AI apps.

.NETASP.NET CoreC#

Latest posts

Jun 14, 2012
Post comments count 0
Post likes count 0

Database settings in the VS Publish dialog

Web Development Tools Microsoft

In Visual Studio 2010 we introduced a database publishing experience in the Package/Publish SQL (PP/SQL) properties page. This support relies on generating create scripts from the source database and then executing those scripts when you publish your web application. For more details regarding this feature take a look at Package/Publish SQL Tab, Project Properties. One of the negative aspects of the implementation that we have there is that the DB schema publishing is not incremental, it always executes create scripts. So in many cases you publish your app for the first time and things are great, but the next tim...

Jun 14, 2012
Post comments count 0
Post likes count 0

VS Publish dialog Update Database dialog disabled

Web Development Tools Microsoft

If you have tried out our new Web Publish experience in Visual Studio you may have noticed that the Update Database checkbox is disabled. See the image below. The intended behavior of this checkbox is to enable you to incrementally publish your database schema from the source (the connection string in web.config) to the destination (whatever connection string is in the text box). The difference between an incremental publish and a typical publish is that for incremental publishes only changes are transferred from source to destination. With a full publish the first time that you publish your DB schema everythi...

Jun 6, 2012
Post comments count 3
Post likes count 4

Async in 4.5: Enabling Progress and Cancellation in Async APIs

Brandon Bray

The apps developers want to develop today are fast and fluid and the async features in .NET make this easier than ever. The world is also highly connected now which makes waiting for data a real concern for building great customer experiences. Alok Shriram from the .NET Base Class Library program management team continues his discussion on the async programming model by showing how to achieve both fast-and-fluid and connected scenarios. – Brandon In this post, we will look at how you can enable your users to interact with async tasks, introduced in the Task Parallel Library (TPL), specifically by adding...

May 31, 2012
Post comments count 0
Post likes count 0

Performance consideration for Async/Await and MarshalByRefObject

Stephen Toub - MSFT

In the previous "What's New for Parallelism in Visual Studio 2012 RC" blog post, I mentioned briefly that for the .NET 4.5 Release Candidate, StreamReader.ReadLineAsync experienced a significant performance improvement over Beta.  There's an intriguing story behind that, one I thought I'd share here.It has to do with some interesting interactions between certain optimizations in the BCL and how the C# and Visual Basic compilers compile async methods.  Before I describe the changes made, a bit of experimentation will be useful to help set the stage. Consider the following code. The code is simp...

May 31, 2012
Post comments count 0
Post likes count 0

What’s New for Parallelism in Visual Studio 2012 RC

Stephen Toub - MSFT

In September, I blogged about what was new for parallelism and asynchrony in the Visual Studio 2012 Developer Preview, and in February I followed that up with a post on what was new in the Beta.  Now that Visual Studio 2012 Release Candidate is out, I want to share a few thoughts on what’s new in the Release Candidate.Most new features for a release of Visual Studio and the .NET Framework show up prior to a Release Candidate, which is typically focused on polish, performance, and the like.  That’s true for our work around asynchrony and parallelism in Visual Studio 2012, with a fair amount o...

May 31, 2012
Post comments count 0
Post likes count 0

Introducing the .NET Framework 4.5 RC

Brandon Bray

Update (2017): See .NET Framework Releases to learn about newer releases. This release is now unsupported. Today, we are announcing the .NET Framework 4.5 RC. We are also announcing Visual Studio 2012 RC, as you can read on Jason Zander’s and Soma’s blog. Please visit the Visual Studio 2012 RC downloads page to install both products. We have made many improvements since we released the .NET Framework 4.5 Beta in February.  Let’s talk about the changes at a high level: Take a look at What’s New in the .NET Framework 4.5 RC to learn more about the new features. We also made significant update...

May 31, 2012
Post comments count 0
Post likes count 0

New Features for Web Development in Visual Studio 2012 RC

Web Development Tools Microsoft

Visual Studio 2012 RC is now available to download. Please visit Jason Zander's Blog for detailed announcement. We have more web development enhancement and features in RC. We’ll discuss some of them in future blog posts. Here are a few web development enhancements and features in Visual Studio 2012 RC since Beta. Updated Web project templates MVC4 RC included More discoverable UI to choose default Browser in VS   CSS editor enhancements   HTML editor enhancements Publish Enhancements Page Inspector ...

May 29, 2012
Post comments count 0
Post likes count 0

NuGet 1.8 Hotfix Released

The NuGet Team

With the NuGet 1.8 release, we found a breaking change that caused NuGet to fail on Windows XP machines. Earlier today, we released a hotfix to NuGet 1.8 that addresses this. We apologize for any inconvenience this issue may have caused. If you have further issues, please report them on CodePlex. For more information, there is a CodePlex discussion thread for this issue, which resulted in a work item to fix the regression.

May 25, 2012
Post comments count 0
Post likes count 0

NuGet 1.8 Released

The NuGet Team

We're happy to announce that we released NuGet 1.8 on 5/23/2012. This release includes support for localized satellite assemblies, nuget.exe performance improvements, and 34 bug fixes. Details are in the NuGet 1.8 Release Notes. Known issue on Windows XP We would like to call out that shortly after NuGet 1.8 was released, we learned that a cryptography change in 1.8 broke users on Windows XP. Do not install NuGet 1.8 onto a Windows XP machine; if you have already installed NuGet 1.8, you can uninstall it and reinstall NuGet 1.7 using this download link. We are working on a NuGet 1.8.1 release to address the re...