Entity Framework – Model – Approach – Code First – Day 01

Background Without much in terms of conversation wanted to share the simplest files needed to put together an Entity Framework - Code First sample project.   Files Outline Source Code POCO Files friend.cs DBContextFiles dbContextFriend.cs Other Files app.cs Configuration Files app.config   In Depth Source Code POCO Files Friend.cs Class friend Property id name Annotation … Continue reading Entity Framework – Model – Approach – Code First – Day 01

.Net – Entity Framework – Error – “Error CS1070: The type name ‘TableAttribute’ could not be found. This type has been forwarded to assembly ‘System.ComponentModel.DataAnnotations’

Background A quick follow up to our last post on adding annotations to our plain old C# class ( POCO). Lineage .Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found Link   Error Error Text Error Image Remediation Outline Please be sure to add System.ComponentModel.DataAnnotations.dll to the … Continue reading .Net – Entity Framework – Error – “Error CS1070: The type name ‘TableAttribute’ could not be found. This type has been forwarded to assembly ‘System.ComponentModel.DataAnnotations’

.Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found

Background Here is our first post on adding annotations to our plain old C# class ( POCO). Lineage .Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found Link Error Error Text Error Image TroubleShooting Source Code Source Code - Included Namespaces Here are the originally included namespaces :- … Continue reading .Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found

Azure Data Studio – Installation on Linux ( Centos )

Background Need a GUI to access Microsoft SQL Server Instances on my freshly minted Linux box. Outline Artifacts Identify Artifact Sources Download Artifact Installation Use Trial Usage Artifacts Identify Artifact Sources Download and install Azure Data Studio Link Platform File Type URL Windows User Installer Link System Installer Link Zip File Link MacOS .zip Link … Continue reading Azure Data Studio – Installation on Linux ( Centos )

Internet Information Server ( IIS ) – Configuration – IP Address Filtering

Request A friend call me asking for his names to be removed from one of our static pages. Internet Information Server Configuration IP Address and Domain Restrictions In this quick exercise we will select our website virtual directory and add IP Address Ranges to allow and deny. Outline Launch IIS MMC Access Web Site Access … Continue reading Internet Information Server ( IIS ) – Configuration – IP Address Filtering

Win OS – File Explorer – “Open Command Window Here”

Background A good friend is to trying to following instructions, but running into head wind. Issue The Instructions read :- Launch File Explorer. Navigate to a specific folder Right click on that folder and from the dropdown menu, select "Open command window here" Image Explanation In our case "Open Command Window here" does not appear. … Continue reading Win OS – File Explorer – “Open Command Window Here”