Related resources for controller
  • 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
  • Synchronous vs Asynchronous Programming in ASP.NET Core Web API1/21/2024 1:50:22 PM. Synchronous Programming: In synchronous programming, tasks are executed one after the other, in a sequential manner. When a request is made to a synchronous API, the server processes the request and w
  • Handling HTTP Options Method in Angular and C#1/12/2024 7:16:34 AM. Learn about the HTTP OPTIONS method in this tutorial, focusing on how AngularJS frontend and C# backend work together. See how the AngularJS controller uses OPTIONS requests to communicate with the C#
  • Handling HTTP Patch Method in AngularJS Frontend and C# Backend1/12/2024 7:14:11 AM. Discover the power of the HTTP PATCH method with this tutorial, focusing on AngularJS frontend and C# backend integration. Uncover the nuanced approach of making partial updates to resources, as the A
  • Handling HTTP Put Method in AngularJS Frontend and C# Backend1/12/2024 7:06:54 AM. Learn how to implement an HTTP PUT method in an AngularJS frontend and C# backend. The AngularJS HTML frontend features a form for resource updates, while the C# backend uses a Web API controller. Fol
  • Controllers and Actions in MVC12/28/2023 6:37:32 AM. In this article, we will learn about the role of controllers, action methods, and action filters in the MVC architectural pattern for web development. Understand their functions, significance, and exa
  • Microservices Development Using CQRS Architectural Design Pattern in Microsoft Asp.net Core Web API 12/28/2023 5:02:27 AM. The Command Query Responsibility Segregation (CQRS) pattern is an architectural principle that separates the responsibility for handling commands (write operations that change state) from queries (rea
  • Choosing Between Controllers and Minimal API for .NET APIs12/21/2023 11:02:57 AM. Explore the dichotomy of .NET API development with Controllers and Minimal APIs. This guide provides insights and real-world examples, empowering developers to choose between structured versatility an
  • API Development Using Strategy Design Pattern with 3-Tier Architecture 11/13/2023 6:36:52 AM. In today's fast-paced software development landscape, creating well-structured and maintainable applications is crucial. One popular design pattern that can greatly enhance the organization and fl
  • ASP.NET Core MVC Request Life Cycle10/30/2023 5:25:03 AM. In this article you will learn about description of various stages of ASP.NET Core MVC Request Life Cycle.
  • ASP.NET Core Web API Development with Memento Pattern10/20/2023 6:25:36 AM. The Mediator Pattern is a behavioral design pattern that promotes loose coupling among objects by centralizing their communication through a mediator object. In this pattern, multiple objects interact
  • ASP.NET MVC - Passing Data From Controller To View10/10/2023 11:42:28 AM. Passing data from a controller to a view is a fundamental aspect of ASP.NET MVC development, enabling seamless communication between the application's logic and its user interface. This process in
  • Getting Data From View to Controller in MVC10/10/2023 5:50:39 AM. This article explains that how can access data from view to controller’s action method.
  • Various Ways to Pass Data From Controller to View in MVC10/9/2023 11:31:47 AM. In this article, we discuss how Controllers interact with Views and how you can pass data from a Controller to a View to render a response back to a client.
  • CRUD Operations in ASP.NET Core with 3-Tier Harmony and Command Builder Design Pattern 10/4/2023 9:21:02 AM. Command Builder Design Pattern in an ASP.NET Core Web API using a Three-Tier Architecture for CRUD operations. For the sake of this example, let's assume you have a model named CSharpCornerArticle
  • Building a Robust ASP.NET Core Web API with Singleton Design Pattern and Three-Tier Architecture10/4/2023 4:38:38 AM. This example provides a basic structure for a Three-Tier Architecture in an ASP.NET Core Web API, implementing a Singleton Design Pattern for the Data Access Layer. Remember to adjust the code based o
  • Create ASP.NET Core CRUD API with MongoDB9/25/2023 8:14:45 AM. In this article, we've built a complete CRUD API using ASP.NET Core and MongoDB. You've learned how to define a model, set up a MongoDB database, create a MongoDB context, and implement CRUD o
  • Creating CRUD API with Dapper in ASP.NET Core9/22/2023 5:54:25 AM. In this example, I'll demonstrate how to perform CRUD (Create, Read, Update, Delete) operations using Dapper in an ASP.NET Core Web API with a real-world use case model named CSharpCornerArticle.
  • Efficient PDF Generation in ASP.NET Core Web API Using DinkToPdf9/9/2023 12:14:09 PM. Generating PDF files in an ASP.NET Core Web API is a common requirement, and there are several libraries available to help with this task. In this example, I'll show you how to generate PDF files
  • Securing ASP.NET Core Web API with JWT Authentication and Role-Based Authorization9/9/2023 12:02:42 PM. Securing APIs in an ASP.NET Core Web API involves implementing authentication and authorization mechanisms to protect your resources and ensure that only authorized users can access them. In this exam
  • Addressing Common Code Smells in ASP.NET Core 9/9/2023 11:25:15 AM. Code smells are common issues in software development that indicate potential problems in the code. In ASP.NET Core or any other programming language, addressing code smells is essential for maintaini
  • Real-time Communication with WebSocket Protocol in ASP.NET Core9/4/2023 5:13:27 AM. This example provides a foundational structure for real-time communication in ASP.NET Core using WebSockets. You can expand upon this foundation to create more complex real-time applications, such as
  • Optimizing API Performance in ASP.NET Core Web API with MiniProfiler and Glimpse9/1/2023 8:25:56 AM. ASP.NET Core Web API's performance using tools like MiniProfiler and Glimpse. These tools are excellent for profiling and gaining insights into your application's performance, which can help y
  • File Upload Handling: API Endpoint and multipart/form-data8/30/2023 9:49:18 AM. ASP.NET Core Web API with the multipart/form-data content type. By following the steps outlined above, you can create an endpoint that allows users to upload files to your server.
  • Mastering Dependency Injection and Third-Party IoC Integration8/29/2023 8:59:26 AM. Dependency Injection (DI) is a design pattern used in software development to achieve loosely coupled components by allowing the injection of dependencies into a class rather than creating them within
  • Creating Dynamic Dropdown Lists in ASP.NET MVC Using AJAX8/12/2023 1:28:58 PM. we have learned how to create dynamic dropdown lists with cascading behavior in an ASP.NET MVC application using AJAX. The JavaScript AJAX functions communicate with the server to fetch data based on
  • Resolving CORS Origin Using Custom Middle ware in ASP.Net Web API 8/2/2023 5:02:53 AM. In ASP.NET Core, middleware is a component or piece of software that sits in the request-response pipeline. Middleware is used to handle or modify incoming HTTP requests and outgoing HTTP responses. I
  • Consuming Services in ASP.NET Core MVC Controller6/1/2023 8:56:47 AM. This article will guide you step-by-step on consuming services in ASP.NET MVC Controller using Dependency Injection
  • Extending Azure Data Services to Any Infrastructure with Azure Arc Data Controllers5/4/2023 7:28:10 AM. "Extending Azure Data Services to Any Infrastructure with Azure Arc Data Controllers" is an article that provides a comprehensive overview of Azure Arc Data Controllers. It explains what the
  • How to consume multiple GET API in one view in MVC4/17/2023 9:33:31 AM. we will learn How we can consume multiple GET APIs in one view in MVC
  • Getting Started with Dependency Injection in ASP.NET Core using C#2/17/2023 10:38:13 AM. In this article, we explored how to use dependency injection (DI) in ASP.NET Core using C#. We covered the basics of DI, including what it is and why it's important. We then looked at how to set u
  • Controller Action Result (1), In ASP.NET MVC1/19/2023 10:33:47 AM. This article discuss the various types of Controller Action Results in ASP.MVC.
  • MVC Controllers Can Automatically Infer [FromServices] In .Net 712/27/2022 9:12:44 AM. In.Net 7, MVC Controllers can automatically infer [FromServices].
  • How To Post Data To The Controller Using AJAX With Validations In ASP.NET Core 9/5/2022 6:30:49 AM. In this article, we are going to discuss how we can post data to controller in asp.net core using Ajax with form serialize and without form serialize. With form serialize we also going to implement va
  • Learn MVC (Model view controller) Step by Step in 7 days - Day 38/26/2022 9:35:00 AM. This article is continuation to Learn MVC step by step in 7 days
  • Introducing ASP.Net Web API 2- Adding Controller: Day 26/22/2022 6:52:04 AM. This article describes how to create an empty ASP.NET Web API 2 Controller and by using jQuery we can call the Web API in the web form.
  • MySQL PHP MVC CRUD Without Framework5/4/2022 9:25:36 AM. This article shows beginners how to make their own MVC framework pattern in PHP. Also, it explains the design style of a framework and the way of coding.
  • Angular Components for Beginners5/4/2022 9:19:50 AM. This article discusses how to create a reusable component in angular js. This tutorial is for beginners, freshers, or students. I have created a functionality of the component and used it in our progr
  • Building ASP.NET MVC Web Applications using ADO.NET Entity Data Model11/8/2021 6:40:29 AM. This is a step by step tutorial on how to build ASP.NET MVC Web Applications using ADO.NET Entity Data Model and Visual Studio.
  • ASP.NET MVC Series For Beginners: Part 111/1/2021 8:44:57 AM. In this session, we covered the very basics of ASP.NET MVC, which is a very important build foundation of ASP.NET MVC framework.
  • Implement Version in Web API: Using Different Controller6/7/2021 11:46:24 AM. In this article, we will learn to implement multiple versions of an existing application by adding a new controller class.
  • Practical Approach to Learn MVC: Part 16/4/2021 7:52:03 AM. This article explains MVC in ASP.Net. The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view and the controller.
  • Learn ASP.Net in MVC Style: Part 2 [Controller in ASP.Net MVC5]5/31/2021 9:17:10 AM. This article provides a detailed description about Controllers in ASP.NET MVC5.
  • Controllers in MVC : Define Custom Route5/27/2021 9:10:05 AM. This articles helps you to create Custom Routes in your ASP.NET MVC application.
  • ASP.Net MVC 5 Using Visual Basic: Adding Controller5/27/2021 7:33:50 AM. This article explains how to add a Controller and how they work in MVC 5 Web Applications.
  • Create Your First MVC Application Using Sencha Touch5/26/2021 11:54:33 AM. In this article, we will create our first MVC application using Sencha Touch by creating a MVC structure and how the Sencha Touch framework fits into MVC.
  • Asynchronous Controller of Web API 2 With Entity Framework 6: Get() Method5/25/2021 9:13:18 AM. In this article, we will understand the Get method to get data from the Web API asynchronously.