NetCore Top questions

Post

New Post


Find by name:

NetCore First Name PostDate
What are the different ways for bundling and minification in ASP.NET Core? Ans: There are different ways for doing bundling and minification in ASP.NET Core. Gulp – was the default choice for ASP.NET Core till beta versions. Later it was removed due to performance and speed issue and replaced with BundlerMinifier. Read this post to find out the reasons of this decision. BundlerMinifier – is a Visual Studio extension and it’s default choice now. You should see bundleconfig.json file in your default template. Read this post to know more about bundling and minification in ASP.NET Core. ASP.NET Core Web Optimizer – ASP.NET Core middleware for bundling and minification of CSS and JavaScript files at runtime. Grunt – can also be used with ASP.NET Core. For more Read Overview of Tools for bundling and minification in ASP.NET Core.
What are some of the features of .Net Core? Flexible deployment: Can be included in your app or installed side-by-side user or machine-wide. Cross-platform: Runs on Windows, MacOS and Linux; can be ported to other OSes. The supported Operating Systems (OS), CPUs and application scenarios will grow over time, provided by Microsoft, other companies, and individuals. Command-line tools: All product scenarios can be exercised at the command-line. Compatible: .NET Core is compatible with .NET Framework, Xamarin and Mono, via the .NET Standard Library.
How to handle 404 error in ASP.NET Core 1.0 I found 2 ways to handle 404 error. In fact using these solution you can handle any HTTP status code errors. To handle the error, both the solution are using configure() method of Startup.cs class