PROGRAM AREA
NetCore Top questions
Post
New Post
Find by name:
NetCore
First Name
PostDate
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.
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 ConfigureServices() method does in Startup.cs?
This method is optional. It is the place to add services required by the application. For example, if you wish to use Entity Framework in your application then you can add in this method.
Page 2 of 7
«
1
2
3
4
5
6
7
»
Full Page