background preloader

ASP.NET MVC + tutaux

Facebook Twitter

Azure.microsoft. This post was co-authored by Nicole Berdy, Program Manager II, Azure IoT.

azure.microsoft

The Internet of Things (IoT) is providing new opportunities for businesses to improve operations, become more efficient at what they do, and create new revenue streams. We believe the IoT starts with your things, where your things are what matter most to your business. To help the customers get the most out of the IoT, Microsoft introduced the Azure IoT Suite and public preview of Azure IoT Hub last fall. On February 4, we announced the general availability of the Azure IoT Hub. This service provides capabilities for securely connecting, provisioning, updating and sending commands to devices. IoT Hub has some exciting new features in addition to the rich feature set debuted in public preview.

Bulk device identity import/export: Allows you to bulk import device identities into an IoT Hub’s device registry, or export the list of devices to import into another IoT Hub for failover. SQL Server Data Tools Preview in Visual Studio 2015. 10 things you should try on the leap day. It’s February 2016 and so those of us on the Gregorian calendar get to enjoy an extra day in the month!

10 things you should try on the leap day

What will you do in those 24 bonus hours? How about learning some new tools and technologies? Here are ten great suggestions—OK, eleven! It is a leap year, so it’s a leap list: Get your code hosted for free in Visual Studio Team Services: With all of these new projects to try out on leap day, make sure you’re putting them into source control on VS Team Services. Talking with Python (literally!) Check out the top 5 Visual Studio extensions: What’s your favorite Visual Studio extension? Build a Universal Windows app—quick and easy: Curious about diving into Universal Windows apps but never had the time or didn’t know where to start? Explore Azure Diagnostics Integration with Application Insights: What do you do when your Azure Cloud Services (web and worker roles) or Virtual Machines fail? Build an Azure App Service to record Raspberry Pi Sensor Data: Perhaps we saved the best for last? Data Factory Documentation.

New Data Factory monitoring and management UI now available Simplify how you monitor and manage your data pipelines with the new UI for Azure Data Factory.

Data Factory Documentation

Read more. Entity Framework Connections and Models. Creating a More Complex Data Model for an ASP.NET MVC Application. The Contoso University sample web application demonstrates how to create ASP.NET MVC 5 applications using the Entity Framework 6 Code First and Visual Studio 2013.

Creating a More Complex Data Model for an ASP.NET MVC Application

For information about the tutorial series, see the first tutorial in the series. In the previous tutorials you worked with a simple data model that was composed of three entities. In this tutorial you'll add more entities and relationships and you'll customize the data model by specifying formatting, validation, and database mapping rules. You'll see two ways to customize the data model: by adding attributes to entity classes and by adding code to the database context class. When you're finished, the entity classes will make up the completed data model that's shown in the following illustration: Customize the Data Model by Using Attributes In this section you'll see how to customize the data model by using attributes that specify formatting, validation, and database mapping rules.

The DataType Attribute The StringLengthAttribute. Entity Framework Code First to a New Database. This video and step-by-step walkthrough provide an introduction to Code First development targeting a new database.

Entity Framework Code First to a New Database

This scenario includes targeting a database that doesn’t exist and Code First will create, or an empty database that Code First will add new tables too. Code First allows you to define your model using C# or VB.Net classes. Your First ASP.NET 5 Web App Using Visual Studio — ASP.NET documentation. In this tutorial, you’ll create a simple web app using ASP.NET 5.

Your First ASP.NET 5 Web App Using Visual Studio — ASP.NET documentation

The app stores data in a SQL database using Entity Framework (EF) and uses ASP.NET MVC to support the basic CRUD operations (create, read, update, delete). Getting Started with Entity Framework 6 Code First using MVC 5. The Contoso University sample web application demonstrates how to create ASP.NET MVC 5 applications using the Entity Framework 6 and Visual Studio 2013.

Getting Started with Entity Framework 6 Code First using MVC 5

This tutorial uses the Code First workflow. For information about how to choose between Code First, Database First, and Model First, see Entity Framework Development Workflows. The sample application is a web site for a fictional Contoso University. It includes functionality such as student admission, course creation, and instructor assignments. This tutorial series explains how to build the Contoso University sample application.

A Visual Basic version translated by Mike Brind is available: MVC 5 with EF 6 in Visual Basic on the Mikesdotnetting site. Software versions used in the tutorial. Getting Started with ASP.NET MVC 5. This tutorial will teach you the basics of building an ASP.NET MVC 5 web app using Visual Studio 2013.

Getting Started with ASP.NET MVC 5

Download the completed project. This tutorial was written by Scott Guthrie (twitter@scottgu ), Scott Hanselman (twitter: @shanselman ), and Rick Anderson ( @RickAndMSFT )