Giter Site home page Giter Site logo

20486d-developingaspnetmvcwebapplications's Introduction

20486D: Developing ASP.NET Core MVC Applications

What are we doing?

  • To support course 20486D: Developing ASP.NET Core MVC Applications, we will need to make frequent updates to the course content to keep it current with the Azure services used in the course. We are publishing the lab instructions and lab files on GitHub to allow for open contributions between the course authors and MCTs to keep the content current with changes in the Azure platform.

  • We hope that this brings a sense of collaboration to the labs like we've never had before - when Azure changes and you find it first during a live delivery, go ahead and make an enhancement right in the lab source. Help your fellow MCTs.

How should I use these files relative to the released MOC files?

  • The instructor handbook and PowerPoints are still going to be your primary source for teaching the course content.

  • These files on GitHub are designed to be used in conjunction with the student handbook, but are in GitHub as a central repository so MCTs and course authors can have a shared source for the latest lab files.

  • It will be recommended that for every delivery of 20486D, trainers check GitHub for any changes that may have been made to support the latest Azure services, and get the latest files for their delivery.

What about changes to the student handbook?

  • We will review the student handbook on a quarterly basis and update through the normal MOC release channels as needed.

How do I contribute?

  • Any MCT can submit a pull request to the code or content in the GitHub repro, Microsoft and the course author will triage and include content and lab code changes as needed.

  • You can submit bugs, changes, improvement and ideas. Find a new Azure feature before we have? Submit a new demo!

Notes

Classroom Materials

It is strongly recommended that MCTs and Partners access these materials and in turn, provide them separately to students. Pointing students directly to GitHub to access Lab steps as part of an ongoing class will require them to access yet another UI as part of the course, contributing to a confusing experience for the student. An explanation to the student regarding why they are receiving separate Lab instructions can highlight the nature of an always-changing cloud-based interface and platform. Microsoft Learning support for accessing files on GitHub and support for navigation of the GitHub site is limited to MCTs teaching this course only.

Course Release Timeline

This course is set to be released on March 15th 2019.

20486d-developingaspnetmvcwebapplications's People

Contributors

1redone avatar amiradler avatar bartr96 avatar barucht avatar bckelly avatar dependabot[bot] avatar dolevs9 avatar dolevshaoul avatar idaml avatar idamleibovitch avatar jamesewelch avatar mariabalagyozianmoc avatar mashakandler avatar mashascrnz avatar microsmith avatar rramoscabral avatar sybaris avatar teeyehyhin avatar vinayapposite avatar vishakhakulkarni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

20486d-developingaspnetmvcwebapplications's Issues

LOD Module 2 Missing setup components

Not sure if you are in charge of LOD setup here as well as the instructions committed here.

In Labs on Demand, Module 2, Task 2: Plan the photo model class:

Starting in step 21, it has you create a WPF app. But in Visual Studio 2019 (which is included in the build) the install does not have Windows Desktop apps selected so it doesn't even show up as an option. Note: Visual Studio 2017 does have it available. They should be matched.

Starting in step 27, it has you create a new Class diagram, but Class diagram is not installed in either 2017 OR 2019 and the steps to add it are not obvious. This causes a massive delay that renders this lab unfruitful for most students to get anything of substance out of the work.

I've never been fond of this lab, but any improvements or changes to it should make it easier, not harder to get in and get it done.

Thanks.

Contact page not found in begin folder

Hi

Trying Mod01, Exercice 1 Task1, Step 3 : "In the Microsoft Edge window, view the Contact page."
I do not have contact page.
In Task 2 - Step 2, you ask about "Contact.cshtml page"
I have this page in "01_ActorsRazorPages_end", but not in "01_ActorsRazorPages_begin", normal ?

Regards
Sybaris

Lab 07 Task 5 Missing instruction to update CupcakeController HttpPost Edit action - Solved

Lab 07 Task 5 runs through adding the CaloricValue field but doesn't specify that an update to CupcakeController.cs is required.
If run as-is you can edit the CaloricValue on the Edit Details screen but it is not saved, nor written back to the database.
Needs the indicated line below (c => c.CaloricValue) adding into the CupcakeController.cs Edit action.

    [HttpPost, ActionName("Edit")]
    public async Task<IActionResult> EditPost(int id)
    {
        var cupcakeToUpdate = _repository.GetCupcakeById(id);
        bool isUpdated = await TryUpdateModelAsync<Cupcake>(
                                 cupcakeToUpdate,
                                 "",
                                 c => c.BakeryId,
                                 c => c.CupcakeType,
                                 c => c.Description,
                                 c => c.GlutenFree,
                                 c => c.Price,
                                 c => c.CaloricValue          //not in instructions but required to allow CaloricValue edits to be saved
                                 );

Wrong Project

Mod 11 Ex3 Task 1 Step 3 in the LAK implies that the new controller should go in the Library project, not theCrossSiteRequestForgeryAttack folder

Corresponding courseware

Can anyone let me know where I am supposed to find the corresponding courseware to 20486D as a MCT? The link in the read me file is pointing to 20486C which is a completely different material. In the Microsoft Learning Download Center for MCTs I can also only find 20486C. So, what is the strategy to teach this material here?

Should 20486D be using VS 2017 or 2019?

The following is not an issue with these GitHub labs, but how LearnOnDemand has partially modified these lab steps in their hosted labs.

The 20486D course only mentions VS 2017. The LearnOnDemand labs use these GitHub lab instructions, but has VS 2019 installed and VS 2019 in the lab instructions. "1. Start Visual Studio 2019." All of the File, New, Project steps have changed in VS 2019 and do not match the GitHub or LOD steps.

VS 2017 is also installed in the LOD labs (but has to be searched for), so the labs can be completed by ignoring the VS 2019 references.

Wrong Method

Mod 11 Exercise 3 Task 3 Step 2 should be registerPost not Register.

Sqlite database exception with Asp.Net core 3.0 Preview

Module 7 (EntityFrameworkExample). I have been facing issue with Sqlite database connection. It does not seem working with VS2019 Asp.Net core 3.0 Preview. It works fine with Asp.Net core 2.2.

App throw an exception:-
SqliteException: SQLite Error 14: 'unable to open database file'.

How do I make it working fine with Asp.Net core 3.0?

Thanks!

Gulp task runner

Module 9

Lesson 2

I was trying to run the module and I found some inconsistencies that resulted to failure of execution.

Below you can find my solution to the problem

change package.json to this

{
  "version": "1.0.0",
  "name": "asp.net",
  "private": true,
  "devDependencies": {
    "gulp": "4.0.2",
    "gulp-sass": "5.1.0",
    "lodash": "4.17.5",
    "hoek": "4.2.1",
    "sass": "1.51.0"
  }
}

and

gulpfile.js to this

/// <binding AfterBuild='sass' ProjectOpened='watch' />
var gulp = require('gulp');
const sass = require('gulp-sass')(require('sass'));


gulp.task("sass", function () {
    return gulp.src('Styles/main.scss')
        .pipe(sass())
        .pipe(gulp.dest('wwwroot/css'));
});
gulp.task("watch", function() {
    gulp.watch('./**/*.scss', gulp.series('sass'));
});
 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.