.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

Got a need for speed? .NET apps start faster.
Aug 6, 2013
Post comments count 0
Post likes count 0

Got a need for speed? .NET apps start faster.

.NET Team
.NET Team

This post was written by Rich Lander, who works as a Program Manager on the .NET Framework. He worked on AutoNGEN for Windows 8. This post focuses on how technologies such as Native Image Generator (NGEN), the .NET Framework Optimization Service (mscorsvw), AutoNGEN, and compilation in the cloud have improved the startup performance of .NET apps. (If you want to speed up mscorsvw on your machine, read Wondering why mscorsvw.exe has high CPU usage? You can speed it up.) Use any apps? Pretty much all the time, right? You probably expect most apps, whether they check the weather or a stock price, to start up fast—yo...

Make jQuery UI and Bootstrap 2 work together in MVC template
Aug 1, 2013
Post comments count 0
Post likes count 0

Make jQuery UI and Bootstrap 2 work together in MVC template

Xinyang Qiu
Xinyang Qiu

In the VS2013 preview MVC5 template, we included Bootstrap and jQuery UI together in the same project. However, some themes of jQuery UI (1.8.24 in the project template) is conflicting with Bootstrap (version 2.3.1 in the project template), especially for button. We have seen at least one such question in our forum. Let’s create a test project first to see the effect. 1. File->New Project, choose Templates->Web->ASP.NET Web Application, select MVC, click Create Project 2. Right click project and choose “Manage NuGet Packages”, go to “Updates” tab, and update “jQuery...

EF/MVC Series updated to EF5/MVC4
Jul 26, 2013
Post comments count 0
Post likes count 0

EF/MVC Series updated to EF5/MVC4

Rick_Anderson
Rick_Anderson

Tom Dykstra and I have updated Tom’s popular EF/MVC series to the latest release, that is MVC 4 and EF 5. The biggest change was the addition of code first migrations.  What’s great about the updated 10 part series is you can download the end of each chapter. Suppose you want to get a jump start on Concurrency (Covered in Chapter 7), you can now download the completed chapter 6 and start working on the concurrency tutorial. In addition to bug fixes and new features in MVC and EF, we’ve streamlined the tutorial so you can get through it faster and with less friction. We’ll be monitorin...

Advise the .NET Framework Team
Jul 25, 2013
Post comments count 0
Post likes count 0

Advise the .NET Framework Team

.NET Team
.NET Team

This post was written by Rich Lander, a Program Manager on the .NET Framework team. He’s also the one posting as @DotNet on Twitter. Late last month, we released the .NET Framework 4.5.1 Preview. We’re in a spot in our release cycle where we’d appreciate feedback on the pre-release version that we just made available, but we're also starting to think about .NET vNext. A few of us were talking about that, and we thought it would be a good idea to share our approach to feedback. There are two major axes of feedback: time and place. On the time side, we split feedback into real-time and forward-looking. If yo...

Invoke the Manage NuGet Packages dialog programmatically
Jul 25, 2013
Post comments count 0
Post likes count 0

Invoke the Manage NuGet Packages dialog programmatically

Luan Nguyen
Luan Nguyen

Recently I've been asked several times for how to invoke the Manage NuGet Packages dialog from VS components programmatically, and optionally auto-invoke the search when the dialog opens. Today I'd like to share the solution in this post. It's actually very straightforward. The Manage NuGet Packages menu command is registered as a standard VS command, thus you can call to invoke it. The trick is to know the command name, which is Project.ManageNuGetPackages. Here's a code sample: Note that it will open the project-level dialog. To open the solution-level dialog instead, you replace the command name with Tool...

Katana License Lifts Windows-only Restriction
Jul 24, 2013
Post comments count 0
Post likes count 0

Katana License Lifts Windows-only Restriction

howard dierking - MSFT
howard dierking - MSFT

(cross-posted from http://codebetter.com/howarddierking/2013/07/23/katana-license-lifts-windows-only-restriction/) Over the past few months, a great deal of attention has been paid to the following clause used in most of the licenses associated with the NuGet packages that we and other teams at Microsoft ship.   “ a. Distribution Restrictions. You may not … distribute Distributable Code to run on a platform other than the Windows platform;” In the case of the ASP.NET-related projects, including project Katana, this license (and the associated restriction) does not apply to the source code, but rather to the c...

Katana License Lifts Windows-only Restriction
Jul 24, 2013
Post comments count 0
Post likes count 0

Katana License Lifts Windows-only Restriction

howard dierking - MSFT
howard dierking - MSFT

(cross-posted from http://codebetter.com/howarddierking/2013/07/23/katana-license-lifts-windows-only-restriction/) Over the past few months, a great deal of attention has been paid to the following clause used in most of the licenses associated with the NuGet packages that we and other teams at Microsoft ship.   “ a. Distribution Restrictions. You may not … distribute Distributable Code to run on a platform other than the Windows platform;” In the case of the ASP.NET-related projects, including project Katana, this license (and the associated restriction) does not apply to the source code, but rather to the c...

Publish HTML/JS website to Linux/Apache using Visual Studio
Jul 23, 2013
Post comments count 0
Post likes count 0

Publish HTML/JS website to Linux/Apache using Visual Studio

Xinyang Qiu
Xinyang Qiu

We received a question about how to use Visual Studio to deploy HTML/JS website to Linux / Apache.  To do it, you need to create an empty ASP.NET website project in Visual Studio (File->New Web Site…) and then include all the HTML/JS files. 1. Right click on the website Project, select “Publish Web Site”. 2. Drop down the Publish Profile drop down and select New Profile. Name it “FTP” or whatever you want to call it. 3. On the Connection Tab set Publish method to FTP, fill in FTP server, root folder for the website on the server, user name and password. 4. Click &l...

Writing Web API Client Code for Multiple Platforms Using Portable Libraries
Jul 19, 2013
Post comments count 0
Post likes count 0

Writing Web API Client Code for Multiple Platforms Using Portable Libraries

Ian_Hong
Ian_Hong

The Microsoft ASP.NET Web API Client Libraries make it easy to write .NET clients that interact with RESTful HTTP services. Unfortunately, until recently the Web API client libraries did not support all platforms. Because of this limitation, developers had to maintain different code, depending on the target platform. The new release of Microsoft ASP.NET Web API Client Libraries now comes with support for building portable libraries that target .NET 4.5, Windows Store and Windows Phone 8 applications. This support is built on the recently released portable HttpClient and the portable library support in Json.NET. ...