The Entity Framework Code First approach allows us to create a model as a plain class and then the database gets created from the domain model or entity class. In the Code First approach, the database gets created from the classes. Some advantages of the Entity Framework Code First approach include (as stated in ScottContinue reading "How to create relationships between entities in the Entity Framework Code First Approach"
Getting started with TypeScript
TypeScript is superset of JavaScript created by Microsoft. TypeScript – according to its website – “lets you write JavaScript the way you really want to. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript”. Some features of TypeScript include: Support standard JavaScript Static typing Encapsulation using the classes and the modules Constructors,Continue reading "Getting started with TypeScript"
The Top 5 New Features in C#6.0
Visual Studio 2015 recently introduced a new version of C# named C#6.0. I would not say it has major features added like Extension Method or LINQ in C# 3.0 or Async/ Await in C# 5.0. However it has many features that simplify the syntaxes and improve the readability of the code. Major C# 6.0 featuresContinue reading "The Top 5 New Features in C#6.0"
How to work with the Ignite UI Chart in an AngularJS application
In this post we will learn how to work with the Ignite UI chart in an AngularJS application. Although I will use the ASP.NET Web API to pull data from the database, you can use REST service or a Web API created on any stack with the Ignite UI charts in your AngularJS application. ThisContinue reading "How to work with the Ignite UI Chart in an AngularJS application"
Thanks for attending workshop on AngularJS at Infragistics Day
You can view photos from of Infragistics Day here I will start with thanking Jaosn Beres and Infragistics for letting me do it. Can you see any one tired in below photo? This was the group photo taken after marathon 8 hrs coding done by 140+ developers at Infragistics Day. Yes these smiling faces sayContinue reading "Thanks for attending workshop on AngularJS at Infragistics Day"
How to Enable CORS in the ASP.NET Web API
Have you ever come across the following error: “Cross-origin Request Blocked. The same origin policy disallows reading the resource”. Us to! It turns out, we get this error due to lack of CORS support while sharing resources. When we try to consume the Web API from origin A in a web application residing in originContinue reading "How to Enable CORS in the ASP.NET Web API"
How to work with the Ignite UI Chart in an AngularJS application
In this post we will learn how to work with the Ignite UI chart in an AngularJS application. Although I will use the ASP.NET Web API to pull data from the database, you can use REST service or a Web API created on any stack with the Ignite UI charts in your AngularJS application. ThisContinue reading "How to work with the Ignite UI Chart in an AngularJS application"
Validating User Input on a Form in Angular JS
I have often seen entry level developers struggling with user input validation in AngularJS single page applications. In this post, I will give a quick but useful introduction of validations in AngularJS; consider this post as a base learning document from which you can do further learning. Let’s start with an example as shown inContinue reading "Validating User Input on a Form in Angular JS"
Creating an ASP.NET Web API using the Entity Framework Code First approach and the Repository pattern
In this article, we will learn how to create an ASP.NET Web API using the Repository pattern and the Entity Framework code first approach. Essentially you’ll learn how to: Create a core project which will contain entity and the repository interface; Create an Infrastructure project which will contain database operations code using the Entity FrameworkContinue reading "Creating an ASP.NET Web API using the Entity Framework Code First approach and the Repository pattern"
How to perform a CRUD operation on the jQuery igGrid with the ASP.NET Web API
In this post we will learn how to perform a CRUD operation on the igGrid using the ASP.NET Web API, including: Creating the ASP.NET Web API using the Entity Framework database first approach Performing a CRUD operation on the igGrid in a jQuery application At the end of the post we should able to createContinue reading "How to perform a CRUD operation on the jQuery igGrid with the ASP.NET Web API"