Missed .NET Day on Agentic Modernization? Watch the coding demos and agentic workflow sessions on demand.
.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Latest posts
Building NuGet 3.x
Evolution of NuGet At MonkeySpace 2013 last July, we revealed some of our thinking for the Evolution of NuGet. These were the ideas we had for what would become NuGet 3.x and they included the following areas: Package Discovery Package Trust / Incompatibility API Package Installation / Build Making Progress The full list is a pretty tall order but we're making progress toward these goals. In fact, since giving that talk in July 2013, here are some of the features that have been released: Beyond this, the team has been concentrating on the RESTful API v3 architecture and...
Why Katana should be on your radar
Additional Resources
Sharing code across platforms
At Build we announced two great ways to re-use your code: the new Universal Windows apps, and the improved portable class libraries. They both help you reuse code across platforms. In this post, I’ll describe both options and how you can choose between them. Overview Why two options? The short answer is that shared projects are about sharing source code and assets, while portable class libraries are about sharing binaries: Visual Studio 2013 Update 2 makes code sharing as simple as sharing cookies Shared projects Visual Studio has supported linked files for as long as I can remember. Linked ...
A new search experience on the Gallery
For a while now, we've been working on some major improvements to search. Last week we deployed these improvements to production on http://www.nuget.org. In this post, I'll describe how the new service works. However, before we discuss the new service, let's step back a bit and discuss the history of Search on NuGet.org Search via SQL Our first search implementation was done using our existing OData endpoints. We simply used the OData Query Operators to filter data in our database by the User's query. This had two major problems: It was fairly inefficient. SQL is a good engine for data lookup, but by default it...
Intellisense for JSON Schema in the JSON Editor
In the previous post, we introduced our new JSON editor in the CTP 2 release of Visual Studio 2013 Update2. In the RC version of Visual Studio 2013 Update 2, we added intellisense support for JSON Schema v3 and v4. This will make working with complex JSON structures based on a schema much easier. Specify the schema within a JSON file using the “$schema” property When you add a new JSON file to your project, the schema dropdown box will show <No schema Selected> You can specify the schema to be used for this JSON file by defining the “$schema” property as shown below You need to close...
Debugging support for .NET Native Preview apps
Our friends in Visual Studio have written a post about the debugging support for the .NET Native Preview. Go check it out!
How your feedback is shaping .NET
Eight months ago we asked you to provide feedbackon the features you want us to ship. And you didn’t disappoint! Since then, we’ve seen hundreds of Tweets, blog posts and user voice votes. It’s great to be part of such a thriving community. We are fully committed to improving the .NET ecosystem by being more open. To quote Habib from his Build talk: By openness we don’t just mean open source. We also mean openness in the way we communicate, in the way we release documentation and just in the way that we do business. Reacting to feedback is a critical part of making sure we’re doing a good job of enabling a g...
EF Code First Migrations Deployment to an Azure Cloud Service
To deploy a Code First database to an Azure Web Site, you can use the Execute Code First Migrations check box in the Publish Web wizard: When you select that check box, Visual Studio configures the destination web site so that Entity Framework automatically deploys the database or updates it by running the MigrateDatabaseToLatestVersion initializer on application start, as explained in this VS web deployment tutorial. But if you’re deploying to an Azure cloud service you don’t get to use the Publish Web wizard. What then? In that case, you have two options: Write App_Start code to ru...
The JIT finally proposed. JIT and SIMD are getting married.
Processor speed no longer follows Moore’s law. So in order to optimize the performance of your applications, it’s increasingly important to embrace parallelization. Or, as Herb Sutter phrased it, the free lunch is over. You may think that task-based programming or offloading work to threads is already the answer. While multi-threading is certainly a critical part, it’s important to realize that it’s still important to optimize the code that runs on each core. SIMD is a technology that employs data parallelization at the CPU level. Multi-threading and SIMD complement each other: multi-thre...