Skip to main content

Introduction to ASP .NET Core

Hi everyone, welcome to the Introductory post of ASP .Net Core.
In this article, we’ll learn about some ASP .Net Core and the required development environment for web apps.

What is ASP .NET Core?


Well if you’re still not aware of .Net Core then visit my previous post here.
So basically ASP .NET Core is a .Net Core based high-performance framework to develop Web Apps. It provides a robust and smooth backend for your Dynamic Web sites.

Why should I use it?

Features of ASP .NET Core:
  1. Cross-Platform, means can be run on Windows, Linux & Mac
  2. Supports Razor Pages to embedded C# code in the front end
  3. Support for various popular Front End Frameworks
  4. Ready to be deployed on the Cloud, due to a well- defined configuration system
  5. Supports the below Hosts:
    1. Kestrel
    2. IIS
    3. sys
    4. Nginx
    5. Apache
    6. Docker
  6. Highly developed community for support
  7. And Yes, It’s a Microsoft’s product, so the Security comes alongside of it.😃
According to Microsoft, the difference between ASP .Net Core and ASP .Net Framework, is illustrated below:
 
ASP.NET Core ASP.NET 4.x
Build for Windows, macOS, or Linux Build for Windows
Razor Pages is the recommended approach to create a Web UI as of ASP.NET Core 2.x. See also MVC, Web API, and SignalR. Use Web Forms, SignalR, MVC, Web API, WebHooks, or Web Pages
Multiple versions per machine One version per machine
Develop with Visual Studio, Visual Studio for Mac, or Visual Studio Code using C# or F# Develop with Visual Studio using C#, VB, or F#
Higher performance than ASP.NET 4.x Good performance
Use .NET Core runtime Use .NET Framework runtime

How to set up the development Environment

Though there are various IDE and Text Editors, only a few of them are efficient. And I personally would recommend the below IDE and Text Editors for the Development:
  1. (Highly Recommended for beginners)Text Editor- Visual Studio Code

    1. After the installation, you can follow this instruction for the installation of ASP .NET Core SDK
  2. IDE- Visual Studio 20XX (Currently the latest version is 2019) [Later on to speed up creation and testing and various other processes], though Visual Studio IDE will require a significantly higher amount of Disk space for the Development.

    For the Visual Studio IDE, you don’t need a separate install for .Net SDK, as it comes by default while installing the workload “ASP .NET and Web Development”

Comments

Popular posts from this blog

Post-Event Resources- Ai Gaming with Microsoft Azure Heya  Folks hope you enjoyed the Event, do let us know in the comment section about your experience. As said, Here are the Post Event Resources for your continual Learning... Basic Concept of Ai (Theory) AI in Video Games: Toward a More Intelligent Game What is an API Open-Ai 5 Article Microsoft Cognitive- Getting started with Azure Cognitive Services Bundled Playlist on Youtube Microsoft Cognitive Vision Service- Try for Free online Some Videos by Siraj:  OpenAI Five vs Dota 2 Explained How to Install OpenAI's Universe and Make a Game Bot    How to Make an Amazing Video Game Bot Easily Hope you find the Resources resources... For folks interested in Microsoft Azure ML, Click Here

Creating a URL Shortener Deplyment on Azure (NodeJS) part-2

For reference to the previous post, please refer to this link : Connecting-to-our-Database Now let's head to the package that we added config in the npm install command, what it does is that it will look for default.json the file inside config (folder) which we created earlier that will consist of the global variables for our project. Now let's open that default.json file and place the below snippet in it: { "mongoURI": "<ConnectionStringHere>" } We'll replace the Connection String from the cluster's string from our Atlas Account (if you still don't have an account, click here to create one) After Logging in to the Atlas, create a free Cluster and add a database user in it Now use the below code in the db.js the file inside the config (folder): const mongoose = require('mongoose'); const config = require('config'); // Grab the Connection string URL from the default.json file const db = confi...

Machine Learning with Microsoft Azure ML Studio

Event- Machine Learning with Microsoft Azure ML Studio Event Date: October 30, 2019 Event Venue: College of Vocational Studies, Triveni, J Pocket, Phase II, Sheikh Sarai, New Delhi, Delhi 110017 Requirements: Laptop Optional but recommended: Internet Connection (may be Mobile- Hotspot or WiFi- Dongle) To register, Click here FREE Subway Meal to first 100 Registered Students...
Counter Widget