Posts filed under ‘.NET’

Using Multiple Database Types in an ASP.NET Core App

Sometimes, you might want to use one type of database, like MS SQL Server LocalDB, for development and a different type, like MySQL, on a production server. I’ll walk you through writing the code to use different database providers for Entity Framework (EF) depending on your environment: development or production. (more…)

December 4, 2019 at 2:53 pm Leave a comment

Hosting Multiple ASP.NET Core Sub-Sites on a Single Site Hosting Account

If you have a Windows Server, shared hosting account that only provides you with one web site, you are not really stuck with just having one site. In most cases, you can add additional sites by putting them in sub-folders (aka sub-directories) of the main site. For example, SmarterASP.NET has a $2.95 a month plan that gives you only one web site. But you aren’t actually limited to having just one web site since you can add any number of additional ASP.NET or ASP.NET Core web applications in sub-folders. (more…)

December 4, 2019 at 9:19 am Leave a comment

Publishing an ASP.NET Core Web App to a Low-cost Windows Hosting Service

Introduction

You’re developing an awesome ASP.NET Core app and now you need to give it a home on the internet. If you expect your app to experience light or medium traffic1, you can use an inexpensive shared Windows IIS hosting provider like SmarterASP.NET. Of course, you could publish your site to a low cost Linux VPS, like Linode, but that is going to cost a bit more and configuring the server will be quite a bit more work. (more…)

February 18, 2019 at 5:05 pm 3 comments

ASP.NET Core Razor Pages – Part 1

Introduction to Razor Pages

ASP.NET Core Razor Pages provide web developers with a way to create simple web applications (or web sites) using HTML, CSS, JavaScript, C# and the .NET library, but without the added complexity of the more powerful ASP.NET MVC framework. If you’ve used ASP.NET Web Forms, think of Razor Pages as an alternative that lets you just use standard HTML with helper code instead of dragging and dropping controls onto forms. (more…)

September 30, 2017 at 3:10 pm Leave a comment

Xamarin Android course

Xamarin Certified

Certified in 2014

Free Guest Access!
I’ve added free guest access to the first two weeks of my course here: CS235AM Moodle Course. You can log in using the “Guest” button without being enrolled as a student at the college. If you like what you see, you can enroll as a student at Lane Community College, then contact me so I can clear you to register for CRN 33368. The class starts January 8, 2018, but you can register later after cheking out the first week or two.

(more…)

September 9, 2014 at 8:39 pm 1 comment

.NET Remoting with Events in VB 2005 and .NET 2.0

I learned how to add events to a remote client by studying the “Chatter” remoting example in .NET Remoting and Event Handling in VB .NET, by Paul Kimmell. I will not attempt to explain the entire “Chatter” code example, since a good explanation is already given in Kimmell’s article, but I do want to point out a few important aspects that weren’t clear to me at first. (more…)

September 5, 2007 at 6:31 pm 1 comment

More on Delegates and Events in VB 2005

In the .NET 2.0 Framework, with Visual Basic 2005, there are a number of ways to define and use delegates, and even more ways to define and use events . This post summarizes these differences. (more…)

August 31, 2007 at 6:21 pm Leave a comment

Older Posts


Bird’s Bits

Computers, software & the Internet

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 40 other followers