In my previous post, I posted about Some cool Project.json features with ASP.NET Core and also mentioned about announcement made by Microsoft in May 2016 that Project.json will be going away so as .xproj and .csproj will make a comeback for .NET Core. This change was supposed to come out after tooling preview 2 release and in one of recent nightly build release of .NET core, this change is introduced. So bye-bye Project.json and .xproj and welcome back .csproj.
Read More
Tag: Project.json
Some cool Project.json features with ASP.NET Core
As of today, Project.json is the way to define your dependencies, managing runtime frameworks, compilation settings, adding scripts to execute at different events (Prebuild, Postbuild etc.) for ASP.NET Core projects. Though, it will be no longer available in future releases of ASP.NET Core. But since it is available till now, and I used couple of features which I found useful. So sharing those cool Project.json features with ASP.NET Core that you may also find helpful. Read More
Fix for “missing xml comment for publicly visible type or member” in ASP.NET Core
This warning cs1591 missing xml comment for publicly visible type or member, you may get while building the application or Visual studio will also display red squiggle in your code at all places where XML comments are missing. The warning can be ignored, but that red squiggle in code is quite annoying. So in this short post, find out how to fix/disable this warning cs1591 in ASP.NET Core projects.
Read More
News: Project.json for ASP.NET Core is going away
Yes, you read it right. Project.JSON for ASP.NET Core is going away. One of the biggest change with ASP.NET Core 1.0 was moving towards JSON over XML for configuration settings. And Project.json is the way to define dependencies, managing your runtime frameworks, compilation settings, adding scripts to execute at different events (Prebuild, Postbuild etc.). Read More
How to read Project.json file in ASP.NET Core 1.0
One of my colleague asked me how to read version number from Project.json file. He needed the version number for error logging. So I gave him the solution and thought of sharing with you. So in this quick post, find sample code to read Project.json file in ASP.NET Core 1.0. Read More
What is Project.json in ASP.NET 5
With the release of ASP.NET 5 ASP.NET Core 1.0 (new version of ASP.NET), things are changing quite a lot with the way we code, organize dependencies, manage runtimes and many other things. Today, we will be looking at one of the most exciting change that Microsoft made which is introduction of “Project.json” file in ASP.NET 5 ASP.NET Core 1.0. This new file the way to define your dependencies, managing your runtime frameworks, compilation settings, adding scripts to execute at different events (Prebuild, Postbuild etc.) Read More