Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

Look at this code, we’ve currently only 1 custom route if we’re working with larger application this file will grow with lots of custom routes and over the period of time it will become a huge problem for us to handle all the routes. As we can see, each route consists of 3-4 lines of code, it is so much time consuming and hard to keep in mind for logic building.

Let’s start with “Super Admin” Role “Super Admin” has access to create New “Admin” and “User”. First “Super Admin” creates “Admin” after creating “Admin”, “Super Admin” creates a “User” and then assigns User to a particular “Admin”.

Validations are very important to limit user input. So, we need to validate our form client side and server side as well. Developers write the validations through if/else statements again and again to check the data and then they go through the exceptions, this is the way developers normally apply the validations on the forms.

We already know that Action Filters are important to modify the behavior of the action. If we want to apply some operations on the action execution then we need to make our own custom action filters which help us to apply the operations on different states. We’ll discuss them in detail here.

Let’s discuss iTextSharp and how to use it in C# programming.

Here the Controller Name should have the suffix (Controller) because there are lots of (.cs) CSharp files in the project. And this convention helps Visual Studio to identify which is the Controller file. So we can’t remove this suffix ‘Controller’ from any Controller name.

MVC is actually the architectural pattern for implementing UI, although it was originally developed for desktop applications in 1970s. But then it is widely adopted in Web applications as well. And then as a result many frameworks have been created to enforce this pattern. MVC architecture has been famous for a long time in software engineering. Many programming languages adopt this pattern with different variations. But here we’ll discuss MVC patterns in terms of ASP.NET.

Action Selector is an attribute that applies to action methods. It helps the routes to identify the action based on the request. Here in the ASP.NET environment, we have a few Action Selectors.

In ASP.NET MVC, there are different types of action results. We already know that action is actually the term we say to methods of the controller.

Search data from HTML Table using Jquery without hitting the database and page post.

In this article we will be discussing how to invoke action methods base of custom logic along with this how to redirect a request for an action method to another action method in same controller or other controller.

In this article, I will demonstrate how to implement Google Line Chart dynamically using Entity Framework in ASP.NET. I will use jQuery AJAX to retrieve the data from the database and display in Google Line Chart. The chart will display the respective data on its point line with an animation.

WEB API is the best fit to create a resource-oriented service using HTTP/Restful and it works well with MVC-based applications. For more details visit my link.

The push notification is the technology which allow the user engaged to the particular site or application. It can be any kind of chat, discussion or anything. It engage the users to the particular content or activity.

The WebDataGrid is a flexible and feature-rich ASP.NET control available by Infragistics. The WebDataGrid is a part of Ultimate UI for ASP.NET, a library of ASP.NET controls. The control uses ASP.NET to eliminate the post back process. One of the core features of the control is, its built-in out-of-box functionality that simply requires few simple settings to provide a fully-functional, rich data-drive Web application. The code is also fully optimized and incorporates lightweight markups for performance reasons.

This article demonstrates how to upload audio files up to 50MB and play dynamically using ASP.NET MVC 5.

Today, in this article, I will explain how to activate links after sending an email of an activation link to a user using MVC and Web API.

In this article. I will demonstrate how to implement Google column charts dynamically using entity framework in MVC5.

Kendo has various operations such as how to perform an action and operations with records. It has paging, filtering, sorting, editing, grouping, fixed pages, and column lockable functionalities.

This is a viable option to convert your Dot Net DLL into an ASP dot net Project. You can download the trial version of .NET Reflect 10.0.4 software tool online.

The .NET 4.5 includes HttpClient class to overcome the limitation of WebClient. HttpClient class to send data to and receive data from Web API which is hosted on local IIS web server. HttpClient in other .NET applications also such as windows form application, windows service application etc.

A class library is useful when you want to share code between multiple programs. Class Library is a collection of reusable types including classes, interfaces and data types included in the .NET Framework to provide access to system functionality. It can be used for developing applications such as console applications, Windows GUI applications, ASP.NET applications, Windows and Web services, workflow-enabled applications, service-oriented applications using Windows Communication, XML Web services, etc.

Views are actually the presentation layer of the application. With the help of views, we see the information on the screen. Let’s start our journey.

In the previous article, I was writing about building a basic CRUD scenario using DotVVM, an open-source MVVM framework for line of business web apps.

Razor View Engine is a markup syntax which helps us to write HTML and server-side code in web pages using C# or VB.Net. It is server-side markup language however it is not at all a programming language.

Today, we’ll discuss the ASP.Net application architecture. What is the anatomy (structure)? What is the purpose of different files?

Build a dynamic Bootstrap 4 image carousel in ASP.NET MVC 5 by uploading images, storing their paths in SQL Server, and displaying them with jQuery DataTables.

HTML Helpers are classes which help to render HTML. These classes have methods which generate HTML at runtime. We can also bind a model object to individual HTML element for displaying or retrieving values.

ASP.Net is the Microsoft Web Development Framework. It is a part of .Net Platform. ASP.Net is used to build single page applications, dynamic applications, enterprise applications, online banking etc.

HTML helper binds model’s property value to control. All HTML helper control derived from System.Web.Mvc.Html namespace. All HTML helpers controls are classes and having its separate extension methods.
Everything on ASP.NET, not only its articles: the ASP.NET page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article