Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
/ Extensions Public archive

.NET Core and Standard Extension methods and Extra functionality

License

Notifications You must be signed in to change notification settings

goodtocode/Extensions

Repository files navigation

GoodToCode .NET Extensions

Extension Methods and Helpers

Features & Benefits

GoodToCode .NET Extension is a cross-platform common-library of .NET Core extension methods and extra classes. Built to support the GoodToCode Framework...an open-source, cross-platform, full-stack .NET solution that centralizes your business objects in one reusable solution.

Projects included in the GoodToCode Framework

GoodToCode.Extensions.Core - Cross-platform library of .NET Extensions specific to .NET Core, such as Web or Data Access extensions. Most functionality is in Extensions.Standard.

GoodToCode.Extensions.Standard - Cross-platform library of .NET Extensions specific to all of .NET (including .NET Core). Application/Data Access extensions are in Extensions.Core.

GoodToCode.Extensions.Shared - C# Shared Project that shares .cs files with .Core vs. .Full projects. Allows same C# classes to be used in .NET Core and .NET Framework simultaneously, without multi-targetting.

GoodToCode.Extras.Core - Cross-platform library of .NET "Extras" specific to .NET Core, such as Web or Data Access extensions. Most functionality is in Extensions.Standard.

GoodToCode.Extras.Standard - Cross-platform library of .NET "Extras" specific to all of .NET (including .NET Core). Application/Data Access extensions are in Extensions.Core.

GoodToCode.Extras.Shared - C# Shared Project that shares .cs files with .Core vs. .Full projects. Allows same C# classes to be used in .NET Core and .NET Framework simultaneously, without multi-targetting.


More information

Critical Next Steps

❶ Install .NET Core SDK [download]
❷ Update Visual Studio [download]
❸ Build solution to verify .NET Core


Developer Next Steps

❶ Right-click -> Set as Startup Project

❷ Press F5 to run debugger

❸ Click Search to lookup a customer

Frequently Asked Questions

What's the difference between Extensions and Extras

  1. GoodToCode.Extensions contains .NET extension methods only. No "new" classes exists.
  2. GoodToCode.Extras contains .NET-level classes, that look and feel like .NET but aren't from Microsoft.

Why the Shared projects?

  1. Shared projects allow sharing of .cs files with both .NET Core and .NET Framework
  2. Shared project links .cs files to other projects, without duplicating the code
  3. Allows multi-targetting of .NET Core and .NET Framework "Full", without altering the project files

Where is the DB connection string?

  1. Open \App_Data\ConnectionStrings.json
  2. Change DefaultConnection to match your DB

Where is the Web Service Url?

  1. Open \App_Data\AppSettings.json
  2. Change MyWebService to match your Url

How to read from my database?

  1. Open Framework.Database\ CustomerCode\ Views\ CustomerInfo.sql
  2. Change this view to join to your "Person" table
GoodToCode

22431 Antonio, Suite B160-843
Rancho Santa Margarita, CA 92688
+1 949.544.1900

goodtocode.com | @GoodToCode

About

.NET Core and Standard Extension methods and Extra functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published