Having problem with Pre-flight CORS request with your Angular 2 App and Web API 2?

There are many solutions posted regarding Pre-Flight CORS error at the client application when accessing your ASP.Net Web API 2 server application.  The problem is caused by CORS security implementation at the browser level, the solution is very simple though, just enable the CORS response at the server application, in our case, we should enable… Read More Having problem with Pre-flight CORS request with your Angular 2 App and Web API 2?

Hosting Angular 2 in Windows Azure Error “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

You will definitely encounter an error “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.” when your Angular 2 application is hosted in Windows Azure Web App Service.  This error happens when the URL is feed directly by the user in the browser URL address or if you use window.location.replace… Read More Hosting Angular 2 in Windows Azure Error “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

Part 2: Angular 2 + MVC ASP.NET using Visual Studio Code.

Now that our ASP.NET Visual Studio Code project is wired with Angular 2 and Typescript (see previous post), its time to write our cool “Hello World!” Angular 2 code. For me, in order for you to write a simple SPA application using Angular 2, you just need the following: (very simple isn’t it! easy :)) HTML… Read More Part 2: Angular 2 + MVC ASP.NET using Visual Studio Code.

How to connect your ASP.NET MVC 5 Project to an external SQL Server using Visual Studio Code?

Connecting your new ASP.NET MVC 5 Project using Visual Studio Code is very simple.  First and foremost you must create your project by following my previous post. Then modify the Startup.cs class file.  There are two modifications, one is the constructor and the other one is the ConfigureServices method: Constructor modification – Basically what we did was to… Read More How to connect your ASP.NET MVC 5 Project to an external SQL Server using Visual Studio Code?

How to setup an ASP.NET MVC 5 with Entity Framework and Membership using Visual Studio Code?

This is my first post for this year, it is a pretty delayed update (ごめんなさい), been busy (忙しい), but I can’t wait to share to you guys one of the coolest feature of the new ASP.NET.  The ability to run ASP.NET on any operating system using Visual Studio Code, how cool is that!  Microsoft totally overhauled the… Read More How to setup an ASP.NET MVC 5 with Entity Framework and Membership using Visual Studio Code?

How to create an ASP.Net MVC 5 site using bootstrap free templates?

Here are the steps in making a beautiful bootstrap site using ASP.NET MVC 5. 1. Download a free template or you can buy a premium template if you want.  For our example, we will be using the free Grayscale template of StartBootstrap.  After downloading, you should get the following files: 2. Open Visual Studio 2013 and create an… Read More How to create an ASP.Net MVC 5 site using bootstrap free templates?

How to publish your Visual Studio 2013 project to GITHUB?

Three simple steps in publishing your Visual Studio 2013 project to GITHUB repository. STEP 1: Create Repository Create a GITHUB repository, in our example below, the name of our repository is UploadSymbols, which is also the name of our Visual Studio project.   Take note of the repository link after the it has been created, you need this during publishing. STEP 2: Add… Read More How to publish your Visual Studio 2013 project to GITHUB?