| by Achyut Kendre | No comments

What is Directives in Razor Syntax? How to use it using _ViewImports.cshtml in ASP.NET Core MVC?

Directives in Razor Syntax ASP.NET Core Razor Syntax provides you few commands those can be used in Razor Page or View called Directives which adds some additional functionality in page. You can use them using syntax – @directivename parameters Razor directives are represented by implicit expressions with reserved keywords following the @ symbol. A directive […]

Read More
| by Achyut Kendre | No comments

What is Repository and DI Pattern? How to use it in ASP.NET Core?

Example Code: https://drive.google.com/file/d/13duW6-CGJuG8Ig4zNy0-OUvyqqS_H3Im/view?usp=sharing What is Repository and DI pattern? Let us first understand with is repository design pattern and dependency injections then we will use the model using this. What is Repository Design Pattern ? Repository design pattern allow you to separate the data access code in separate unit (class) called Repository so that we […]

Read More
| by Achyut Kendre | No comments

What IHttpActionResult? How to use it?

Example Code: https://drive.google.com/file/d/1X-5eVbonPNDbq6CRLJI-VoTqe_Yau3eO/view?usp=sharing IActionResult is new interface in ASP.NET Core and it can be used as a return type of action in ASP.NET Core. IActionResult can return all things that ActionResult Suppose to do.IActionResult and ActionResult work as a container for other action results, in that IActionResult is an interface and ActionResult is an abstract […]

Read More
| by Achyut Kendre | No comments

What is Web Application? Understand ASP.NET Basics.

In this article we will learn about what is web application? What is ASP.NET ? and few basic concepts of ASP.NET. Let us start – What is web Application? A web application is application software that is installed on server computer and runs on a web server, unlike computer-based software programs that are run locally […]

Read More
| by Achyut Kendre | No comments

Bootstrap Components

Bootstrap has many built in controls few of them we are going to discussion in this session. Jumbotron: A jumbotron indicates a big box for calling extra attention to some special content or information. A jumbotron is displayed as a grey box with rounded corners. It also enlarges the font sizes of the text inside […]

Read More
| by Achyut Kendre | No comments

Typography, Buttons , Lists ,Glyph icons and images in Bootstrap

Example Code Link : https://drive.google.com/file/d/1yWJTO_bvgWMWhRPjRQ17MBFy7t4GQOh8/view?usp=sharing In this article we will learn about the various bootstrap classes for text, images , lists etc. Typography Classes Typography means text formatting. Bootstrap provides you wide range of the typography classes few of them are – .lead Makes a paragraph stand out.small Indicates smaller text (set to 85% of […]

Read More
| by Achyut Kendre | No comments

What is Bootstrap? How to use the bootstrap in ASP.NET MVC 5?

Example Bootstrap: https://drive.google.com/file/d/1t2ozLWf9RufA3a4cwmxWNMpoWA6qZ92V/view?usp=sharing Bootstrap is CSS Framework with 99% of CSS and 1% of java script used to design mobile first web applications or websites. It is small fast CSS Framework with complete set of functionalities to design mobile first web applications. It was product of twitter and now open source. Why Bootstrap? Small, fast […]

Read More
| by Achyut Kendre | 8,936 comments

What is Attribute Routing? How to do it in ASP.NET MVC 5?

Example Links: https://drive.google.com/file/d/1XFZdb_MtHAsoqe4mQG3_gx5q-K1SnUSJ/view?usp=sharing In this article we will learn attribute routing and how to implement attribute routing in ASP.NET MVC 5. ASP.NET MVC 1,2,3,4 support classical URL Routing in ASP.NET MVC 5 we have URL Routing as well as it supports Attribute Routing. Attribute routing is new feature of ASP.NET MVC 5 which enables you […]

Read More
| by Achyut Kendre | No comments

Custom Authorization Filter in ASP.NET MVC 5

Example Link: https://drive.google.com/file/d/1UXBYez5z8FlPPadz42oyoIrF-XIrfhWk/view?usp=sharing In this article we will study how to create the custom authorize filter step by step. Step1: Create tables Please create the UserTbl and CustomerTbl as follows – Step 2: Create a ASP.NET MVC Application using regular steps. Step 2: Create a CustController with index action to display list of controller , […]

Read More
| by Achyut Kendre | 1,134 comments

Custom Action Filters in ASP.NET MVC 5

Example Code: https://drive.google.com/file/d/1XFZdb_MtHAsoqe4mQG3_gx5q-K1SnUSJ/view?usp=sharing Just like a built in attribute we can also create custom action filters , in this article we will create custom action filter step by step. In this example we will create a custom action filter which when applied will generate the log of that action (name of action, controller name, datetime) […]

Read More