by Yogesh | Feb 27, 2018 | Asp .net MVC, Entity Framework Tutorial
.cshtml @model RegistrationForm.Models.Employee @{ ViewBag.Title = "Create"; } Create @using (Html.BeginForm()) { @Html.AntiForgeryToken() Employee @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.LabelFor(model => model.EmpName,...
by Yogesh | Feb 26, 2018 | Angular 4 Tutorial
http service example import { Injectable } from '@angular/core'; import { Http ,Response , Headers} from '@angular/http'; @Injectable() export class HttpserviceexService { constructor(public _http: Http) { } getdata() { // return...
by Yogesh | Feb 25, 2018 | Asp .net MVC, WebApi Tutorial
Install Microsoft.AspNet.WebApi.Cors using nuget package manager console Make Changes at webapi.config var enableCorsAttribute = new EnableCorsAttribute(“*”, “*”, “*”); config.EnableCors(enableCorsAttribute); Create web api 2...
by Yogesh | Feb 23, 2018 | Angular 4 Tutorial
For Bootstrap 3 installation npm install bootstrap –save For Bootstrap 4 installation npm install bootstrap@next –save Configure .angular-cli.json (Add reference of bootstrap css) “styles”: [...
by Yogesh | Feb 22, 2018 | angular material tutorial
Install Angular material and angular CDK – Provides more tools of angular material design Npm install –save @angular/material @angular/cdk To angular animation , we have to install angular animation module Npm install –save @angular/animations Add import {...