In this article I will show how JSON serialize in ASP.NET MVC and bind data by AngularJs. I will not describe what and how JSON, ASP.NET MVC or AngularJs work. Hope I will discuss these topics in another article. Let’s start to create an ASP.NET MVC project with AngularJs. Step 1: Create ASP.NET MVC application
Category: ASP.NET MVC
Simple notifications with toastr
toastr is a simple JavaScript toast notification library that is small, easy to use, and extendable. It is mostly used to show notification and its outlook is very nice and responsive. It allows you to create simple toasts with HTML5 and JavaScript like following: Let’s use toastr in a simple asp.net MVC application. Step 1:
A SignalR Application for real time notification using AngularJS and toastr
SignalR is a new developer’s API provided for ASP.NET web applications, used to add “real time” web functionality to ASP.NET applications. “Real Time” web functionality is the ability to have server code to push contents to connected clients. Uses 1. Notification 2. Chat application 3. Real time monitoring application 4. Job progress update etc. So,
A simple SPA with AngularJs, ASP.NET MVC, Web API and EF
SPA stands for Single Page Application. Here I will demonstrate a simple SPA with ASP.NET MVC, Web API and Entity Framework. I will show a trainer profile and its CRUD operation using AngularJS, ASP.NET MVC, Web api and Entity Framework. Step 1: Create a ASP.NET MVC application with empty template Open visual studio, Got to
A mini SPA with ASP.NET MVC and AngularJS
SPA stands for Single Page Application; I think you already have little idea on it. Here I will demonstrate a mini SPA with ASP.NET MVC and AngularJS. So, let’s start. Step 1: Create a ASP.NET MVC application with empty template Open visual studio, Got to File->New->Project Select Template -> Visual C# -> Web -> ASP.NET
A simple application with ASP.NET MVC 4 with EF 6 Code first and Scaffolding
Introduction Before going to the details of article, I think you already know what MVC is and how ASP.NET MVC Works. If you don’t have any idea, you are requested to read the following article. Introduction to ASP.NET MVC How to create first Application by ASP.NET MVC Uses of ViewBag and Model in ASP.NET MVC
Routes and Controllers in ASP.NET MVC
Let’s consider a url http://localhost/home/about . How does it work in an MVC application? How does it deliver a request? Yes, routing engine is responsible for this task. So, what is routing engine? The routing engine is a core part of asp.net. It’s not tied to the MVC framework. You can use the routing engine
Uses of ViewBag and Model in ASP.NET MVC
In my series tutorial on ASP.NET MVC, I will try to develop an application which is called Training Management System (TMS). In this project, I will keep an employee’s skill matrix on the basis of training. Rather than this, I will keep employee information, training information and many more. I will continuously modify the project
How to create first Application by ASP.NET MVC
Prerequisite : Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
What is MVC? MVC is a framework methodology. It divides an application’s implementation into three component roles: models, views, and controllers. The Model represents the application core (for instance a list of database records). The View displays the data (the database records). The Controller handles the input. For example: If you request a page, first controller
Global variable of ASP.net
Global variables are those variables that can be accessed anywhere in the application. Global variable should always be used with caution. It stores data. The most common way of accessing global variables in ASP.net are by using Application, Cache, and Session Objects. Application – Application objects are application level global variables, that need to be
ASP.NET (All Articles) at a glance
ASP.NET MVC How to add ASP.NET MVC to a Web form application