Posts

Showing posts from August, 2017

Unit Testing in ASP.NET MVC - Easy Guide for Beginners and Professional

Image
What is Unit Testing ?   Unit tests are definitely becoming a need-to-have skill for developers to confirm their code does what it should for production.  1.In real world every application comprises of many modules. For instance consider a simple E-Commerce application may comprises of Inventory Module, Customer management Module, Order module etc.  2. Every Module is made of using more than one classes. 3. Every class exposes many functionalities in the form of functions. In Unit Testing we test these functions individually in an automated manner. Get Easiest & Simplest idea about ASP.NET MVC What are some general guidelines for Unit Testing?   Make sure you unit tests tests what needs to be unit tested…and nothing more.  If you have a simple POCO (Plain Old CLR Object) with a list of properties with no implementation or business rules behind it, I’m guessing you don’t need to test it. Your code should be unit testable. If it’s not, you may need to ret
The  ASP.NET MVC 5 Framework  is the latest update to Microsoft’s popular ASP.NET web platform. It provides an extensible, high-quality programming model that allows you to build dynamic, data-driven websites, focusing on a cleaner architecture and test-driven development. ASP.NET MVC TOPICS LATEST UPDATE - FREE PDF DOWNLOAD ASP.NET MVC 5 contains a number of improvements over previous versions, including some new features, improved user experiences; native support for JavaScript libraries to build multi-platform  CSS  and  HTML5  enabled sites and better tooling support. In this article, we will be taking an overview of some of the exciting N ew fundamental features of MVC 5 : Scaffolding One ASP.NET Bootstrap Scaffolding : Visual Studio 2013 includes a new Scaffolding Framework for ASP.NET MVC 5 and the ASP.NET Web API 2. Simply put, Scaffolding is a code generation framework provided for ASP.NET Web Applications. Using this framework,

TOP 50 ASP.NET MVC Interview Questions with Answers

Learn Microsoft Dot Net from Basics —  Dot Net Tutorial for Freshers — Easy Guide 1) What is MVC? MVC is a pattern which is used to split the application’s implementation logic into three components: models, views, and controllers. 2) Can you explain Model, Controller and View in MVC? Model — It’s a business entity and it is used to represent the application data. Controller — Request sent by the user always scatters through controller and it’s responsibility is to redirect to the specific view using View() method. View — It’s the presentation layer of MVC. 3)Explain the new features added in version 4 of MVC (MVC4)? Following are features added newly – Mobile templates Added ASP.NET Web API template for creating REST based services. Asynchronous controller task support. Bundling the java scripts. Segregating the configs for MVC routing, Web API, Bundle etc. 4)Can you explain the page life cycle of MVC? Below are the processed followed in the sequence -