An ASP.NET MVC Website Using AngularJS and Running on Azure Cloud Platform

I created Amazon Filler Items Searching website in last month. I used multiple technologies such as ASP.NET MVC 5, C#, .NET Framework 4.6, Async Task, Ajax, jQuery, Bootstrap etc. All these technologies are popular in current .NET applications development. Actually, Amazon Filler Searching website is a real project because we load formal commercial Amazon web services. You can use it for your real purchasing on Amazon.

However, in current web technologies, there is another hot name: AngularJS. What is AngularJS ? Please check AngularJS official website, this blog is not a place for introducing AngularJS content detailly, but we can simply to say: You might know jQuery, if you think jQuery is a JavaScript library, then please know AngularJS is a JavaScript framework for web application.

Continue reading “An ASP.NET MVC Website Using AngularJS and Running on Azure Cloud Platform”

AngularJS Syntax of $http.post in Different Versions

The http post action in AngularJS versions is designed with different syntaxes:

We normally use or see lots of online source code as $http…post…success(function ())…error(function()), but it is the syntax in AngularJS v1.3.20, The most recent AngularJS version might be v1.5.8x, and we could find many syntax changing in new versions.

Continue reading “AngularJS Syntax of $http.post in Different Versions”

The Amazon Filler Items Searching Website is Upgraded

I released a simple ASP.NET MVC website using Amazon service 2 days ago. I might call it MyFiller project version 1. In the 1st version, I actually have not finished all features which I wanted. So in past 2 days, I modified something on it. Now I can call it version 2.

Continue reading “The Amazon Filler Items Searching Website is Upgraded”

A Simple ASP.NET MVC Amazon Filler Items Searching Website

Update: I have released the version 2.  After you read the content below, please also read the new version information. Thanks!

As a practice, and replying for a friend’s request. I just wrote a simple Amazon Filler Item Finding website in this weekend. I put it on Microsoft Azure platform for the demo now.

It is a single web page website currently, but the background it that I used ASP.NET MVC 5, C#, .NET Framework 4.6, Async Task, Ajax, jQuery, Bootstrap etc. on this simple website. It is a single page but there were multiple technologies on it. I will add more feature on it if I get more spare time.

Continue reading “A Simple ASP.NET MVC Amazon Filler Items Searching Website”

Ajax.BeginForm not work in ASP.NET MVC 4 and 4.5 ?

In newer versions of ASP.NET MVC such as 4 or 4.5, when you used Ajax.BeginForm like

@using (Ajax.BeginForm("Index", "MyController”,
                            new AjaxOptions()
                            {
                                UpdateTargetId = "chart",
                                InsertionMode = InsertionMode.Replace,
                                HttpMethod = "post",
                                OnSuccess = "loadChart",

                            }
                            ))
                        {
    <div>
        <input type="submit" value="Load Chart" />
    </div>
}

Continue reading “Ajax.BeginForm not work in ASP.NET MVC 4 and 4.5 ?”

How to Add 3rd Party or Custom JavaScript Files or Libraries in ASP.NET MVC 4+

If you wrote your own JavaScript or jQuery file, and it is not too big, for sure you can place it to any custom folder which you like, and drag it to your view or html file to use it.

But, how about you got big JavaScript or jQuery or other JavaScript library ? or , you have lots of external JavaScript files, you add them to your project and reference to them on each your view files ?

Continue reading “How to Add 3rd Party or Custom JavaScript Files or Libraries in ASP.NET MVC 4+”