dept: Computer Science - Page 19 of 23

221 articles found.

HTML Helpers in ASP.NET MVC

HTML Helpers in ASP.NET MVC, helpers in asp.net mvc, html helpers in asp, helpers in mvc

Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at HTML Helpers in ASP.NET MVC . It's our 12th tutorial in ASP.NET MVC series. I know every tutorial is a new concept for you to understand but we have to cover all of them before starting working on our project in ASP.NET MVC. If you have worked on ASP.NET web forms or C# / Visual Basic projects then you must be aware of toolboxes, from where we can drag and drop our visual components like textbox, editbox, button etc. But in ASP.NET MVC applications, we don't have this luxury of drag and drop. Instead we have HTML Helper classes which are used to created these html components in ASP.NET MVC. So, let's have a look at How to use HTML Helpers in ASP.NET MVC: HTML Helpers in ASP.NET MVC HTML Helpers ...

Action Selectors in ASP.NET MVC

Action Selectors in ASP.NET MVC, selectors in asp, selectors in mvc, selectors in asp.net, nonaction selector in asp

Hello friends, I hope you all are having fun with your lives. In today's tutorial, we are gonna have a look at Action Selectors in ASP.NET MVC. It's the 11th tutorial in ASP.NET MVC series and if you have covered so far then that means you really want to learn this language. Action Selectors are also new for you as we haven't discussed them yet but they are not that difficult to understand. Action Selectors are built-in attributes of ASP.NET which are directly applied to action methods of Controllers. We use Action Selectors to influence on Controller's action methods. In simple words, we use Action Selectors to guide URL Routers in selection of correct action method. Let's have a detailed overview of Action Selectors: Action Selectors in ASP.NET MVC Action Selectors are built-in attribute ...

Create a Custom Filter in ASP.NET MVC

Create a Custom Filter in ASP.NET MVC, create new filter in asp, custom filter in asp, custom filter in mvc, custom filter in asp.net

Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to Create a Custom Filter in ASP.NET MVC. It's our 10th tutorial in ASP.NET MVC series. In our previous tutorial, we have cleared our concepts about Filters in ASP.NETMVC and we have also implemented one built-in filter of ASP.NET MVC. Now, its time to have a look at How to Create a Custom Filter in ASP.NET MVC, in which you can specify your own authentications or handling etc. In our ASP.NET applications, we have use custom built filters a lot for different purposes. So, let's have a look at How to Create a Custom Filter in ASP.NET MVC: Create a Custom Filter in ASP.NET MVC In ASP.NET MVC, custom filters are handled by a base class named as ActionFilterAttribute. This ActionFilterAttribute class ...

Filters in ASP.NET MVC

Filters in ASP.NET MVC, filters in asp, filters in asp.net, filters in mvc, outputcache in asp.net

Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at Filters in ASP.NET MVC . It's our 9th tutorial in ASP.NET MVC series. It's also a new concept which is essential to discuss as it's used almost in every form submission. We have already understand Controllers in ASP.NET MVC and we know that Controllers have action methods in it which are directly assigned to respective Views, which are then displayed to the user. But in some cases, we have to place some checks (called Filters) before or after this action method called. So, let's have a look at these Filters in ASP.NET MVC in detail: Filters in ASP.NET MVC Filters are attributes which we can use before or after action method called in a Controller. Controllers are normally directly connected with ...

URL Routing in ASP.NET MVC

URL Routing in ASP.NET MVC, url routing in asp, routing in mvc, url routing in asp.net, routing in asp.net

Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at URL Routing in ASP.NET MVC . It's the 8th tutorial in this ASP.NET MVC series. Today's tutorial is on a new concept in asp.net and it's essential to understand URL routing before going any further. URL Routing is actually a part of core ASP.NET but MVC applications also use it. URL Routing is implemented by System.Web.Routing and ASP.NET MVC uses System.Web.Routing. So, let's have a look at what's URL Routing in ASP.NET MVC: URL Routing in ASP.NET MVC URL Routing is used for directing the HTTP request (generated by the user) to the respective controller in ASP.NET MVC. Whenever a user types some url in the browser and hit enter then an HTTP request is generated and this HTTP request is then handled b ...

Create a New View in ASP.NET MVC

Create a New View in ASP.NET MVC, view in asp.net mvc, view in asp, view in mvc

Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at How to Create a New View in ASP.NET MVC. It's 7th tutorial in ASP.NET MVC series and I am hoping you are learning from it. If you have any suggestions, then ask in comments and we will help you out. In our previous tutorial, we have seen How to Create a New Controller in ASP.NET MVC and we have also created the New Model in ASP.NET MVC , so now we are only left with View which we are gonna create today. Both Controller and Model comes under back-end / server side programming while view comes under front-end / client side programming. Here we are gonna create a View for the user to interact. So, let's get started with How to Create a New View in ASP.NET MVC: Create a New View in ASP.NET MVC We ha ...

Create a New Controller in ASP.NET MVC

Create a New Controller in ASP.NET MVC, controller in asp.net mvc, add controller in mvc, new controllers in asp, asp controllers add

Hello friends, I hope you all are doing great. In today's tutorial, we are gonna Create a New Controller in ASP.NET MVC . It's 6th tutorial in our ASP.Net MVC series. We have already had a look at basic Introduction to Controllers in ASP.NET MVC and they are used to communicate between Views & Models. So, now we are gonna have a look at How to Create a New Controller in ASP.NET MVC. It's a very quick tutorial, as there's not much to do with Controller rite now, we will just create one. So, let's get started with it: Create a New Controller in ASP.NET MVC In order to Create a New Controller in ASP.NET MVC, you have to right click on the Controllers folder in Solution Explorer . Now click on the Add and then click on Controllers as shown in below figure: It will open up a new window which wi ...

Create a New Model in ASP.NET MVC

Create a New Model in ASP.NET MVC, new model in asp, add model in asp.net, add model in mvc

[vc_row full_width_row="true"][vc_column][vc_column_text] Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at How to Create a New Model in ASP.NET MVC . It's 5th tutorial in ASP MVC series. We have already seen the basic concept of Model in ASP.NET MVC in our second tutorial. Models are used to communicate data from SQL Database to respective Controllers, which is then displayed by the Views to the user. When you are designing some professional website then it happens a lot that you need to place different data in your databases, normally this data is coming from users. So, in such cases you have to create new models and then assign respective controllers to them. So, today we will see How to do the first part i.e. creating new models in asp.net ...

Controllers in ASP.NET MVC

Controllers in ASP.NET MVC, Controllers in ASP.NET, Controllers in MVC, Controllers in ASP

Hello friends, I hope you all are doing great. In today's tutorial, I am going to give you a detailed overview of Controllers in ASP.NET MVC . It's the fourth article in ASP Web App Series. In our Previous tutorial, we have had a look at Views in ASP.NET MVC and in that tutorial, we have mentioned this Controller a lot and today we are gonna discuss it in detail. Controllers acts as a messenger in ASP.NET MVC Web App, it takes message or data from place to another. I have also shared a video at the end of this tutorial and I would suggest you to watch it once to get better understanding of controllers. So, let's get started with Controllers in ASP.NET MVC: Controllers in ASP.NET MVC Controller is the back bone of any ASP.NET MVC Web App as it acts as a messenger between different entities. ...

Views in ASP.NET MVC

Views in ASP.NET MVC, views in asp, views in mvc, views in asp.net , views in asp net

Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at What are Views in ASP.NET MVC . It's our third tutorial in ASP .NET MVC series and in our first tutorial, we have seen How to Setup Your First Project in ASP.NET MVC and in our second tutorial, we have seen What is Model in ASP.NET MVC and I have told you about Views as well in previous tutorial. So, now we are gonna have a look at it in detail: Views in ASP.NET MVC In MVC Framework, we don't have pages or path to some html file as in php. Instead, We have to use Views in ASP.NET MVC for front end designing. We can use Html, Css, Javascript, Jquery or any other front end language in Views. There are two types of Views, we use in ASP, which are: Specific Views ( These Views are associated with sp ...