Skip to content
Debuxing

Category: Programming

All about the world of programming a rocket

Entity Framewok: Join Tables Example C#

November 2, 2017March 6, 2018 Emanuele BuccelliEntity-Framework

First things first: you should make good use of the navigation properties whenever possible. The Join Query tool could be your friend if you don’t have any navigation properties but you still need to join[…]

Continue reading …

.NET MVC: Entity Framework Database First Approach Example

October 23, 2017March 13, 2018 Emanuele BuccelliEntity-Framework

In this tutorial you are going to learn how to use the Entity Framework Database First approach, through an example, to build a website using ASP.NET MVC for the management of a Robot Dogs production.[…]

Continue reading …

.NET MVC: Entity Framework Code First Approach Example

October 18, 2017November 8, 2017 Emanuele BuccelliEntity-Framework

In this simple tutorial you are going to learn how to use the Entity Framework Code First approach, through an example, to build a website in ASP.NET MVC and create a database for the management[…]

Continue reading …

ASP.NET MVC – What is a ViewModel?

October 11, 2017October 16, 2017 Emanuele Buccellimvc

A ViewModel could be simplified as the data that we pass to the view. So, that data could have many objects (other classes) or simple entities. We can apply some validation rules to that data,[…]

Continue reading …

Model binding to a list of objects

October 10, 2017October 12, 2017 Emanuele Buccellimvc

You have created your edit or create page with your list of objects. It works nice, but when you submit your form the post method in the controllers shows.. Nothing. There is a simple way[…]

Continue reading …

Create a model for MongoDB using Mongoose

October 9, 2017October 11, 2017 Emanuele BuccelliMongoDB

Mongoose helps us build a model for MongoDB in a easy way. Create a folder called models in your root and add a new js file called post.js That’s the code: var mongoose = require(’mongoose’);[…]

Continue reading …

Install Mongoose for MongoDB

October 9, 2017 Emanuele BuccelliMongoDB

First of all, open a console and fly to your project directory. Run the command: npm install –save mongoose You should see something like The “–save” parameter tell npm to add mongoose to the list[…]

Continue reading …

Check node js version

October 9, 2017October 19, 2017 Emanuele BuccelliNodejs

Open a console and simply write: node -v

Continue reading …

Check npm version

October 8, 2017October 19, 2017 Emanuele Buccellinpm

Do you want to check which npm version you are currently using? Open your powerfull console and type: npm -v If you want to update your version, follow this link: Update npm

Continue reading …

Update npm package manager

October 8, 2017October 19, 2017 Emanuele Buccellinpm

Open a console and use this command to update your npm to the latest version: npm install npm@latest -g

Continue reading …

Posts navigation

Older posts
Newer posts
  • Debugging a Programmer’s Life
  • Remain in contact

Find and follow us on

FACEBOOK
FACEBOOK
Twitter
Visit Us
Follow

Recent Posts

  • SQL: Update Multiple Columns From Subquery
  • SQL: Update Multiple Columns To Null
  • SQL: Update Multiple Columns
  • SQL: Update From Another Table Example
  • Entity Framework: Left Join example C#

Categories

  • Angular
  • C#
  • Entity-Framework
  • Health
  • MongoDB
  • mvc
  • Nodejs
  • npm
  • Programming
  • SEO/Marketing
  • SQL
  • Visual Studio Code
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok