Tag: c#

Introduction to .NET Core

What is .NET Core?

.NET Core is a general purpose development platform maintained by Microsoft and the .NET community on GitHub. It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.

The following characteristics best define .NET Core:

  • Flexible deployment: Can be included in your app or installed side-by-side user- or machine-wide.
  • Cross-platform: Runs on Windows, macOS and Linux; can be ported to other OSes. The supported Operating Systems (OS), CPUs and application scenarios will grow over time, provided by Microsoft, other companies, and individuals.
  • Command-line tools: All product scenarios can be exercised at the command-line.
  • Compatible: .NET Core is compatible with .NET Framework, Xamarin and Mono, via the .NET Standard Library.
  • Open source: The .NET Core platform is open source, using MIT an Apache 2 licenses. Documentation is licensed under CC-BY. .NET Core is a .NET Foundation project.
  • Supported by Microsoft: .NET Core is supported by Microsoft, per .NET Core Support

More on the Official .NET Core Documentation from Microsoft

Basically, Microsoft built a version of .NET to allow developers to write cross-platform and cloud-optimized applications.

First, .NET is cross-platform. It runs on Windows, macOS and Linux, which allows the developer to share and run the exact same code between machines running different operating systems, with no changes in code and minimum or no changes in the deveopment process.
(Watch out for OS specific APIs!)

Read more →

Slack Integration with an Azure WebApp, Azure SQL and real-time communication

enter image description here


I am a Microsoft Student Partner at the Microsoft Innovation Center from the “Politehnica” University of Bucharest.

Part of our responsibility is giving technical presentations to students about various technologies. We also have a lab at the University where we give the presentations and spend most of our time and where other students can come and work on their projects.

Up until in September, we used Facebook for almost all of our communication (I know, my feelings as well).

Read more →

Azure SQL + Entity Framework in a Console Application


Today, we are going to create an Azure SQL Database that we are going to use from a C# console application, using Entity Framework Code First approach.

Azure SQL vs SQL Server on a VM

Microsoft Azure offers two methods for using an SQL database:

  • Azure SQL Database – offered in a way that falls between Platform as a Service (PaaS) and Software as a Service (SaaS) – you develop your application using the built-in functionality and features of the database. You have services like logging, monitoring, scaling, geo-replication and you have the ability to pay-as-you-go.
  • SQL Server on a Virtual machine – Infrastructure as a Service (IaaS) – allows you to create an Azure VM with SQL Server installed and you are responsible for managing both the OS and the SQL Server.

Read more →