| by Achyut Kendre | No comments

How to use View Components in ASP.NET Core

Source Code Link : https://drive.google.com/file/d/10w3XGYnS7VyW5PCv53_DejY6aiIBBxxX/view?usp=sharing

Read More
| by Achyut Kendre | No comments

How to use Sessions in ASP.NET Core?

Source Code Link : https://drive.google.com/file/d/1WmqRCDPWdODKZwfRX3zrSWytv1fI6Qah/view?usp=sharing HTTP is a stateless protocol. By default, HTTP requests are independent messages that don’t retain user values. State can be stored using several approaches. We can use any of the Session, Cookies, Hidden Fields etc. Session state is an ASP.NET Core scenario for storage of user data while the user […]

Read More
| by Achyut Kendre | No comments

Action Filter, Built in & Custom Action Filter in ASP.NET Core.

Source Code Link for Built in Filters: https://drive.google.com/file/d/13-eYsbxZDZMUiMgc0aqLquU8aQYl6uQV/view?usp=sharing Source Code Link for Custom Action Filters: https://drive.google.com/file/d/16_9Uf4Oh039lJhJVRN1EhS1cIJm7ZFq1/view?usp=sharing

Read More
| by Achyut Kendre | No comments

What is EF Core? How to use it in ASP.NET Core?

Link to download example 1: https://drive.google.com/file/d/1U3YNSJxmq70BLSb8w3QUD2fQtD6ysv6K/view?usp=sharing Link To download example 2 : https://drive.google.com/file/d/10j2OjwUkNcVQKcwqq2Ph_8rxsqYSAbsB/view?usp=sharing In this article we will learn about new ORM Entity Framework Core by Microsoft which is now a official data access platform. What is ORM? ORM is called object relation mapper. ORM links or maps the classes, properties , methods from a […]

Read More
| by Achyut Kendre | No comments

How to create custom tag helper in ASP.NET Core?

Example Code: https://drive.google.com/file/d/19iWlBIz9e_eE4Vv1tdamdNDmYFR-yK9s/view?usp=sharing The tag helper enables us to run the server-side code to generate HTML, CSS, Javascript code in Razor View. In my previous article, I have talked about tag helper, form tag helper, and other common tag helpers. In this article, I will explain how to create custom tag helper in ASP.NET Core […]

Read More
| by Achyut Kendre | No comments

What is TagHelper? How to use it in ASP.NET Core (MVC)?

Example Code : https://drive.google.com/file/d/1w6b5R_9liDJLVKLEnCqGLUR3D8Y_-2q5/view?usp=sharing In this article we will talk about tag helpers and how to use the tag helpers in ASP.NET MVC Core. What is Tag Helper? Tag Helpers enable server-side code to participate in creating and rendering HTML elements in Razor files. Tag helpers can be tags or set of attributes those can […]

Read More
| 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

How to use Areas in ASP.NET Core?

Example Link : https://drive.google.com/file/d/1671rE4a499AQRI1tcoAIJLZQ1OWuKZHp/view?usp=sharing Areas provide a way to partition an ASP.NET Core Web app into smaller functional groups, each with its own set of Razor Pages, controllers, views, and models. An area is effectively a structure inside an app. For a large app, it may be advantageous to partition the app into separate high […]

Read More
  • 1
  • 2