Posts

Showing posts from 2016

Entity Power Tool for Visual Studio 2015

Image
EF Power tool is widely used for reverse engineering in MVC Projects to create Model and Mapping which takes more time for developers when do manually. Since EF Power tool is initially designed for VS 2010, 2012, and 2013. You can see it on Microsoft website where compatible version is clearly mentioned. So here I am going to tell you how you will install EF Power tool in VS 2015. Step 1: Just download the file click to download and simply Install it by just double-clicking on it and then Next Next. Step 2: Now when You will do reverce engineering you will get error One or more errors occurred while processing template 'Entity.tt'.  To solve this error you can just change the Target framework 4.1.5 from your current version. It will solve your problem. When you have done with reverse engineering then again change the Target framework.

How to use AngularJs with MVC C#

Image
So this tutorial is related to JSON data Download the project file form here What we will do in this tutorial? 1. Will know what is JSON data? 2. How to get JSON data returned from a method in C#? 3. How to use them in AngularJs or in Javascript? First start with  what is JSON data? As per Json.org it is Javascript Object Notation which is very lightweight and easy to use for machine and us also. For more details visit : http://json.org/ How to get JSON data returned from a method in C#? So yo can see video here and get to know how it actually works. Steps are as:  Take a empty MVC project and name it what ever you want.  Create a new model StudentDetails (or what ever you want you are free to do so)  Take a controller and it will be good to take Default for learning purpose  Create A JsonResult (Represents a class that is used to send JSON-formatted content to the response.) Type method as mentioned in Video  Create instance of model and assign value to its pr