custom asp.net mvc Registration Form with multiple models | checkboxes , radiobuttons | hindi
.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,...
angular 4 http post services using web api example
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...
jquery post example using asp.net web api 2 with cross origin
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 controller with entity framework, please...
installation of bootstrap 4 in angular 4 | without CDN
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": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css", "styles.scss" ]...