Giter Club home page Giter Club logo

datingapp30's People

Contributors

trycatchlearn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datingapp30's Issues

Problem compiling after adding Ngx-Gallery

Following your instruction here:

'npm install ngx-gallery --save'

add NgxGalleryModule to 'app.module.ts'

wire up compenent.ts/html

'ng serve' shows the following

ERROR in node_modules/ngx-gallery/ngx-gallery-helper.service.d.ts:1:22 - error TS2724: Module '"../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?

1 import { ElementRef, Renderer } from '@angular/core';
                       ~~~~~~~~

  node_modules/@angular/core/core.d.ts:5701:31
    5701 export declare abstract class Renderer2 {
                                       ~~~~~~~~~
    'Renderer2' is declared here.
node_modules/ngx-gallery/ngx-gallery-preview.component.d.ts:1:89 - error TS2724: Module '"../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?

1 import { ChangeDetectorRef, EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef, Renderer } from '@angular/core';
                                                                                          ~~~~~~~~

  node_modules/@angular/core/core.d.ts:5701:31
    5701 export declare abstract class Renderer2 {
                                       ~~~~~~~~~
    'Renderer2' is declared here.

Null when FindByNameAsync, it needs NormalizedUserName mapped

     CreateMap<MemberModel, AppUser>()
            .ForMember(m => m.NormalizedUserName, opt => {
                opt.MapFrom(c => c.Username.ToUpper());
            });

This is needed because when editing roles:

var user = await _userManager.FindByNameAsync(username); <- its null

This will break since usermanager looks internally for the normalized username. At least for me, but if others encounter user null is because of this problem.

MySQL Migration Error

Hello Sir,

Need your help.

I'm got error when run this application after downloaded from this repository. I'm try to migrate the database to mySQL.
Below is the error i got.

fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
Failed executing DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
ALTER TABLE Users ADD Created TEXT NOT NULL DEFAULT '0001-01-01 00:00:00.000000';
fail: DatingApp.API.Program[0]
An error occured during migration
MySql.Data.MySqlClient.MySqlException (0x80004005): BLOB, TEXT, GEOMETRY or JSON column 'Created' can't have a default value
---> MySql.Data.MySqlClient.MySqlException (0x80004005): BLOB, TEXT, GEOMETRY or JSON column 'Created' can't have a default value at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\Core\ResultSet.cs:line 49

Thanks in advanced

Computed Hash and Password Hash Not Equal

In AuthRepository.cs VerifyPasswordHash() method computed hash and password hash not same when giving correct password.
how to solve this problem ?

using (var hmac = new System.Security.Cryptography.HMACSHA512(passwordSalt)) { var computedHash = hmac.ComputeHash(System.Text.Encoding.UTF8.GetBytes(password)); for(int i = 0; i < computedHash.Length; i++) { if(computedHash[i] != passwordHash[i]) return false; } return true; }

"Welcome User" disappeared after adding 'dropdownToggle'

Sir, I am following your class at Udemy,... I am at lesson 59.

After adding 'dropdownToggle' as shown below:

` <div *ngIf="loggedIn()" class="dropdown" dropdown>

Welcome {{authService.decodedToken?.unique_name | titlecase}}

  <div class="dropdown-menu">
    <a class="dropdown-item" href="#"><i class="fa fa-user"></i> Edit Profile</a>
    <div class="dropdown-divider"></div>
    <a class="dropdown-item" href="#"><i class="fa fa-sign-out"></i>Logout</a>
  </div>
</div>`

the 'Welcome User' is gone and I received error in Inspector as below
ERROR NullInjectorError: "R3InjectorError(AppModule)[AnimationBuilder -> AnimationBuilder -> AnimationBuilder]:
NullInjectorError: No provider for AnimationBuilder!"
Angular 8
BsDropdownDirective_Factory ngx-bootstrap-dropdown.js:543
Angular 4
NavComponent_div_17_Template nav.component.html:20
Angular 9
NavComponent_Template nav.component.html:20
Angular 28
core.js:5882:19
Angular 22

I can't go forward with the lesson... Appreciate it for any help!

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.