| 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 | 927 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 | 768 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
| by Achyut Kendre | No comments

Authorize and AllowAnanymous Attributes in ASP.NET MVC 5

Example Code: https://drive.google.com/file/d/1vU4wNkp35Co8amL-_ZY6Z7HbVs2uj1yK/view?usp=sharing [Authorize] Attribute Authorize Attribute is built in attribute when applied on action or controller you can access that controller or action only after login. [AllowAnanymous] Attribute When you apply AllowAnanymous Attribute on any action and controller the action can be called without login even though controller is Authorized it can not be […]

Read More