No trial. No credit card required. Just your GitHub account.
.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!
.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...
Latest posts

Play with Packages, programmatically!
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
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

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

Social Engineering

When people in our industry use the term “social engineering” they are usually referring to security attacks. Politicians and lobbyists would mean something entirely different too. But that’s not what I will talk about here. Instead, I’ll talk about the kind of social life we’ve around in our team. Why am I using the term engineering then? Because I strongly believe that building a great team is a conscious effort. Wikipedia defines the term engineering as follows: Engineering is the application of scientific, economic, social, and practical knowledge, in order to design, build, and ...