Posts filed under ‘.NET’

Using Multiple Database Types in an ASP.NET Core Web 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 1 comment

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

SubDomainButtonIf you have a Windows Server shared hosting account that only provides you with one web site, you are not really stuck with having just one site. In most cases, you can add additional sites by putting them in sub-folders (aka sub-directories) of the main site. (more…)

December 4, 2019 at 9:19 am 1 comment

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

You’re developing an awesome ASP.NET Core web app and 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 Server, IIS hosting provider like SmarterASP.NET. Of course, alternatively, you could publish your site to a low cost Linux VPS hosting service, like Linode, but that could cost a bit more and configuring the server will be quite a bit more work.

(more…)

February 18, 2019 at 5:05 pm 7 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

.NET Remoting: The Simplest Remoting Example

I just read chapter 10, .NET remoting, in Introducing Microsoft .NET 3rd Edition, 2003, by David S. Platt. His explanations are very clear and easy to read, but I had a little trouble compiling and running the sample code. Part of the problem is that the code was written for an earlier version of Visual Studio and the .NET library. I took notes as I upgraded and built this example and I thought I’d share them here. I built this example in Visual Basic 2005 Express SP1. I have upload this project into my Box.net folder on this blog. Even if you don’t have David Platt’s book you can probably get a good idea about how remoting works by looking at my VB2005 version of his example code, reading the introduction below,  and reading the on-line articles listed at the end of the introduction.

(more…)

August 24, 2007 at 10:18 pm 2 comments

Join me in studying for MCTS exam 70-536

I just got the MCTS Self-Paced Training Kit (Exam 70-536): .NET FRAMEWORK 2.0 Application Development  Foundation in the mail yesterday. I finished lesson 1 in chapter 1 and posted my notes and VB examples on this page: Types in the .NET Framework – Part 1: Value Types.

As I complete each lesson, I’ll add a link to my notes on this page: Exam 70-536: Application Development Foundation – Study Topics. Note that my lesson notes will be on pages, not posts. I’ll only post to let you know when I start  a new chapter.

I hope some of you will join me and add comments to the lesson pages. Whether you are studying for the MCTS or MCPD, it will be easier and more fun if we take the journey to certification together!

August 16, 2007 at 6:53 pm 5 comments

Events and Delegates in the .NET Framework

I spent the morning learning about events and delegates. I needed to learn these concepts for a VB2005 project that I’m working on. In addition, this is one of the topics that is supposedly covered in Exam 70-536. So, here’s what I learned: (more…)

August 10, 2007 at 7:50 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 41 other followers