Alfie Mellor

Alfie Mellor


Learn Programming with Visual Basic .Net (VB.Net)

In this tutorial, you'll learn programming with Visual Basic .Net. With Visual Basic .NET, you can create solutions that run on Microsoft Windows. 

By the time you finish this course, you have likely already felt the need or desire to create such programs. You will be identified with the functions of Visual Basic, even if you have not written a computer program before.

What you’ll learn

  •        With Visual Basic .NET, you can create solutions that run on Microsoft Windows. By the time you finish this course, you have likely already felt the need or desire to create such programs. You will be identified with the functions of Visual Basic, even if you have not written a computer program before.

Are there any course requirements or prerequisites?

  •        Good background of Basic concept in Visual basic .Net

Who this course is for:

  •        Student with passion to programming languages

#visualbasic #dotnet #programming 

What is GEEK

Buddha Community

Learn Programming with Visual Basic .Net (VB.Net)
Einar  Hintz

Einar Hintz


jQuery Ajax CRUD in ASP.NET Core MVC with Modal Popup

In this article, we’ll discuss how to use jQuery Ajax for ASP.NET Core MVC CRUD Operations using Bootstrap Modal. With jQuery Ajax, we can make HTTP request to controller action methods without reloading the entire page, like a single page application.

To demonstrate CRUD operations – insert, update, delete and retrieve, the project will be dealing with details of a normal bank transaction. GitHub repository for this demo project :

Sub-topics discussed :

  • Form design for insert and update operation.
  • Display forms in modal popup dialog.
  • Form post using jQuery Ajax.
  • Implement MVC CRUD operations with jQuery Ajax.
  • Loading spinner in .NET Core MVC.
  • Prevent direct access to MVC action method.

Create ASP.NET Core MVC Project

In Visual Studio 2019, Go to File > New > Project (Ctrl + Shift + N).

From new project window, Select Asp.Net Core Web Application_._

Image showing how to create ASP.NET Core Web API project in Visual Studio.

Once you provide the project name and location. Select Web Application(Model-View-Controller) and uncheck HTTPS Configuration. Above steps will create a brand new ASP.NET Core MVC project.

Showing project template selection for .NET Core MVC.

Setup a Database

Let’s create a database for this application using Entity Framework Core. For that we’ve to install corresponding NuGet Packages. Right click on project from solution explorer, select Manage NuGet Packages_,_ From browse tab, install following 3 packages.

Showing list of NuGet Packages for Entity Framework Core

Now let’s define DB model class file – /Models/TransactionModel.cs.

public class TransactionModel
    public int TransactionId { get; set; }

    [Column(TypeName ="nvarchar(12)")]
    [DisplayName("Account Number")]
    [Required(ErrorMessage ="This Field is required.")]
    [MaxLength(12,ErrorMessage ="Maximum 12 characters only")]
    public string AccountNumber { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Beneficiary Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BeneficiaryName { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Bank Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BankName { get; set; }

    [Column(TypeName ="nvarchar(11)")]
    [DisplayName("SWIFT Code")]
    [Required(ErrorMessage = "This Field is required.")]
    public string SWIFTCode { get; set; }

    [Required(ErrorMessage = "This Field is required.")]
    public int Amount { get; set; }

    [DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
    public DateTime Date { get; set; }


Here we’ve defined model properties for the transaction with proper validation. Now let’s define  DbContextclass for EF Core. core article core #add loading spinner in core core crud without reloading core jquery ajax form core modal dialog core mvc crud using jquery ajax core mvc with jquery and ajax core popup window #bootstrap modal popup in core mvc. bootstrap modal popup in core #delete and viewall in core #jquery ajax - insert #jquery ajax form post #modal popup dialog in core #no direct access action method #update #validation in modal popup

Houston  Sipes

Houston Sipes


Visual Basic.NET: A Programming Language From Microsoft

In this article, I have shared essential information like Overview, Brief History, Features and Applications of VB.NET programming language.

Image for post

Image Source- Google Images


B.NET is a simple, modern, object-oriented computer programming language developed by Microsoft to combine the power of .NET Framework and the common language runtime with the productivity benefits that are the hallmark of Visual Basic.

Visual Basic .NET (VB.NET) is a multi-paradigm computer programming language implemented on the .NET Framework. Although it is an evolution of classic Visual Basic language, it is not backwards-compatible with VB6, and any code written in the old version does not compile under VB.NET.

Like all other .NET languages, VB.NET has complete support for object-oriented concepts. Everything in VB.NET is an object, including all of the primitive types (Short, Integer, Long, String, Boolean, etc.) and user-defined types, events, and even assemblies. All objects inherit from the base class Object.

VB.NET is implemented by Microsoft’s .NET framework. Therefore, it has full access to all the libraries in the .NET Framework. It’s also possible to run VB.NET programs on Mono, the open-source alternative to .NET, not only under Windows but even Linux or Mac OSX.

The following reasons make VB.NET a widely used professional language:-

1. Modern, general-purpose.

2. Object-oriented.

3. Component oriented.

4. Easy to learn.

5. Structured language.

6. It produces efficient programs.

7. It can be compiled on a variety of computer platforms.

8. Part of .NET Framework.

The .NET Framework

The .NET framework is a revolutionary platform that helps you to write the following types of applications:-

  • Windows applications
  • Web applications
  • Web services

The .NET framework applications are multi-platform applications. The framework has been designed in such a way that it can be used from any of the following languages: Visual Basic, C#C++, Jscript, and COBOL, etc.

All these languages can access the framework as well as communicate with each other.

Integrated Development Environment (IDE) For VB.NET

Microsoft provides the following development tools for VB.NET programming:-

  • Visual Studio 2010 (VS)
  • Visual Basic 2010 Express (VBE)
  • Visual Web Developer

The last two are free. Using these tools, you can write all kinds of VB.NET programs from simple command-line applications to more complex applications. Visual Basic Express and Visual Web Developer Express edition are trimmed down versions of Visual Studio and has the same look and feel.

Brief History:-

1. VB.NET is a multi-paradigm programming language developed by Microsoft on the .NET framework. It was launched in 2002 as a successor to the Visual Basic language. This was the first version of VB.NET (VB.NET 7.0) and it relied on .NET version 1.0.

2. In 2003, the second version of VB.NET, VB.NET 7.1, was released. This one relied on .NET version 1.1.

3. In 2005, VB.NET 8.0 was released. The .NET core portion was dropped from its name so as to distinguish it from the classical Visual Basic language. This version was named Visual Basic 2005.

4. In 2008, VB 9.0 was introduced. In 2010, Microsoft released VB 2010 (code 10.0).

5. In 2012, VB 2012 (code 11.0) was release together with .NET 4.5.

6. In 2015, VB 2015 (code 14.0) was released alongside Visual Studio 2015. The “?.” operator was introduced to do inline null checks.

7. In 2017, VB 2017 (code 15.0) was introduced alongside Visual Studio 2017. A better way of organizing source code in just a single action was introduced.

8. 2019 (VB 16.0) Visual Basic 2019 (code named VB “16.0”) was released with Visual Studio 2019. The first version of Visual Basic focused on .NET Core.

#programming-languages #microsoft #vb-dot-net #freshers #visual-basic-programming #visual studio code

Matteo  Renner

Matteo Renner


The Most Important Programming Lesson I Ever Learned

In the fall of 2012, I walked into my graduate advisor’s office and asked her which computer science class she recommended for me to enroll in. I explained that I was a complete novice in programming. She suggested Introduction to C Programming.

After attending a few lectures, I discover that the majority of the students I spoke to in this introductorycourse had some prior experience in programming.

Six weeks and 80 hours of work later, I dropped the course.

Enter spring semester of 2013. I enrolled in an easier computer science course, Introduction to Computer Programming via the Web. I breezed through the first quarter of the course, executing HTML and CSS with ease. Then, we started Javascript (JS). That feeling of constant anxiety and stress from my previous computer science course returned in full fashion. It was too late in the semester to drop the course, so I asked a friend for help.

#debugging #learning-to-code #learning-to-program #computer-science-basics #how-to-start-learning-to-code #python-programming #learn-javascript #learn-python #web-monetization

Is Python the Spiritual Successor to Visual Basic?

Two reasons that it is, and one reason that it isn’t

Love it or hate it, Visual Basic was an iconic programming language that changed the idea of who can write code. I say was, because even though Visual Basic is still alive, it’s slid into a sad twilight period of minimal innovation and gradual irrelevance. And while Microsoft is investing in several thriving languages (C#, TypeScript, and F## come to mind), it no longer seems interested in pursuing Bill Gates’ old dream of a programming language for non-specialists.

Back when VB was thriving, it was often singled out as a good starting place for beginners. Today, if you ask what programming language a novice should learn first, you’ll get a variety of answers, but Python will be near the top of the list. (Just ask Google!)

Python and classic VB have some superficial similarities and some key differences. But in one way, Python carries on a key part of the VB dream. It manages to be both an easy-to-pick-up generalist language for new programmers, and a specialist language for important niches like data science and AI. And that tells us two things. First, there’s something special about these languages. And second, there just might be something we can learn by comparing them.

#programming #learning-to-code #python #programming-languages #visual-basic #is python the spiritual successor to visual basic?

Shayne  Bayer

Shayne Bayer


ML.NET Model Builder is now a part of Visual Studio | .NET Blog

ML.NET is a cross-platform, machine learning framework for .NET developers. Model Builder is the UI tooling in Visual Studio that uses Automated Machine Learning (AutoML) to train and consume custom ML.NET models in your .NET apps. You can use ML.NET and Model Builder to create custom machine learning models without having prior machine learning experience and without leaving the .NET ecosystem. blog #visual studio model builder (.net) #progaming