Showing posts with label .Net Core. Show all posts
Showing posts with label .Net Core. Show all posts

Thursday, 14 March 2019

.Net Core

.NET Core is the updated and redesigned version of .NET Framework. It is a free and open-source software development framework developed by Microsoft and the community. .NET Core is a cross-platform framework and supports three distinct operating systems — Windows,  macOS, and Linux. The compatibility makes it easier for developers to build cross-platform applications, and port their existing applications from one platform to another. 

.Net Core

.NET Core provides a redesigned version of ASP.NET. Developers can now use ASP.NET Core to build both web and cloud applications. Web applications developed with ASP.NET Core can be hosted in a number of ways. Developers can deploy the ASP.NET Core applications directly in the cloud or self-host the application by creating their own hosting process. .NET Core is designed with features to simplify the development and deployment of a cloud-based application. Developers can use ASP.NET Core to build a variety of cloud-based applications rapidly. Also, they can publish the applications directly to the cloud by availing the cloud-ready configuration included in ASP.NET Core.

.NET Core compatible with Xamarin through the .NET Standard Library. Hence, developers can take advantage of Xamarin to write cross-platform mobile apps in C# with a shared code base and the same set of APIs. They can further use the tools provided by Xamarin to customize the mobile app for individual mobile platforms like iOS, Android and Windows Phone.

.NET Core is effective to enhance the performance and scalability of applications. It enables developers to enhance the performance of applications without deploying additional hardware or infrastructure. Also, it allows developers to build, test and deploy applications directly in the cloud. 

.NET Core does not support all the features and functionalities provided by the latest version of the .NET Framework. But still, .NET Core is compatible with .NET Framework through the .NET Standard Library. It can be used as a subset of the .NET Framework.  Hence, the developers can still run the applications developed with .NET Framework after upgrading to .NET Core. Hence, the developers can switch to .NET Core to enhance the performance and scalability of their applications without putting extra time and effort.  

A NuGet package manager is a free and open-source client tool designed for the Microsoft development platform in .Net Core, which provides the ability to produce and consume packages. Nuget have a huge library of packages and can be used in .Net Core for application development by developers. 

Sunday, 8 October 2017

MVC (Model, View and Controller)

In this post, I will explain MVC (Model, View and Controller).

MVC stands for Model, View and Controller. MVC separates an application into three components - Model, View and Controller.

Model: Model represents the shape of the data and business logic. It maintains the data of the application. Model objects retrieve and store model state in a database. Model is a data and business logic.

View: View is a user interface. View display data using the model to the user and also enables them to modify the data. View is a User Interface.

Controller: Controller handles the user request. Typically, the user interacts with View, which in-tern raises appropriate URL request, this request will be handled by a controller. The controller renders the appropriate view with the model data as a response. The controller is a request handler.

The following figure illustrates the interaction between Model, View and Controller.

Interaction between Model, View and Controller
Interaction between Model, View and Controller