.NET Blog

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

Featured posts

Announcing .NET 9
Nov 12, 2024
29
38

Announcing .NET 9

.NET Team
.NET Team

Announcing the release of .NET 9, the most productive, modern, secure, intelligent, and performant release of .NET yet. With updates across ASP.NET Core, C#, .N...

.NETASP.NET CoreC#

Latest posts

Wondering why mscorsvw.exe has high CPU usage? You can speed it up.
Aug 6, 2013
1
0

Wondering why mscorsvw.exe has high CPU usage? You can speed it up.

.NET Team
.NET Team

This post was written by Rich Lander, a Program Manager on the .NET Framework Team. It was written for people who want to understand why mscorsvw.exe is running on their machines and want to know how to speed it up. Have you noticed that your machine is slowing down, and you’ve looked in Task Manager to find that mscorsvw.exe is the culprit? If so, this post will help you resolve those performance issues. Mscorsvw.exe is a component of Windows, and is otherwise known as the .NET Framework Optimization Service. It optimizes your machine to launch apps faster. Most of the time, users do not notice mscorsvw. If ...

Got a need for speed? .NET apps start faster.
Aug 6, 2013
0
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
0
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
0
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
0
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...

Katana License Lifts Windows-only Restriction
Jul 24, 2013
0
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
0
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
0
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
0
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. ...