Category: Entity Framework

ASP.NET 5 and AngularJS

Stephen Walther has written multiple part blog series on building ASP.NET 5 (ASP.NET vNext) apps with AngularJS. In this series of blog posts, he shown how you can create a simple Movie app using ASP.NET 5, MVC 6, and AngularJS. Go ahead and read these interesting and informative articles which will add to your learning of ASP.NET 5 with AngularJS.

Following are the topic and link of each blog posts:  

You can download the code discussed in this blog post from GitHub:

https://github.com/StephenWalther/MovieAngularJSApp

Hope this will help !!!

Suppress Columns in Entity Framework Code First

I’m not a big fan of “Code First”. One issue with deriving table design from object model is that object model frequently includes properties that we don’t want to appear as columns in database. The most common example of this are read-only properties whose values are calculated internally from other properties in the object.
You can use the NotMapped Annotation to instruct Code-First to exclude a particular property.

public class Customer
{
public int CustomerID { set; get; }
public string FirstName { set; get; }
public string LastName{ set; get; }
[NotMapped]
public int Age { set; get; }
}

That’s it.
Hope this will help !!!

Using Entity Framework with an Existing Database: User Interface

Pre-existing databases can pose some difficulties for software developers using an ORM. To demonstrate ways of circumventing  them, Jon Smith builds an ASP.NET MVC application  with Entity Framework (EF) to provide a user interface to Microsoft’s AdventureWorks sample SQL database. He shares his design approach for displaying and updating this data with real examples from the test web application he built.

Read full article: https://www.simple-talk.com/content/article.aspx?article=2108

Hope this will help !!!
Jay Ganesh

Building Modern Web Apps with ASP.NET – A new day of free ASP.NET Training for 2014

These videos are featuring folks like Scott Hunter, Levi Broderick, Rowan Miller, Pranav Rastogi, Mads Kristensen, and Louis DeJardin. Actual developers that work on ASP.NET every day.

1) What’s New in Visual Studio 2013 for Web Developers – Learn about the latest features in Visual Studio 2013, including dozens of tips and tricks.

2) Upgrading Applications – Get a deep dive on how to upgrade your older applications to ASP.NET 4.5 and later.

3) ASP.NET Identity – Explore the new ASP.NET Identity system. Learn how to migrate your existing membership data to the new Identity system and how to integrate with other membership systems.

4) Web Essentials and the Client Side – Discover how to build modern client-side applications, more simply and quickly, with a host of new features, tips, and tricks in Web Essentials for Visual Studio.

5) Entity Framework – Have you been using Entity Framework for data access in your web app? In this advanced demo-heavy session, learn the latest features of Entity Framework 6 and get sneak previews of what’s coming in version 6.1.

6) The “Katana” Project – Hear the latest on “Project Katana,” the Microsoft implementation of Open Web Interface for .NET. It’s a glimpse of the future for cloud-optimizing your ASP.NET applications.

7) ASP.NET “Project Helios” – Discover “Project Helios,” a prototype representing the re-thinking of the core of ASP.NET. Take a look at the future of web development, with a modular, lightweight OWIN host that runs on Internet Information Services (IIS).

For more information, click here.

Jay Ganesh

 

ASP.NET N-Layered Applications By Imar Spaanjaars

In this new article series you’ll see how to design and build an N-Layered ASP.NET application using ASP.NET MVC 4, ASP.NET 4.5 Web Forms and a number of other up-to-date technologies such as Entity Framework 5 and WCF.

In this series, I’ll build a sample application to manage contact people called the ContactManager v4.5 application, similar to the demo application demonstrated in the previous article series. Over the next 10 articles I’ll dissect the sample application (that you can download at the end of each article, starting with Part 2) and show you how I designed and built it.

Part 1 – Introduction
Part 2 – Setting up the Solution in Visual Studio
Part 3 – Making your Projects Unit Testable
Part 4 – Implementing a Model
Part 5 – Implementing a Repository using Entity Framework Code First
Part 6 – Implementing an ASP.NET MVC 4 Frontend
Part 7 – Implementing a Web Forms 4.5 Frontend
Part 8 – Implementing a WCF 4.5 Frontend
Part 9 – Importing Data Using the API
Part 10 – Extensions, Tools and Wrapping Up

More info click here.

Hope this will help !!!

Jay Ganesh