.NET Blog

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

Featured posts

.NET Aspire 9.3 is here and enhanced with GitHub Copilot!
May 19, 2025
Post comments count 0
Post likes count 5

.NET Aspire 9.3 is here and enhanced with GitHub Copilot!

Jeffrey T. Fritz
Jeffrey T. Fritz

.NET Aspire 9.3 is the biggest release of .NET Aspire yet, with the introduction of GitHub Copilot directly into the .NET Aspire Dashboard, updates for integrat...

.NETASP.NET CoreC#

Latest posts

Where else is NuGet used in Visual Studio?
May 20, 2013
Post comments count 0
Post likes count 0

Where else is NuGet used in Visual Studio?

Luan Nguyen
Luan Nguyen

All NuGet users are probably familiar with both the Manage NuGet Packages dialog and the Package Manager Console. These are the main user interfaces for installing and managing packages. However, NuGet is also used in a couple of more subtle places. Below are a few of them that I am aware of. With the exception of the New Project dialog, these dialogs/commands invoke NuGet through the well-documented MEF services that NuGet exports. I'm very happy to see various teams in Microsoft take advantage of NuGet to implement their own features. I expect even more widespread usage of NuGet in future versions of...

Play with Packages, programmatically!
May 20, 2013
Post comments count 0
Post likes count 1

Play with Packages, programmatically!

ranjinimathrubootham
ranjinimathrubootham

One of the many often seen requests, from developers using NuGet, is examples on our NuGet core APIs. The requests range from finding meta-data for the packages to installing the package programmatically. In this blog post, I will provide a few examples of using NuGet Core APIs. Getting Started To use NuGet Core APIs, install NuGet.Core NuGet package in your project and add NuGet namespace to your using statements. Get me the pre-released versions of a package Let's say you would like to get the list of all pre-released versions of EntityFramework package. Below is the code snippet that would get you the list...

ASP.NET hosts six community created SPA templates now
May 6, 2013
Post comments count 0
Post likes count 0

ASP.NET hosts six community created SPA templates now

Xinyang Qiu
Xinyang Qiu

Since announcement of 4 community created Single Page Application templates when releasing ASP.NET and Web Tools 2012.2 in February 2013, the community has done some updates to the templates and released 2 more templates: Backbone template and Breeze/Angular template.  You can view the details and download the templates at http://www.asp.net/single-page-application/overview/introduction/other-libraries .  To use these templates, please make sure you installed Visual Studio 2012 Update 2, which included ASP.NET and Web Tools 2012.2. Template’s website (if have any) and source location are listed here: Backbone...

.NET Crash Dump and Live Process Inspection
May 1, 2013
Post comments count 0
Post likes count 0

.NET Crash Dump and Live Process Inspection

Immo Landwerth
Immo Landwerth

Analyzing crash dumps can be complicated. Although Visual Studio supports viewing managed crash dumps, you often have to resort to more specialized tools like the SOS debugging extensions or WinDbg. In today’s post, Lee Culver, software developer on the .NET Runtime team, will introduce you to a new managed library that allows you to automate inspection tasks and access even more debugging information. --Immo Today are we excited to announce the beta release of the Microsoft.Diagnostics.Runtime component (called ClrMD for short) through the NuGet Package Manager. ClrMD is a set of advanced APIs for programm...

Please update to the latest version of Web Essentials 2012 after installing VS2012 Update 2
May 1, 2013
Post comments count 0
Post likes count 0

Please update to the latest version of Web Essentials 2012 after installing VS2012 Update 2

Xinyang Qiu
Xinyang Qiu

After releasing ASP.NET and Web Tools 2012.2, which is also included in Visual Studio 2012 update 2, we’ve received a few customer feedback about their VS shows an error dialog saying: An exception has been encountered. This may be caused by an extension. You can get more information by examining the file 'C:Users<username>AppDataRoamingMicrosoftVisualStudio12.0ActivityLog.xml'. When looking at ActivityLog.xml, the following error message may show up: System.ComponentModel.Composition.ImportCardinalityMismatchException: Duplicate EditorFormatDefinition exports with identical name attributes exi...

Seeking Feedback on Alternative Formats for ASP.NET MVC and Deployment Content Maps
Apr 30, 2013
Post comments count 0
Post likes count 0

Seeking Feedback on Alternative Formats for ASP.NET MVC and Deployment Content Maps

Tom Dykstra - MSFT
Tom Dykstra - MSFT

The ASP.NET content maps are lists of resources that we have reviewed and recommend. The content maps have been popular in their present form, but we’re looking at ways to improve them, such as by publishing more lists but with a narrower focus to each one, by providing more information for each link, and by formatting them differently. Here are links to the existing content maps and three pages that show new approaches we’re considering:  We’re calling the new lists “curated views.” Curated in the sense that, although anyo...

A quick note about the new MinClientVersion attribute
Apr 30, 2013
Post comments count 0
Post likes count 0

A quick note about the new MinClientVersion attribute

Luan Nguyen
Luan Nguyen

In the NuGet 2.5 release, we added the MinClientVersion property to the package manifest schema to allow for a package to demand the minimum version of the NuGet client that can install it. Because this feature was added in version 2.5, older versions of NuGet won't be able to recognize it. Therefore, older clients will always refuse to install packages with the MinClientVersion property set, even if you set it to a value smaller than the version of the client. For example, if you set MinClientVersion to 1.8, and the user tries to install your package with NuGet 2.2, the installation will fail even though 1.8 &...

Support for Native Projects
Apr 26, 2013
Post comments count 0
Post likes count 0

Support for Native Projects

Jeff Handley
Jeff Handley

In the NuGet 2.5 release notes, we called out that NuGet now has support for native projects. We wanted to explain exactly what "support for native projects" means. Visual Studio Support Until NuGet 2.5, if you were working in a Visual C++ project, the 'Manage NuGet Packages' context menu would not show up for the project; with NuGet 2.5, we now light this up. Any time we start supporting a new project type, we have to test to ensure all operations are working as expected. Each project system has slightly different behavior and this proved to be true with Visual C++ as well. We made the changes necessary to get...

NuGet 2.5 Released
Apr 25, 2013
Post comments count 0
Post likes count 0

NuGet 2.5 Released

Jeff Handley
Jeff Handley

Download it now NuGet was included in all editions of Visual Studio 2012 and it's also available for Visual Studio 2010 through the Visual Studio Extension Manager. To get the latest version of NuGet installed in Visual Studio, either check for updates in the extension manager or download the latest version directly. Acknowledgements We would like to thank the following external contributors for their significant contributions to NuGet 2.5: We also appreciate the following individuals for finding bugs with NuGet 2.5 Beta/RC that were approved and fixed before the final release: What's Inclu...