Related resources for controller
  • Unit Testing in .NET Core with xUnit12/16/2024 11:34:13 AM. One of the main aspects of software testing that a developer can manage themselves is unit testing. It is employed to test your code's tiniest elements. Unit tests are used to verify that your cod
  • Converting HTML to PDF or Image in C# Using wkhtmltopdf11/13/2024 9:02:59 AM. This guide explains generating PDFs and images from HTML using wkhtmltopdf in C#. With wkhtmltopdf's Webkit-based engine, convert HTML content, including complex CSS and JavaScript, into high-qual
  • Minimal APIs or Controllers in ASP.NET Core10/14/2024 5:56:00 AM. In ASP.NET Core, developers can choose between Minimal APIs and Controllers for building web APIs. Minimal APIs offer a lightweight, streamlined approach with simpler routing, while Controllers follow
  • Create Web API in MVC 610/8/2024 8:48:58 AM. Learn how to create a Web API using ASP.NET MVC 6 in this comprehensive guide. We’ll cover essential topics like setting up the MVC framework, building API controllers, implementing RESTful services,
  • Understanding Service, Factory, And Provider10/3/2024 11:38:34 AM. AngularJS provides three methods for creating reusable utilities: Service, Factory, and Provider. All serve the same purpose but differ in implementation. Services are singletons, Factories return new
  • ng-repeat Directive In Angularjs10/3/2024 11:38:03 AM. This article explores AngularJS's ng-repeat directive, which extends HTML by binding lists or arrays of data to HTML controls. It demonstrates how to create an Angular controller to manage an empl
  • QUIZ Application With ASP.NET MVC 59/26/2024 8:45:26 AM. Create a dynamic Quiz Application using ASP.NET MVC 5, showcasing the power of the Model-View-Controller architecture. This project involves user authentication, database integration for question mana
  • Single Page Application Using ASP.NET MVC And jQuery With CRUD methods9/18/2024 12:19:17 PM. In this guide, learn how to create a Single Page Application (SPA) using ASP.NET MVC and jQuery without relying on frameworks like Angular or React. We'll focus on routing and UI-level interaction
  • CRUD Operations Using Knockout in MVC Application: Part 29/16/2024 11:22:32 AM. This article demonstrates CRUD operations using Knockout.js in an MVC application. It covers the View class, focusing on Knockout bindings, observable arrays, and AJAX calls for creating, editing, and
  • Bind Textbox Using Knockout In MVC9/13/2024 10:50:22 AM. Learn how to bind a textbox in an MVC application using Knockout.js, a popular JavaScript MVVM library. This tutorial covers the basics of two-way data binding with Knockout observables, enabling dyna
  • Module And Controller In AngularJS9/10/2024 11:52:59 AM. AngularJS is a framework for building dynamic web applications. It uses modules as containers for components like controllers and directives, with controllers managing data and $scope serving as the b
  • Export Data Table To Excel in ASP.Net MVC 49/5/2024 11:09:19 AM. This article demonstrates exporting a Data Table to Excel in ASP.NET MVC. It covers creating a new project, adding a ClosedXML reference, and setting up models and controllers. It details fetching dat
  • Document Upload in Java with Spring Boot9/2/2024 11:39:16 AM. This article demonstrates how to implement a dynamic document upload feature in a Spring Boot Java application. It allows users to upload multiple files by dynamically adding or removing input fields.
  • Integrating AngularJS with jQuery Select2 for Dropdown Changes9/2/2024 5:00:34 AM. Integrating AngularJS with jQuery Select2 enhances dropdown menus by combining AngularJS’s data binding with Select2’s advanced features. This setup involves initializing Select2 with AngularJS, handl
  • Complete File Upload and Download in ASP.NET Core MVC8/30/2024 5:08:01 AM. Implement file upload and download functionality in an ASP.NET Core MVC application. This guide covers project setup, model creation, controller logic, view implementation, and security best practices
  • Pass Dynamically Added HTML Table Records List To Controller In ASP.NET MVC8/29/2024 7:13:51 AM. In this article we will learn how to pass dynamically added HTML Table records list to Controller in ASP.NET MVC.
  • Use of Automapper in ASP.NET Core8/16/2024 7:33:36 AM. AutoMapper is a powerful .NET library that simplifies object-to-object mapping in ASP.NET Core applications. It helps in converting Data Transfer Objects (DTOs) to domain models and vice versa, stream
  • Understanding MVC in .NET Core8/12/2024 11:46:59 AM. This article provides a comprehensive guide to understanding the Model-View-Controller (MVC) architecture in .NET Core. It explores how MVC separates concerns in web applications, enabling more organi
  • CQRS Simplified - Explained and Implemented7/30/2024 9:13:28 AM. CQRS (Command Query Responsibility Segregation) in .NET Core separates read and write operations for better scalability and performance. By using distinct models for commands and queries, it simplifie
  • Functionality of DMA in C Programming7/28/2024 1:08:57 PM. Direct Memory Access (DMA) in C programming is a powerful technique for efficient memory management and data transfer. It allows peripherals to directly access memory without CPU intervention, enhanci
  • 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.