Article for Configuration and default routing pattern in ASP.Net Core Project using Startup.cs. Middleware configuration is also discussed in this article.
In previous article we had discussed about Python Installation. Now in this article we will learn how to create first python project by using PyCharm. We will also discuss the python basic syntax which we will use for creating our first python project. Steps to create first python project: Below are the simple steps to […]
As we discussed in previous article, python is Cross-platform Language so we can install Python on any operating system such as Mac OS, Linux and Windows. To install Python on windows operating system, click on below URL: https://www.python.org/downloads/ After clicking on URL, below screen will appear: Download latest version of Python from above screen. Click […]
Python is a general-purpose, interpreted, high level and object-oriented programming language. It is developed by Guido van Rossum in 1989. We can run python programs on multiple platforms like MacOS, Linux and Windows. It is open source and free programming language. Python helps to work on multiple programming pattern, such as functional or procedural programming […]
1. Does C# support multiple-inheritance? Answer: No 2. What is the top .NET class from which everything is derived? Answer: System.Object 3. What is the difference between String and StringBuilder classes? Answer: String is immutable. If we update value in string variable then always new instance is created instead of updating actual variable. StringBuilder is […]
Layout views in MVC are similar to Master pages in ASP.Net. Layout view contains page template. Layout view contains common part of page such as header, sidebar, menu and footer. Generally there are few layout view and multiple views. If we want same header , footer and side bar on multiple pages then we can […]
Any view that can be used by multiple controllers is known as shared view. It is placed in ‘Views\Shared’ folder. There can be more than one shared view in MVC application. For example , there are two controllers ‘Customer’ and ‘Agent’. We want to display same Contact view for both controllers. Action method Contact() will […]
In this article, I will explain advanced syntax in Razor. Please read my previous article Razor Syntax before reading this article, I have used project sample from article Razor Syntax . Conditions in Razor We can use ‘If else’ in Razor to display content based on some conditions. For example, if OrderAmount is greater than […]