Posts

Showing posts from November 20, 2018

Angular 5 using Web api Login authentication

1(How to add comments in Angular 7 Name of components are logincomponent= logincomponent.component.Html < div class = "row" > < input type = "text" [(ngModel)] = "uname" placeholder = "UserName" >< br > < input type = "text" [(ngModel)] = "pwd" placeholder = "password" >< br > < input type = "button" value = "login" (click) = "validateUser(uname,pwd)" > </ div > logincomponent.component.ts import { Component , OnInit } from '@angular/core' ; import { LoginServiceService } from '../login-service.service' ; @ Component ({ selector: 'app-logincomponent' , templateUrl: './logincomponent.component.html' , styleUrls: [ './logincomponent.component.css' ] }) export class LogincomponentComponent { constructor ( private loginservices :...

Popular posts from this blog

String Program in C#

CSV using XmlNode

Controller_Model. cs