Code Monkey home page Code Monkey logo

solutions-from-forums's Introduction

Code done wrong and how to fix it

This repository is dedicated to a developer just starting out with Visual Studio on how to write decent code. Many samples come from Karen's twenty plus years helping developers asking questions in online developer forums and by in some cases not responding but make note of these cases.

.NET Core

Currently there are console projects using both .NET Core 6 and .NET Core 7 and the .NET Core 7 projects are using NuGet packages for .NET Core 6.

Project types

Console and Windows Forms will be dominate project types as they are best to learn from. Why use Windows Forms when there are other project types like MAUI and WPF? Windows Forms when used are glorified console projects in that when performing work a developer can easily see their work and get a better understanding of events, delegates and asynchronous programming.

What about web projects? There will be web projects included from time to time when appropriate.

Working with databases

All work done with databases will be Microsoft SQL-Server

Accessing data

Majority of work will be done with Microsoft Entity Framework Core 6 and higher

Json

Many times json will be used either for a quick-n-dirty way to setup data for experimentation along with storing application settings in any project type from console to web.

NuGet packages

In most cases popular packages will be used along with packages created by Karen Payne.

Console hello world in color

GreetingsConsoleApp, a console project walks a novice developer through creating a colorful console app with a method to accept a person's name using a NuGet package Spectre.Console. Instructions are in HowToCreate.md.

NotesRazorApp and NotesFormApp

NotesRazorApp is a Razor Page project which provides tips on styling with Bootstrap 5 and working with EF Core 6. NotesFormApp project is for setting up a database for NotesRazorApp project.

See the following readme file.

solutions-from-forums's People

Contributors

karenpayneoregon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.