Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Beginning ASP.NET [Instructor Edition]
  • Table Of Contents Toc
Beginning ASP.NET [Instructor Edition]

Beginning ASP.NET [Instructor Edition]

By : Onur Gumus
2 (1)
close
close
Beginning ASP.NET [Instructor Edition]

Beginning ASP.NET [Instructor Edition]

2 (1)
By: Onur Gumus

Overview of this book

Building robust web applications is the need of the hour in the web world. ASP.NET Core is known for building and deploying robust crossplatform applications. ASP.NET Core MVC (that makes use of the Model-View-Controller architecture) has in it the ingredients required for efficient development of applications. In today's age, it's important for a developer to possess the ability to separate the programming and business logic. There are few courses available on ASP.NET Core 2 that imbibes this ability to a developer. This course offers a tried & tested way to build cross-platform applications. It presents the fundamentals and philosophies of ASP.NET Core. Starting with an overview of the MVC pattern, you'll quickly dive into the aspects that you need to know to get started with ASP. NET. You'll learn about the core architecture of model, view, and control. Finally, build your own shopping cart application, and gain all the skills to develop real-world applications with ASP. NET Core 2.
Table of Contents (10 chapters)
close
close

Model Binding

Model binding is the process of mapping the model data coming from the view to the ViewModel parameter of the action method in the controller.

Model binding eliminates the need to read the form data manually and assign it to the existing object. This would have been very tedious and error-prone. Model binding can also be enhanced and customized. It is a powerful mechanism to parse the incoming request automatically.

Let us consider a simple form with a couple of form fields: Name and EmailID. On submission of the form, these values would be mapped to the ViewModel object of the action method of the controller. Model binding takes care of this mapping. The model binder looks for a match in the form fields, query strings, and request parameters.

In the preceding example, any class with these properties would be picked up by ModelBinder without any issues.

As the following...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Beginning ASP.NET [Instructor Edition]
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon