Tuesday 1 November 2016

How To Be Happy At Work

Very nice article By Mahesh Chand (C# Corner founder)


How To Be Happy At Work

ASP.NET MVC6 New Feature


ASP.NET MVC6 New Feature
  • Single Programming Model for ASP.NET MVC and ASP.NET Web API.
  • Optimized for Cloud Computing.
  • Supporting side by side deployment of runtime and framework along with application.
  • Out of the box support for dependency injection.
  • vNext is Open Source and supports running on multiple platforms including Linux and Mac.
  • New JSON-based project Extension.
  • In order to dynamically compile code, Roslyn compiler is used.

ASP.NET MVC5 New Feature

ASP.NET MVC5 New Feature
  • ASP.NET Identity for authentication and identity management. These days, modern applications are developed for broader range of clients such as web, mobile in mind. Also, users are actively using their social identities from various social channels like Facebook, you tube, twitter etc. ASP.NET Identity is a new Membership system to handle authentication and authorization for variety of clients as well as using user’s existing social identities.
  • Authentication Filters for authenticating user by custom or third-party authentication provider.
  • With the help of Filter overrides, we can now override filters on a method or controller.
  • Bootstrap replaced the default MVC template.

  • Attribute Routing is now integrated into MVC5. Basically, MVC Routing is an excellent way to create human friendly and Search Engine Optimized URLs. You can easily get understanding about Routing in ASP.NET MVC here. Attribute based routing enables us to define routes along with action method.

SOLID Design Principles



SOLID Design Principles

SRP: The Single Responsibility Principle: A class should have one, and only one, reason to change.
OCP: The Open Closed Principle: You should be able to extend a class's behavior, without modifying it.
LSP: The Liskov Substitution Principle:  Derived classes must be substitutable for their base classes.
ISP: The Interface Segregation Principle:  Make fine grained interfaces that are client specific.
DIP: The Dependency Inversion Principle: Depend on abstractions not on concrete implementations.