A few days ago Microsoft announced the release of .NET Core 2.1, ASP.NET Core 2.1 and Entity Framework 2.1 here. I wrote a few similar articles about installing Core components, read them to get some greater perspective: Create a .NET Core 2 application on Linux with Visual Studio Code How to enable C# 7 in […]
Read More →Category: C# Blogs
How to install Entity Framework Core 2.1
I wrote this post about installing ASP.NET Core 2.1, plus these others which may be of interest: Create a .NET Core 2 application on Linux with Visual Studio Code How to enable C# 7 in Visual Studio 2017 How to install .NET Core 2.0 How to install .NET Standard 2.0 How to install ASP.NET Core […]
Read More →Beginning C# 7 Programming with Visual Studio 2017, co-author Benjamin Perkins
Beginning C# 7 Programming with Visual Studio 2017, co-author Benjamin Perkins The Beginning C# 7 Programming with Visual Studio 2017 book is now available, check it out here. I had again an opportunity to contribute some chapters to this book. What an awesome experience! There are lots of examples, experiences, discussions and reviews of the […]
Read More →How to connect to a database from an Azure Function
I created a simple Azure Function and now I want to connect it to a database. Check out these other articles as well. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure […]
Read More →How to create a Pie chart using ASP.Net and C#
Since .Net 4.0, we no longer need to download and install the Chart Control to get charting capabilities in ASP.Net, Window Forms or WPF. This is becuase the the Charting control is now part of .Net 4.0 itself. Although all you need to know about Charting in ASP.Net can be found here I thought I […]
Read More →Add an XML Schema file to Visual Studio
XML Schema files (.xsd) are files which provide data for IntelliSense and are often provided along with a 3rd party class library. In case you are not familiar with IntelliSense, it is a functionality that helps you develop or configure a system by providing a list of existing methods or properties which are asscoiated to […]
Read More →How to read from and write to an app.Config or web.Config using C#
There are a number of ways you can do this. In this example I will use the ConfigurationManager libraries that are part of the .Net Framework. This group of methods and properties are created specifically for this purpose. I am a firm believer that every action we want to take as a programmer needs to […]
Read More →How to set the minimum and maximum width or height of a column or row using WPF
The more I use WPF (Window Presentation Foundation) the more I like it and the more I see the similarity with coding HTML pages or ASP.NET pages. Microsoft has really done a good job at separating the presentation logic from the business logic with WPF. It is much more difficult to do in Windows Forms. […]
Read More →String vs. StringBuilder
A blog would not be complete without an article about the differences between appending or modifying a string using the String Class versus the StingBuilder class. See, strings are immutable, which means once they are created they cannot be changed. Any time you make a modification to a string, after is has been created you […]
Read More →Combining 2 Generic Lists into 1 with C#
I was writing a program that converted a List into a comma delimited string. A later requirement necessitated that I capture data from an additional source and add it to the original comma delimited string. In both cases the data was returned in a generic list, so I only needed to combine the 2 lists […]
Read More →