Today, I want to walk-through the steps I used to deploy ASP.NET Core website application to Ubuntu Server. ASP.NET Core supports several Linux distributions, I am using Ubuntu Server.
From a quick internet search I found 3 decent blog posts:
- decatechlabs.com article
- garywoodfine.com article
- blog.bobbyallen.me post
There already are many articles which talk about how to set up your development environment for .NET Core but this post starts, where they end. It’s about getting production ready.
These are to-the-point & well written. But, either these posts are more than a year old, or they are for setting up your development environment, not for production deployment. You need to install .NET Core run-time, not the .NET Core SDK (which also includes run-time). You can download it from: Continue reading “Ubuntu: deploy .NET Core app”
Many people prefer to bind an enum to a dropdown in their WinForms application. In the cases where we can not bring the values from backend/database, it makes sense to use enum as opposed to hard-coding values over and over again. Enumerations support a practice where a group of related constants may be created which later be viewed as string or integer values.
Before we see how could this be achieved in Windows Forms Application ( WinForms App ), ASP.NET WebForms, ASP.NET MVC ( even easier in MVC 5 ! ) as well as ASP.NET Web API, let’s talk about : ‘Why ?’
Why using Enum is preferred if combobox is not being flourished from DB ? Well, In addition to re-usability, there are some clear advantages :
Continue reading “Wanna bind an enum to Combobox / Dropdown ?”
I am going to share all the code snippets that I have. At the moment, this page is being updated, every, single, day. You can download most of the archives from here, at once.
Most posts in this section would be describing Mid to advanced level of features of C#, mainly as
a console application [View
Most posts in this section would be describing Mid to advanced level of features of ASP.NET / C# ,
mainly as simple web projects [View
Mostly in this section would be describing features of LINQ, mainly as a C# console application [View
Mostly in this section would be describing features of in-demand tools & libraries like TFS, twitter, facebook
, using C# mainly [View
This section would be talking about ASP.NET AJAX Controls in, code snippets.
Most posts in this section would be describing Windows Phone, Applications