Related resources for controller
  • Understanding and Using Scope in .NET Core7/26/2024 5:48:49 AM. In .NET Core, dependency injection (DI) manages service lifetimes with three scopes: Transient (new instance per request), Scoped (one instance per request), and Singleton (one instance shared across
  • How to Show and Hide Password in AngularJS7/25/2024 7:09:31 AM. Implementing a show/hide password toggle in AngularJS enhances usability by allowing users to view or conceal their passwords. This involves creating an AngularJS component with a toggle feature, defi
  • Integrating PayU Payment Gateway with .NET Core API7/10/2024 12:35:37 PM. Integrate PayU with your .NET Core API to securely accept payments. This guide covers creating a new .NET Core Web API project, configuring PayU settings, and implementing the payment service. Steps i
  • Controller Action Result (1), In ASP.NET MVC7/3/2024 9:38:15 AM. This article discuss the various types of Controller Action Results in ASP.MVC.
  • Return View With ViewName in Controller Sample in MVC - Day 56/24/2024 9:02:13 AM. This article describes how to return a view name from a controller in an MVC project. Start by creating an MVC project from the "Empty" template, then add a controller by right-clicking on &
  • Difference Between $scope And $rootscope In AngularJS6/24/2024 9:01:44 AM. $scope is local to controllers, facilitating communication between controllers and views, while $rootScope is global across the application, and accessible to all scopes, making it suitable for data t
  • ASP.NET MVC - TempData - A Closer Look6/24/2024 9:00:33 AM. Explore the intricacies of TempData in ASP.NET MVC with this insightful guide. Learn how TempData facilitates temporary data storage across requests within controllers, its role in maintaining state b
  • Understanding Dependency Injection in ASP.NET Core Web API6/24/2024 4:08:06 AM. Dependency Injection (DI) is a design pattern used to achieve Inversion of Control (IoC) between classes and their dependencies. In ASP.NET Core, DI is a fundamental part of the framework, making it e
  • Understand Antiforgery Token In ASP.NET MVC6/19/2024 11:55:51 AM. In ASP.NET MVC, Anti-forgery Tokens prevent Cross-Site Request Forgery (CSRF) attacks by generating unique tokens for each request. They safeguard web applications by validating the authenticity of re
  • Dynamic Menu Generation With Web API And Angular6/19/2024 9:54:43 AM. In this article, we are going to implement a dynamic menu with the help of ASP.NET Web API and Angular. We will create the login page that has two login type. Admin and User. Admin login will lead to
  • Creating Angular Project Using MVC6/17/2024 11:19:59 AM. Learn how to efficiently create Angular projects using the MVC (Model-View-Controller) architecture. This comprehensive guide covers setting up Angular, integrating MVC principles to organize your app
  • Controller In ASP.NET MVC 56/14/2024 10:40:02 AM. A controller in ASP.NET MVC 5 plays a crucial role in handling user requests and generating appropriate responses. It acts as an intermediary between the model (data) and the view (UI), facilitating t
  • Difference Between MVC And Web Forms6/13/2024 11:53:51 AM. Learn about MVC (Model-View-Controller) and its advantages over Web Forms in ASP.NET development. MVC emphasizes separation of concerns, better maintenance, and testing. Discover how MVC uses control
  • MVC - Return A File (Excel) From A Controller’s Action Method And Create An Excel Blob In To The jQuery Along With Loader Effect6/12/2024 10:49:22 AM. In this article, you will learn about returning a File (Excel) from a Controller’s Action method and creating an Excel Blob in to the jQuery along with Loader effect
  • Heart Disease Prediction In ASP.NET Core Using ML.NET6/12/2024 10:02:36 AM. Develop an ASP.NET Core MVC application for predicting heart disease using ML.NET. Install necessary NuGet packages, define data structure for the ML model, build and train the model. Implement contro
  • Bootstrap Pagination Dynamically In ASP.NET MVC6/12/2024 9:38:07 AM. This tutorial guides you through dynamically implementing Bootstrap pagination in ASP.NET MVC using Entity Framework and ViewModel. Set up SQL Server, MVC architecture, and Bootstrap for efficient pag
  • Preventing XSS Attacks in ASP.NET Core MVC6/12/2024 6:56:55 AM. Build a secure ASP.NET Core MVC blog app with Entity Framework Core. Follow steps to create models, controllers, views, and implement client-side validation and sanitization to thwart XSS attacks. Acc
  • Display Weather Forecast In ASP.NET MVC Using OpenWeatherMap Weather API6/11/2024 12:22:38 PM. Dive into ASP.NET MVC weather forecasting using OpenWeatherMap API. Follow steps to set up your project in Visual Studio, parse JSON responses, utilize ViewModels, and fetch data with WebClient. Enhan
  • Upload And Display Image In ASP.NET Core 3.16/11/2024 12:08:38 PM. Learn to upload & display images in ASP.NET Core using Image Tag Helper & IFormFile. Set cache-busting with unique URLs. Create models, views, & controller actions. Utilize Entity Framewor
  • Use DataTable.js In MVC View6/11/2024 12:07:23 PM. Learn to integrate the DataTables plugin in MVC. Utilize AJAX requests, JSON results, and jQuery for the front end. Create a Person class, customize the Index view, and ensure proper table structure f
  • Controller Action Result (2), in ASP.NET (Core) MVC6/10/2024 9:14:38 AM. This article is a following up for the previous article, Controller Action Result (1), in ASP.NET MVC to cover the situation of ASP.NET Core MVC. This article actually has the same conclusio
  • MVC Architecture & MVC Life Cycle6/6/2024 11:43:45 AM. MVC Architecture divides an app into models, views & controllers, managing data, UI, & logic separately. Its lifecycle begins with routing & ends with rendering, ensuring smooth interactio
  • CRUD Operations In ASP.NET MVC Using ADO.NET6/4/2024 9:47:23 AM. CRUD (Create, Read, Update, Delete) operations in an ASP.NET MVC application using raw ADO.NET. It provides a step-by-step guide from creating a database table in SQL Server 2008 to developing MVC com
  • Passing Data From Controller to View in ASP.Net MVC5/29/2024 7:29:02 AM. This article explains how to use ViewBag, ViewData, and TempData to pass data from a Controller to a View in ASP.NET MVC. Learn to implement these techniques in Visual Studio, understand their differe
  • Key Components of VMware NSX ALB5/28/2024 7:00:13 AM. Explore the core components of VMware NSX ALB, including Service Engine, Controller, Console, Data Plane Scaling, and NSX ALB Cloud Services.
  • Passing Data From Controller To View With TempData - Part Four5/27/2024 12:04:23 PM. Passing Data From Controller To View With TempData - Part Four" demonstrates using TempData in ASP.NET MVC to transfer temporary data between controller and view, facilitating efficient communica
  • Passing Data From Controller To View Using Session - Part Five5/27/2024 12:00:32 PM. In this article, you will learn how to pass strongly typed data from Controller to View using session, in which firstly, you should make a model class then populate its properties with some data then
  • Introduction VMware NSX ALB Architectural Overview5/27/2024 5:24:56 AM. Discover VMware NSX ALB: a scalable, secure load-balancing solution optimizing application delivery across multi-cloud environments. Enhance performance and security today.
  • Manage Controller Specific Session In ASP.NET MVC 55/24/2024 9:17:22 AM. In ASP.NET MVC 5, managing controller-specific sessions involves utilizing tools like HttpSessionStateBase to store and retrieve session data within controller actions.
  • Post Data To Controller Without Page Refresh In ASP.NET MVC5/24/2024 9:14:45 AM. Submit data to ASP.NET MVC controller without page refresh using AJAX. Utilize JavaScript/jQuery to send FormData asynchronously, updating parts of the page dynamically, and enhancing user experience.
  • Transitioning from Controller to Minimal API in ASP.NET Core5/22/2024 6:00:18 AM. The ASP.NET Core framework has evolved significantly over the years, introducing new paradigms to streamline the development process. This article explores the process of transitioning from the tradit
  • Managing Data With ViewModel In ASP.NET MVC5/21/2024 9:36:47 AM. This article will tell you almost everything about ViewModel in ASP.NET MVC. I am writing this article to tell you the basic to advance foremost concepts about ways to manage the data and organize the
  • CRUD Operations In ASP.NET MVC 5 Using ADO.NET5/16/2024 5:46:35 AM. Learn how to implement CRUD operations in ASP.NET MVC 5 using ADO.NET. This tutorial covers database connectivity, SQL Server integration, controller actions for Create, Read, Update, and Delete opera
  • Getting Started With Intranet Application in MVC 45/15/2024 11:56:30 AM. In this article I am describing authentication and authorization for intranet applications using the ASP.NET Web application based on the MVC project template.
  • Building A Simple Registration Form In ASP.NET MVC5/14/2024 11:00:12 AM. Learn how to create a straightforward registration form using ASP.NET MVC. Explore MVC architecture, form validation, Razor views, and controller actions for handling user input. Build a functional we
  • CRUD using the Repository Pattern in MVC5/10/2024 7:59:18 AM. This article introduces the repository pattern in an MVC application. Repository pattern is intended to create an abstraction layer between the data access layer and the business logic layer of an app
  • Comma Separated Value (CSV) in MVC Using Ajax5/8/2024 9:48:29 AM. Learn how to implement CSV (Comma Separated Value) data handling in an MVC (Model-View-Controller) architecture using Ajax. Explore techniques for exporting data asynchronously, leveraging JavaScript
  • Different Types Of Action Results In ASP.NET MVC5/6/2024 11:28:15 AM. In this article, we will explore the diverse range of action results available in ASP.NET MVC. Learn about ViewResult, PartialViewResult, ContentResult, JsonResult, RedirectResult, and more.
  • Dependency Injection In ASP.NET MVC 55/6/2024 11:27:39 AM. Dependency Injection in ASP.NET MVC 5 facilitates loose coupling and modular design by injecting dependent objects into classes. It enhances testability, scalability, and maintainability by decoupling
  • Create MVC Project Step By Step From Scratch- Part One5/6/2024 11:26:27 AM. In this article, Learn how to build an MVC (Model-View-Controller) project from scratch in this comprehensive step-by-step tutorial series. Follow along as we delve into web development, software arch
  • AngularJS - Data Binding & Controllers5/3/2024 9:18:35 AM. AngularJS is a JavaScript framework that enables dynamic web applications by providing powerful data binding and controller features.
  • Exception Handling in MVC5/2/2024 9:50:23 AM. Learn effective exception-handling techniques in MVC (Model-View-Controller) for robust web applications. Explore try-catch blocks, global exception filters, custom error pages, and logging strategies
  • Passing Data From Controller To View With ViewBag - Part Three5/1/2024 11:34:18 AM. This article will tell you almost everything about passing data from Controller to View in ASP.NET MVC using ViewBag. I am writing this article to tell you the basic to advance concepts about ways to
  • Passing Data From Controller To View With ViewData - Part Two5/1/2024 11:04:07 AM. This article will tell you almost everything about passing data from Controller to View in ASP.NET MVC using ViewData. I am writing this article to tell you the basic to advanced concepts about ways t
  • Passing Data From Controller To View - Part One5/1/2024 11:03:17 AM. This article will tell you almost everything about passing data from Controller to View in ASP.NET MVC. I am writing this article to tell you the basic to advanced concepts about ways to pass data fro
  • Filter WebGrid With Cascading Dropdownlist Along With Paging in MVC4/30/2024 9:54:32 AM. This tutorial provides a comprehensive guide for developers new to MVC, offering step-by-step instructions for creating a basic MVC application using Visual Studio 2012 and integrating features like P
  • Database First Approach in MVC 5: Part 14/25/2024 10:10:15 AM. This article shows the development of an ASP.NET Web application in an MVC 5 project template that connects with a database that exists already and allows the users to interact with the data.
  • Database First Approach in MVC 5: Part 34/25/2024 8:02:50 AM. Learn advanced techniques in database design, Entity Framework Designer, and building robust Data Access Layers within the Model-View-Controller architecture.
  • ASP.NET Web API CRUD Operations4/23/2024 7:28:31 AM. ASP.NET Web API facilitates Create, Read, Update, and Delete (CRUD) operations over HTTP. Utilizing HTTP methods like GET, POST, PUT, and DELETE, it interacts with data using JSON/XML serialization.
  • Change Layout Page Dynamically In ASP.NET MVC 54/22/2024 7:45:18 AM. This content provides a comprehensive guide to implementing dynamic layout pages in ASP.NET MVC applications. It begins with an introduction to the need for changing layout pages based on user roles o
  • Start With AngularJS: Part 24/22/2024 7:41:04 AM. AngularJS Part 2 delves into fundamental concepts like directives, controllers, services, and dependency injection. It covers data binding, scopes, and modules crucial for building single-page applica
  • Start With AngularJS: Part 34/22/2024 7:40:45 AM. Start With AngularJS: Part 3" continues your journey into AngularJS, exploring advanced topics like directives, controllers, services, and routing. Dive deeper into AngularJS fundamentals to buil
  • Overview Of AngularJS: Part 14/22/2024 7:22:36 AM. AngularJS Part 1 introduces the framework's core concepts like MVC architecture, data binding, and directives. It covers modules, controllers, services, and filters essential for building robust s
  • Start With AngularJS: Part Four4/22/2024 6:19:58 AM. Start With AngularJS: Part Four" delves deeper into AngularJS fundamentals. Explore advanced concepts like directives, controllers, and services, enabling you to build dynamic web applications wi
  • ng-init Directive In AngularJS4/21/2024 2:24:04 PM. The ng-init directive in AngularJS evaluates expressions in the current scope, initializing variables like arrays of employees. It's used alongside ng-repeat for dynamic content generation, facili
  • Sorting Rows By Table Header In AngularJS 4/21/2024 2:22:24 PM. Learn how to implement bidirectional data sorting in AngularJS using table headers. Utilize ng-click and ng-class directives for interactive sorting indicators. Employ orderBy filter for sorting data
  • How To Use Two-Way Data Binding In AngularJS4/21/2024 2:21:08 PM. The article introduces two-way data binding in AngularJS, ensuring simultaneous updates between model and view. Demonstrates ng-model directive's role, displaying messages and handling user input.
  • Learn about Controllers in AngularJS4/19/2024 11:01:29 AM. Learn about controllers in Angular JS, their role in separating concerns in model-view-controller architecture, and their behavior. Explore examples, including data binding expressions and error hand
  • Modules And Controller In AngularJS4/19/2024 10:42:14 AM. AngularJS utilizes modules to organize and encapsulate code, facilitating maintainability and scalability. Controllers define behavior and manage data within specific sections of an application, conne
  • Create Multiple Languages In ASP.NET MVC 4.5 Framework4/18/2024 1:28:41 PM. Learn how to set up a multilingual ASP.NET MVC application in Visual Studio. Follow steps to create resources files for different languages, set up model classes with validation, implement language ma
  • What is DMA and How to Enable DMA in Windows 84/12/2024 6:30:47 AM. DMA allows memory system control without CPU involvement, reducing CPU overhead during data transfer between memory and devices. Steps for enabling DMA in Windows 8 involve accessing Device Manager, n
  • GET, SET The Value From HTML Table In ASP.NET MVC jQuery4/11/2024 10:25:17 AM. Learn how to utilize jQuery in ASP.NET MVC to efficiently GET and SET values from HTML tables. Enhance user interaction and streamline data handling between front-end and back-end components.
  • Best Practices for Creating ASP.NET Core REST API using OpenAPI4/9/2024 5:44:39 PM. Learn best practices for developing ASP.NET Core REST APIs using OpenAPI. Follow Ziggy Rafiq's expert guidance to streamline your API development process and ensure optimal performance and scalabi
  • Set Default Value To Dropdown List From Database In ASP.NET MVC4/8/2024 8:21:07 AM. In this article, you will learn how to populate a dropdown list in ASP.NET MVC with default values retrieved from a database. Utilize Entity Framework to fetch data and bind it to the SelectList.
  • Get Version of Your MVC Application4/2/2024 10:30:24 AM. This MVC application's HomeController retrieves the version information using C#'s Assembly class. It dynamically fetches and formats the MVC version, embedding it in HTML's bold tag to em
  • GET and POST Calls to Controller's Method in MVC4/2/2024 9:16:30 AM. In this article I am going to cover some really interesting material that is very useful today in web application development. You will learn how to make jQuery Ajax GET and POST calls to controller m
  • Attribute Routing in ASP.Net MVC 5.04/2/2024 9:14:50 AM. This article introduces Attribute routing in ASP.Net MVC 5.0 and offers a powerful way to define routes directly within controller actions using attributes, enhancing control over URL patterns and rou
  • ASP.Net MVC View4/2/2024 9:13:55 AM. In this article, we will learn ASP.NET MVC Views offer flexible presentation layer control. Utilize Razor syntax for dynamic HTML rendering, leverage Layouts for consistent design, and employ Partial
  • ASP.Net MVC Controller4/2/2024 9:11:26 AM. This article elucidates controllers, actions, and routing in ASP.NET MVC. It clarifies how user requests are handled by controllers, invoking specific actions based on URLs. It emphasizes the signific
  • Remote Validation in MVC4/2/2024 9:09:23 AM. Learn to implement remote validation in MVC, validating specific data without posting the entire form. Utilize the "Remote" attribute to check email existence by calling a controller action.
  • Displaying Data On View From Controller4/1/2024 12:01:36 PM. In ASP.NET MVC, data from a controller can be displayed on a view using various methods like ViewData, ViewBag, or strongly-typed models. Controllers pass data to views, leveraging Razor syntax to bin
  • Various Ways to Pass Data From Controller to View in MVC 44/1/2024 11:52:59 AM. In this article, we will discover the myriad ways to transfer data between controllers and views in MVC 4. Explore techniques like ViewBag, ViewData, TempData, Models, and ViewModel for efficient comm
  • Database First Approach With ASP.NET MVC Step By Step Part 14/1/2024 9:47:43 AM. In this article, I will demonstrate you about Database First Approach in Entity Framework and will also show how to implement it with ASP.NET MVC.
  • Terminologies in MVC: Part 3 (Scaffolding)4/1/2024 8:34:00 AM. This article is a sub-part of my MVC article series. This series contains all the terminologies, acronyms and terms usually used in the MVC framework. Knowledge of these is as important as knowing Mod
  • Explain Route Constraints in MVC4/1/2024 8:25:20 AM. Route constraints in MVC define rules for matching incoming URLs to route templates, enhancing control over routing behavior. They specify conditions like data type, length, or regular expressions, en
  • What Are Areas in ASP.Net MVC - Part 64/1/2024 8:18:29 AM. Discover the intricacies of ASP.NET MVC Areas in the sixth installment of our series. Explore how Areas facilitate modularization and organization in MVC applications, optimizing code structure for sc
  • Introduction to Microsoft ASP.NET MVC 3 Razor View Engine4/1/2024 7:03:26 AM. In this article, we will explore the fundamentals of Microsoft ASP.NET MVC 3 with the intuitive Razor View Engine. Learn how MVC architecture streamlines web development, delve into Razor syntax for c
  • ASP.NET MVC with Action Filters4/1/2024 6:30:02 AM. In this article, we will learn how to enhance your ASP.NET MVC applications with Action Filters. Action Filters provide a powerful mechanism for injecting cross-cutting concerns such as logging, authe
  • Learn about ASP.NET MVC Life Cycle4/1/2024 6:28:41 AM. Understand the MVC life cycle from HTTP request to response. Learn about ASP.NET's Page class, IHttpHandler interface, and MVC's Controller. Explore RouteTable and UrlRoutingModule for routing
  • Routing to Controller Actions in ASP.NET Core3/30/2024 8:47:24 AM. In ASP.NET Core, routing plays a pivotal role in directing incoming HTTP requests to the appropriate controller actions, enabling developers to build powerful and structured web applications.
  • Understanding Filters in MVC3/29/2024 10:56:27 AM. There are situations in which we have an implementation that will be reused in many places that is not confined to a single place or method. This is fulfilled by the Filters in MVC. Let's discuss
  • Creating a Simple Application Using MVC 4.03/29/2024 9:57:04 AM. In this article, we will learn to build a basic web application using MVC 4.0, a powerful framework for web development. Utilize ASP.NET and C# in Visual Studio to create a structured Model-View-Contr
  • Various Return Types From MVC Controller3/29/2024 9:56:19 AM. The content explores the diverse return types available in an MVC controller within the ASP.NET framework. From rendering HTML views to returning JSON data or redirecting to different URLs, MVC contro
  • Overview Of ASP.NET MVC3/29/2024 6:32:20 AM. In this article, you will learn about MVC patterns and ASP.NET MVC. MVC is an architectural pattern to develop enterprise applications.
  • Namespace for Authentication Routes in MVC and Its Importance3/19/2024 1:18:38 PM. The System.Web.Mvc namespace in ASP.NET MVC is crucial for authentication routes, aiding in code organization, readability, and integration with framework features for seamless authentication and auth
  • Getting Started With ASP.Net MVC3/19/2024 6:00:31 AM. ASP.NET MVC is a pattern dividing apps into Model, View, and Controller, offering advantages like modularity and control. It's recommended for large-scale apps, offering namespaces like System.Web
  • Working With Areas In ASP.NET Core 3.13/18/2024 11:59:50 AM. Learn how to create and manage areas in ASP.NET Core 3.1 MVC applications. Areas help organize modules, enable separate routing, and allow multiple controllers and views with the same names. Follow st
  • Lets Create TabView in SwiftUI3/14/2024 4:45:45 AM. This article contains a simple demo of creating Tab View in SwiftUI. Learn how to create a Tab View using SwiftUI in this tutorial. Follow step-by-step instructions to integrate tabs like Home, Favori
  • How to Install and Configure RODC in Server3/12/2024 7:10:39 AM. In this article, we will explore A read-only domain controller (RODC) is a domain controller that hosts an Active Directory database's read-only partitions.
  • Unit Test in ASP.NET Core Application3/7/2024 6:43:16 AM. Creating unit tests for an ASP.NET Core API controller involves service mocking and exception handling. Set up your project, install packages, create a test project, mock the service, write tests, han
  • Creating A CRUD With ASP.NET Core And EF Core2/28/2024 11:41:41 AM. Entity Framework Core (EF) is an ORM that makes it simpler to work with database by using POCO classes that map to database entities and DbContext to interact with them.
  • How to Add Additional Domain Controller in Server2/28/2024 8:53:11 AM. Deploying additional domain controllers increases the redundancy, which results in even greater resilience and higher availability.
  • Async Patterns in MVC Controllers for Efficiency or Adding Unnecessary Complexity?2/22/2024 8:08:10 AM. Explore the necessity of async patterns in MVC controllers—unveiling the intricacies of conventional and alternative coding styles
  • How To Create To-Do CRUD Operation With ASP.NET MVC Core, Angular 4.02/21/2024 10:21:43 AM. This training session covers how to utilize the Todo in-memory database via the TodoRepository and create a custom ASP.NET MVC API controller with CRUD (Create, Read, Update, Delete) operations.
  • iOS - Choosing Image From Photo Library In Swift2/5/2024 10:28:36 AM. This Swift tutorial demonstrates creating a photo library access request, implementing a UIImageView, and handling image selection.
  • Building a URL Shortener with .NET2/1/2024 7:24:19 AM. Create a powerful URL shortener using the versatile .NET framework, specifically ASP.NET Core. This guide walks you through setting up a database, implementing URL shortening logic, and configuring co
  • Routing to Controller Actions in ASP.NET Core MVC1/30/2024 4:15:10 AM. In ASP.NET Core, routing to controller actions is facilitated through attributes that define route templates, mapping incoming HTTP requests to specific actions. Multiple conventional routes can be es
  • Data Transfer in ASP.NET Core MVC Controllers with TempData1/29/2024 11:20:18 AM. In ASP.NET Core MVC, you can pass temporary data from one controller to another using TempData. TempData is a dictionary that can be used to share data between controllers during the current request a
  • Stars Rating System with Dapper in .NET Core1/29/2024 10:16:28 AM. This tutorial teaches ASP.NET Core MVC web application development with controllers and views. Implementing a star rating system with Dapper in .NET Core involves several steps. First, you need to set
  • Eager Loading In ASP.NET Core Web API Complete Example 1/22/2024 8:52:34 AM. In ASP.NET Core, eager loading is a technique used to load related data along with the main entity in a single database query. This helps to optimize performance by reducing the number of database cal