Learn ASP.NET MVC How to's for free here.
ITFunda.Com
Your details are safeBuyer's Satisfaction Contact Us
 Welcome Guest | Register | Login Why online training? | Buyers FAQs | Testimonials | Contact us 

Our Quality Professors


Our professors includes
Contact us for training ...

Tips and Tricks (Books) Category

Some more tutorials

Announcements

More ...

ASP.NET MVC How to Tips & Tricks


Tips and Tricks (Books) by Itfunda

Pricing and Details Support Forum Comments

ASP.NET MVC How to Tips & Tricks
Summary: This ASP.NET MVC How to Tips and Tricks has solutions of 134 real time ASP.NET MVC problems that you face in most of the real time projects. All solutions are written with best practices and comes with complete to-the-point description and source code.

Author: Sheo Narayan, the founder of DotNetFunda.com
1 vote(s) Rating: 5 out of 5

Coverage:

ASP.NET-MVC-tutorials  ASP.NET-MVC  MVC  How-to  ASP.NET-MVC-question-answer 
Delivery mode (?): Electronic Delivery,
Duration/Validity: Life time

Tips for buying: You may buy without logging in, however to provide a better service we suggest to login.
License/Pricing details INR Price USD Price Discount Special discount Final price Buy
Downloadable eBook and Source code for life time validity Rs 1000.00 $20.00 40.00% - Rs 600.00/ $12.00 Continue >
Contact us for volume licenses discount.Payment can be done securely using Credit card, Debit card or Net banking.

Online credentials if any are valid only for 8 months from the date of purchase. If you are existing subscriber and want to get upgraded eBook, contact us.

Table of Contents


Content written in this book are based on ASP.NET MVC 5 with C# and Razor engine using Entity Framework. All solutions are given with the best practices.

Introduction

  1. What is ASP.NET MVC?
  2. Model
  3. View
  4. Controller
  5. Why ASP.NET MVC?
  6. Benefits
  7. Execution process of ASP.NET MVC app
  8. Other facts

Basics


  1. How to create a new ASP.NET MVC application?
  2. What are the folder structure (Project template) of ASP.NET MVC application?
  3. What are the naming conventions to follow in ASP.NET MVC?
  4. How to create a new controller?
  5. How to create a view?
  6. How to create a new Model?
  7. How to scaffold a View and Controller based on a Model?

View - Razor View


  1. What is Razor and what is the benefit of Razor?
  2. How to declare a variable in the View using Razor syntax?
  3. How to comment in razor view?
  4. How to perform for loop in razor view?
  5. How to perform foreach loop in view?
  6. How to perform if conditional operation in view?
  7. How to perform switch case conditional operation in view?
  8. How to write variable data inside the URL?
  9. How to perform mathematical operation in the razor view?
  10. How to mark a particular content as text in the razor markup?
  11. How to create & call an inline custom helper method in Razor markup?
  12. How to create and call an external HTML helper method in Razor markup?
  13. How to import a namespace in razor view?
  14. How to call external method in the razor view?
  15. How to specify a model for the razor view?
  16. How to write ViewBag / ViewData value to the razor view?
  17. How to unbox ViewBag / ViewData data to its stored type object?
  18. How to create a new read only view?
  19. How to create a form based view?
  20. How to create a model based view?

View - Form Specific


  1. How to create a hidden form element in ASP.NET MVC view?
  2. How to create a text box in the ASP.NET MVC view?
  3. How to create a radio button in the ASP.NET MVC view?
  4. How to create a checkbox in the ASP.NET MVC view?
  5. How to create a drop down in ASP.NET MVC view?
  6. How to create a list box using razor?

Models


  1. How to create a model based on database table?
  2. How to create a primary key in Model?
  3. How to create an auto increment field in the Model?
  4. How to make a model field mandatory?
  5. How to validate a model field for a particular string length?
  6. How to validate a model field for a particular data type?
  7. How to apply a custom label to a model field?
  8. How to give a meaningful name to the model property and still map with the database table field?
  9. How to give a different name to the model and still map with the database table?
  10. How to specify primary key and foreign keys relationship to the Models in ASP.NET MVC?
  11. How the view works in case of primary and foreign key relationship of models in ASP.NET MVC?
  12. View Model
    • How to list data from more than one tables in ASP.NET MVC?

Controller


  1. How to access form data into the controller using Request?
  2. How to access form data into the controller using FormCollection?
  3. How to access form data into controller using parameters?
  4. How to rename action method?
  5. How to rename a controller?

Partial View


  1. How to create a partial view?
  2. How to render/call a partial view from a content page (View) ?
  3. How to return a partial view from controller action method?
  4. How to call a partial view that accepts Model as parameter?

Redirect

  1. How to redirect the user to another page from controller action method?
  2. How to redirect the user to another action method from the controller action method?
  3. How to redirect the user to another route url?

Passing Data


  1. How to pass data from one action method to another action method?
  2. How to pass data from controller action method to the View?
  3. How to access data from querystring to the controller action method?

Output

  1. How to return a view from controller action method?
  2. How to return a model/object to the view from controller action method?
  3. How to output a content from controller action method?
  4. How to output JSON content from controller action method?
  5. How to output JavaScript content from controller action method?
  6. How to output a file content from controller action method?

Route

  1. How to define a new route in ASP.NET MVC?
  2. How to perform catchall operation in ASP.NET MVC route?
  3. How to catch the route url segments into controller action method?
  4. How to perform a browser constraint check in the route and redirect the user to browser specific page?
  5. How to expose an action method by a certain url (attribute routing)?
  6. How to create a custom route handler in ASP.NET MVC to redirect the user to a specific page for a specific url?

URLs

  1. How to get the url of the action method?
  2. How to create a hyperlink based on Controller action method?
  3. How to avoid Length querystring in the URL generated by ActionLink?
  4. How to create a URL based on a Route defined?

Authentication and Authorization

  1. Authentication and Authorization
  2. How to create forms authentication in ASP.NET MVC?
  3. How to perform authorization for a particular view/page in ASP.NET MVC?
  4. How to mark a controller to be accessed only by logged in user?
  5. How to make an action method public in secure controller?

Error Handling

  1. How to handle error in controller action method and pass error to the View?
  2. How to handle error for controller action method and redirect the user to a default error page?
  3. How to handle a specific type of error for the controller and redirect user to an error specific page?

Validation

  1. How to prevent Cross-Site Request Forgery (CSRF) attack in ASP.NET MVC?
  2. How to perform a custom validation in ASP.NET MVC?
  3. How to mark a form to not validate the input data for any HTML or script data?
  4. How to perform remote validation on a particular model field?
  5. How to validate the data passed in url at the routing level itself in ASP.NET MVC?
  6. How to use fluent validation framework in ASP.NET MVC?

Session Management

  1. How to store user specific data into session?
  2. How to specify time out to the session object?

Caching

  1. How to cache the output of the action method?
  2. How to specify a profile for the output cache and use it in multiple actions?
  3. How to cache a partial view output?
  4. How to store data into Cache in ASP.NET MVC?

Database Operations

  1. How to list the data from database?
  2. How to insert a record into database in ASP.NET MVC?
  3. How to update a record into the database in ASP.NET MVC?
  4. How to delete a record from the database in ASP.NET MVC?
  5. How to upload a file on the server in ASP.NET MVC?
  6. How to upload multiple files on server in ASP.NET MVC?
  7. How to paginate records in the ASP.NET MVC view?
  8. How to sort and paginate records in ASP.NET MVC?
  9. How to perform a search based on a keyword from the database table in ASP.NET MVC?
  10. How to list data in Grid in ASP.NET MVC?
  11. How to insert data into more than one database tables (View model)  in ASP.NET MVC?
  12. How to work with Transactions in ASP.NET MVC?

Ajax

  1. How to insert a record into database using Ajax?
  2. How to search records from the database using Ajax in ASP.NET MVC?
  3. How to list records from database using JSON in ASP.NET MVC?

Asynchronous 

  1. How to create an asynchronous controller and action methods in ASP.NET MVC?

Bundles

  1. What are bundles in ASP.NET MVC?
  2. How to create and use a JavaScript bundle in ASP.NET MVC?
  3. How to create and use a CSS style bundle in ASP.NET MVC?
  4. How to render Scripts / Styles bundles in the custom format in ASP.NET MVC?
  5. What is optimization of JavaScript and CSS files?
  6. How to optimize JavaScript and CSS file in ASP.NET MVC?

ASP.NET Web API

  1. How to create an ASP.NET Web API Controller?
  2. How to insert a record into database by consuming ASP.NET Web API from ASP.NET MVC View?
  3. How to list records from database by consuming ASP.NET Web API from  ASP.NET MVC View?
  4. How to delete record from database by consuming ASP.NET Web API from  ASP.NET MVC View?
  5. How to update record to database by consuming ASP.NET Web API from ASP.NET MVC View?
  6. How to consume external Web API in ASP.NET MVC?
  7. How to cache data being returned from ASP.NET Web API?

Exporting Data

  1. How to export data into MS Excel in ASP.NET MVC?
  2. How to export data into MS Word in ASP.NET MVC?
  3. How to export data into XML in ASP.NET MVC?

Unit Testing

  1. How to create a new ASP.NET MVC Test project?
  2. How to add a new unit test class?
  3. How to create a new test case method?
  4. How to test a controller method for correct view?
  5. How to debug a unit test case / method?
  6. How to test a controller method that is accessing data from database?
  7. How to create a method that is not a test method in the Test class?

Are you facing any other problem related with ASP.NET MVC technology, please let us know, we shall solve and add as part of this eBook. 

What comes with this eBook

  1. Online - anywhere and anytime access 
  2. Complete downloadable eBook with no expiry date
  3. Complete demo source code containing several ASP.NET MVC Projects covering all topics mentioned above

Itfunda
ITFunda .com


Itfunda's Profile


ITFunda.Com is an e-commerce website that furnishes a platform to the interested buyer and seller to interact and transact for the software or software related services. 

We are a part of SN ITFunda Services LLP, a parent establishment of a popular Microsoft(R) technology related knowledge based website www.dotnetfunda.com.

SN ITFunda Services LLP is a authorized distributor / re-seller of
  • Own products
    • .NET How to's
    • ASP.NET How to's
    • jQuery How to's
    • ASP.NET AJAX Tutorials
    • .NET Corporate trainings and
    • Online .NET Trainings
  • TechSmith Corporation products like 
    • Camtasia Studio
    • SnagId
    • Morae
  • Nevron Software
    • Nevron .NET Vision
    • Nevron Chart for Sharepoint
    • Nevron Chart for SSRS
    • Nevron .NET Chart
    • Nevron Diagram for .NET
    • Nevron Gauge for .NET
    • Nevron Gauge for Sharepoint
    • Nevron Sharepoint Vision Suite
    • Nevron SSRS Vision
  • Questpond training materials
  • Deccansoft training materials
Kiran on 9/21/2016 2:15:11 AM

Very nice book

Comments


If you have bought this, please cast your vote and provide your comment about this tutorial.

Please Sign In to vote.

Share this to:

Facebook Twitter LinkedIn Google+ Pinterest Email Addthis

Other Trainings

About Us | Contact Us | Partners | Privacy Policy | Terms and Conditions | Buyer's FAQs | Seller's FAQs | Currency Converter | Go Top

Notice: If you found someone plagiarising our content/materials, kinldy let us know.

© SN ITFunda Services LLP. Site design and layout is copyright to SN ITFunda Services LLP.
Copying or duplicating or mimicking the site design and layout is prohibited and will be treated as a legal offence and will be prosecuted.
Logos, company, product, service or other names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 11032014 | 10/20/2017 10:53:02 PM