ASP.NET MVC3 Vs MVC4 Vs MVC5 Vs MVC6

Microsoft has added exciting features in every new version of ASP.NET MVC that make developers more comfortable building scalable web applications easily. In this ASP.NET MVC tutorial, we will have a quick look into new and important features introduced in major versions of Microsoft ASP.NET MVC starting from MVC3 to MVC6.

Read full article – http://www.webdevelopmenthelp.net/2014/02/asp-net-mvc3-vs-mvc4-vs-mvc5.html

Hope this will help !!!!

CRUD operations using AngularJS and MVC 5 with Bootstrap

This article explain CRUD (Create,Read,Update,Delete) operations using AngularJS and Web API. It also explain usage of:

  • Bootstrap to beautify the UI with popup models.
  • AngularJS Services ($http) to communicate with API server.

Read full article by @mitechdev:
http://www.mitechdev.com/2016/06/crud-operations-using-angular-js-and-webapi.html

Hope this will help !!!

Bootstrap form validation in AngularJS

Using AngularJS with the Bootstrap CSS framework makes it trivially simple to implement form validation on your site. You just need to use the ngClass directive to apply the ‘has-error’ class when the input value is invalid.

Paul Yoder has written very good article which explain how to use Bootstrap form validation in right way to give good user experience.

Read Full – http://blog.yodersolutions.com/bootstrap-form-validation-done-right-in-angularjs/

Hope this will help !!!

 

Git commit deadlock – uncommitted change would be overwritten by merge

Problem:

When I was trying to Sync the changes after Commit using VS 2013 Git I got error message

“An error occurred. Detailed message: 1 uncommitted change would be
overwritten by merge”

and Pull action is cancelled.

So I tried to find out the solution for the error and found that:

This error comes when there are Untracked files that were not part of the local Commit, but are part of the remote Pull; the merge resolution cannot deal with this scenario.

Solution :

  1. View the Team Explorer > Changes dialogue.
  2. Verify that any Untracked files that actually reside in the server branch are to be included in your Commits; to do this, right-click and select Add. Alternatively, if you intend them to be overwritten, you can select Delete.
  3. Perform a Commit, and then a Pull, and perform any merge conflict resolution that is required.
  4. Perform a Push to update your Remote repository.

Hope this will help !!!

WCF Is Dead and Web API Is Dying – Long Live MVC 6 !!!

There are many reasons why WCF has lost its luster, but the bottom line is that WCF was written for a bygone era and the world has moved on. There are some narrow use cases where it still might make sense to use WCF, for example, message queuing applications where WCF provides a clean abstraction layer over MSMQ, or inter / intra process applications where using WCF with named pipes is a better choice than .NET Remoting. But for developing modern web services, WCF is as dead as a doornail.

Didn’t get the memo? Unfortunately, Microsoft is not in the habit of annoucing when they are no longer recommending a specific technology for new application development. Sometimes there’s a tweet, blog post or press release, as when Bob Muglia famously stated that Microsoft’s Silverlight strategy had “shifted,” but there hasn’t to my knowledge been word from Microsoft that WCF has been quietly deprecated.

One reason might be that countless web services have been built using WCF since its debut in 2007 with .NET 3.0 on Windows Vista, and other frameworks, such as WCF Data Services, WCF RIA Services, and self-hosted Web API’s, have been built on top of WCF. Also, if you need to interoperate with existing SOAP-based web services, you’re going to want to use WCF rather than handcrafted SOAP messages.

Read full article by Tony Sneed – Click Here.

In summary, you should avoid WCF like the plague if you want to develop REST-ful web services with libraries and tools that support modern development approaches and can be readily consumed by a variety of clients, including web and mobile applications.  However, you’re going to want to skip right over ASP.NET Web API and go straight to ASP.NET 5, so that you can build cross-platform web services that are entirely host-independent and can achieve economies of scale when deployed to the Cloud.

Hope this will help !!!