How do you implement Bootstrap on Angular 4

Add the below highlighted links in index.html file on Angular 4 <!doctype html> <html> <head> <metacharset=”utf-8″> <title>Your Entry point HTML file on Angular 4</title> <basehref=”/”> <metaname=”viewport”content=”width=device-width, initial-scale=1″> <linkrel=”icon”type=”image/x-icon”href=”favicon.ico”> <!– Latest compiled and minified CSS –> <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css” integrity=”sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u” crossorigin=”anonymous”> </head> <body> <app-root>Loading…</app-root> <scriptsrc=”http://code.jquery.com/jquery-3.2.1.min.js”integrity=”sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=”crossorigin=”anonymous”></script> <!–… Read More

How do you enable CORS(Cross Origin Resource Sharing ) on ASP.NET Core Web API

Error Description:- XMLHttpRequest cannot load http://localhost:50913/api/values. Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:4200′ is therefore not allowed access. Use Case: Posting the data from Angular 4 form  http://localhost:4200  to ASP.NET Core Web… Read More